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

github.com/nextcloud/activity.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLouis Chemineau <louis@chmn.me>2022-08-18 19:20:33 +0300
committerLouis Chemineau <louis@chmn.me>2022-08-18 19:20:33 +0300
commita1a130665f872f196a6a4d28e23c669f004cfc20 (patch)
tree4a9c435cd7d1e9cc18e1b842ac13cf37a8c2aede /cypress
parentc17f0ba27b78f35044e7846ba0006b045c3dc97f (diff)
Fix login button in Cypress tests
Signed-off-by: Louis Chemineau <louis@chmn.me>
Diffstat (limited to 'cypress')
-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 3dc94549..80c99910 100644
--- a/cypress/support/commands.js
+++ b/cypress/support/commands.js
@@ -33,7 +33,7 @@ Cypress.Commands.add('login', (user, password, route = '/apps/files') => {
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('button[type=submit]').click()
cy.url().should('include', route)
})