From fd1e9bc8282553b33c326d8470ebd29dbc243b85 Mon Sep 17 00:00:00 2001 From: sct Date: Wed, 28 Dec 2022 22:45:06 +0900 Subject: [PATCH] test: fix login test --- cypress/support/commands.ts | 1 - src/components/Login/LocalLogin.tsx | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/cypress/support/commands.ts b/cypress/support/commands.ts index 0eb9c869a..a23cb5e68 100644 --- a/cypress/support/commands.ts +++ b/cypress/support/commands.ts @@ -6,7 +6,6 @@ Cypress.Commands.add('login', (email, password) => { [email, password], () => { cy.visit('/login'); - cy.contains('Use your Overseerr account').click(); cy.get('[data-testid=email]').type(email); cy.get('[data-testid=password]').type(password); diff --git a/src/components/Login/LocalLogin.tsx b/src/components/Login/LocalLogin.tsx index 0b0320017..fd7939151 100644 --- a/src/components/Login/LocalLogin.tsx +++ b/src/components/Login/LocalLogin.tsx @@ -76,7 +76,7 @@ const LocalLogin = ({ onError }: LocalLoginProps) => { > {({ errors, touched, isSubmitting, isValid }) => { return ( -
+