Browse Source
Merge pull request #5726 from Budibase/cypress-testing
Assign user roles test fix
pull/5785/head
Mitch-Budibase
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
5 additions and
5 deletions
-
packages/builder/cypress/integration/createUserAndRoles.spec.js
|
|
|
@ -66,13 +66,13 @@ filterTests(["smoke", "all"], () => { |
|
|
|
.then(() => { |
|
|
|
cy.wait(1000) |
|
|
|
if (i == 0) { |
|
|
|
cy.get(".spectrum-Popover").contains("Admin").click() |
|
|
|
cy.get(".spectrum-Menu").contains("Admin").click({ force: true }) |
|
|
|
} |
|
|
|
if (i == 1) { |
|
|
|
cy.get(".spectrum-Popover").contains("Power").click() |
|
|
|
else if (i == 1) { |
|
|
|
cy.get(".spectrum-Menu").contains("Power").click({ force: true }) |
|
|
|
} |
|
|
|
if (i == 2) { |
|
|
|
cy.get(".spectrum-Popover").contains("Basic").click() |
|
|
|
else if (i == 2) { |
|
|
|
cy.get(".spectrum-Menu").contains("Basic").click({ force: true }) |
|
|
|
} |
|
|
|
cy.wait(1000) |
|
|
|
cy.get(".spectrum-Button") |
|
|
|
|