diff options
author | Jonas <jonas@freesources.org> | 2022-04-25 17:03:12 +0300 |
---|---|---|
committer | Jonas <jonas@freesources.org> | 2022-04-25 17:04:19 +0300 |
commit | d91091b177d13e11223979092bf94d86b25b8005 (patch) | |
tree | 10ae09b84cdea1a953f2689e53b8bb6f807c9d1c | |
parent | 5a321eb0c47959413dca15cc91f2a4e3570df562 (diff) |
Revert "adapt cypress login command to small change in 25"
This reverts commit ca276dcc3256c7602d893fbd702d96093afb9806.
Signed-off-by: Jonas <jonas@freesources.org>
-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 ef0a5fa35..80382bbe4 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... |