mirror of
https://github.com/sct/overseerr.git
synced 2025-12-25 16:15:06 +01:00
test: fix login test
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -76,7 +76,7 @@ const LocalLogin = ({ onError }: LocalLoginProps) => {
|
||||
>
|
||||
{({ errors, touched, isSubmitting, isValid }) => {
|
||||
return (
|
||||
<Form>
|
||||
<Form data-testid="local-login-form">
|
||||
<div>
|
||||
<label htmlFor="email" className="text-label">
|
||||
{intl.formatMessage(messages.email)}
|
||||
|
||||
Reference in New Issue
Block a user