Skip to content

Commit

Permalink
Update tests with timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
rolljee committed Nov 5, 2024
1 parent fdae14e commit cb86800
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cypress.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default defineConfig({
projectId: 'qnb41a',
viewportHeight: 800,
viewportWidth: 1400,
defaultCommandTimeout: 10000,
defaultCommandTimeout: 30000,
e2e: {
setupNodeEvents(on, config) {},
baseUrl: 'http://localhost:8080',
Expand Down
3 changes: 1 addition & 2 deletions test/e2e/cypress/integration/single-backend/users.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -425,9 +425,8 @@ describe('Users', function() {
}

cy.visit(`/#/security/users/create`)
cy.wait(2000)
cy.get('[data-cy="UserProfileList-select"]').select('admin')

cy.get('[data-cy="UserProfileList-select"]').select('admin')
cy.get('[data-cy=CredentialsSelector-local-username]').type(
`{selectall}${credentials.username}`
)
Expand Down

0 comments on commit cb86800

Please sign in to comment.