Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion frontend/e2e/first-test.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/pages/signin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export default function Signin() {
value={username}
onChange={(e) => setUsername(e.target.value)}
/>
<Button disabled={!username}>Enter</Button>
<Button disabled={!username}>Accedir</Button>
</form>
</SigninContent>
)
Expand Down