kopia lustrzana https://github.com/nextcloud/social
cy: fix login command with flexible selector
Signed-off-by: Max <max@nextcloud.com>pull/1456/head
rodzic
2b435de5c8
commit
0791026b53
|
@ -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('form[name=login] [type=submit]').click()
|
||||
cy.url().should('include', route)
|
||||
})
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue