diff options
author | Jonas <jonas@nextcloud.com> | 2022-04-25 16:47:24 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-25 16:47:24 +0300 |
commit | 5a321eb0c47959413dca15cc91f2a4e3570df562 (patch) | |
tree | d905633f5e240c87793ed3ab10ff6e022128bbff | |
parent | fea887299c83de267bce6cdce722bc38916ed720 (diff) | |
parent | ca276dcc3256c7602d893fbd702d96093afb9806 (diff) |
Merge pull request #2333 from nextcloud/backport/2330/stable24
[stable24] Adapt cypress login command to small change in login page
-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 80382bbe4..ef0a5fa35 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... |