Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/text.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas <jonas@nextcloud.com>2022-04-25 16:47:24 +0300
committerGitHub <noreply@github.com>2022-04-25 16:47:24 +0300
commit5a321eb0c47959413dca15cc91f2a4e3570df562 (patch)
treed905633f5e240c87793ed3ab10ff6e022128bbff
parentfea887299c83de267bce6cdce722bc38916ed720 (diff)
parentca276dcc3256c7602d893fbd702d96093afb9806 (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.js2
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...