Browse Source

test: cypress corrections for i18n update-3

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
pull/1365/head
Raju Udava 3 years ago
parent
commit
9637fd6377
  1. 2
      packages/nc-gui/components/auth/userManagement.vue
  2. 4
      scripts/cypress/support/page_objects/mainPage.js

2
packages/nc-gui/components/auth/userManagement.vue

@ -433,7 +433,7 @@
</v-text-field> </v-text-field>
</v-col> </v-col>
<v-col cols="4" class="py-0"> <v-col cols="4" class="py-0">
<!--label="Select User roles"--> <!--label="Select User Role"-->
<v-combobox <v-combobox
v-model="selectedRoles" v-model="selectedRoles"
outlined outlined

4
scripts/cypress/support/page_objects/mainPage.js

@ -97,7 +97,7 @@ export class _mainPage {
.type(userCred.username) .type(userCred.username)
.trigger("input"); .trigger("input");
cy.get('label:contains("Select User roles")').click(); cy.get('label:contains("Select User Role")').click();
// opt-in requested role & submit // opt-in requested role & submit
cy.snipActiveMenu("Menu_RoleType"); cy.snipActiveMenu("Menu_RoleType");
@ -128,7 +128,7 @@ export class _mainPage {
.find(".mdi-pencil-outline", { timeout: 2000 }) .find(".mdi-pencil-outline", { timeout: 2000 })
.click(); .click();
cy.get("label:contains(Select User roles)").click(); cy.get("label:contains(Select User Role)").click();
// opt-in requested role & submit // opt-in requested role & submit
// //

Loading…
Cancel
Save