test: update login command to reflect string change

pull/2211/head
TheCatLady 2 years ago
parent 1d6f8c5ceb
commit 8bc0ee83b2
No known key found for this signature in database
GPG Key ID: 9DAC5971F01EE4AE

@ -5,7 +5,7 @@ Cypress.Commands.add('login', (email, password) => {
[email, password],
() => {
cy.visit('/login');
cy.contains('Use your Overseerr account').click();
cy.contains(/^Use your .+ password$/).click();
cy.get('[data-testid=email]').type(email);
cy.get('[data-testid=password]').type(password);

Loading…
Cancel
Save