1
0
Fork 0
mirror of synced 2024-07-02 13:01:09 +12:00

Merge pull request #5726 from Budibase/cypress-testing

Assign user roles test fix
This commit is contained in:
Mitch-Budibase 2022-05-05 11:51:28 +01:00 committed by GitHub
commit 04c56a2db5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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")