From 8bc0ee83b21073a7dfb551198dbc544715dece3b Mon Sep 17 00:00:00 2001 From: TheCatLady <52870424+TheCatLady@users.noreply.github.com> Date: Tue, 16 Aug 2022 22:15:37 -0700 Subject: [PATCH] test: update login command to reflect string change --- cypress/support/commands.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cypress/support/commands.ts b/cypress/support/commands.ts index e1afafe7c..e5a80e1c3 100644 --- a/cypress/support/commands.ts +++ b/cypress/support/commands.ts @@ -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);