diff --git a/frontend/e2e/first-test.spec.ts b/frontend/e2e/first-test.spec.ts index 366365a..20409c9 100644 --- a/frontend/e2e/first-test.spec.ts +++ b/frontend/e2e/first-test.spec.ts @@ -2,7 +2,7 @@ import { test, expect } from '@playwright/test'; test('has login button', async ({ page }) => { await page.goto('http://localhost:3000/') - const loginButton = await page.getByRole('button', { name: /Enter/i }) + const loginButton = await page.getByRole('button', { name: /Accedir/i }) // Expect a title "to contain" a substring. await expect(loginButton).toBeVisible(); diff --git a/frontend/src/pages/signin.tsx b/frontend/src/pages/signin.tsx index a2359a5..e92d87e 100644 --- a/frontend/src/pages/signin.tsx +++ b/frontend/src/pages/signin.tsx @@ -30,7 +30,7 @@ export default function Signin() { value={username} onChange={(e) => setUsername(e.target.value)} /> - + )