diff options
author | Julien Veyssier <eneiluj@posteo.net> | 2022-04-25 14:29:29 +0300 |
---|---|---|
committer | Julien Veyssier <eneiluj@posteo.net> | 2022-04-25 14:29:29 +0300 |
commit | ad9cea4db7d3682d1bd5041abf81bea792ccb7e9 (patch) | |
tree | 98ce754b42b3ac20d1157fe317bc3215c5d0a3ec /cypress | |
parent | dfae31451ce95978361c4dde3000b45028d4cf9e (diff) |
adapt cypress login command to small change in 25
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
Diffstat (limited to 'cypress')
-rw-r--r-- | cypress/support/commands.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cypress/support/commands.js b/cypress/support/commands.js index ec09259bd..fe559b04c 100644 --- a/cypress/support/commands.js +++ b/cypress/support/commands.js @@ -33,7 +33,7 @@ Cypress.Commands.add('login', (user, password, { route, onBeforeLoad } = {}) => cy.visit(route) cy.get('input[name=user]').type(user) cy.get('input[name=password]').type(password) - cy.get('#submit-wrapper input[type=submit]').click() + cy.get('.submit-wrapper input[type=submit]').click() cy.url().should('include', route) }) // in case the session already existed but we are on a different route... |