Skip to content

Commit

Permalink
test: add waitOverlay
Browse files Browse the repository at this point in the history
  • Loading branch information
Kuruyia committed Oct 10, 2024
1 parent a38e39c commit 1fdbfab
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ describe('Profiles', () => {

it('Should be able to create a new profile', () => {
const profileId = 'dummy'
cy.waitOverlay()
cy.visit('/#/security/profiles/create')
cy.contains('Create a new profile')

Expand Down
2 changes: 2 additions & 0 deletions test/e2e/cypress/integration/single-backend/users.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ describe('Users', function() {
}
)
})
cy.waitOverlay()
cy.visit('/#/security/users')
cy.contains(kuids[0])
cy.contains(kuids[1])
Expand Down Expand Up @@ -240,6 +241,7 @@ describe('Users', function() {
}
}
})
cy.waitOverlay()
cy.visit('/#/security/users')
cy.contains(kuid)
cy.get('[data-cy="UsersManagement-createBtn"]').click()
Expand Down

0 comments on commit 1fdbfab

Please sign in to comment.