mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2025-12-19 18:18:27 -05:00
fix: sign-in e2e (#63320)
This commit is contained in:
@@ -243,9 +243,9 @@ test.describe('Header', () => {
|
|||||||
const page = await context.newPage();
|
const page = await context.newPage();
|
||||||
await page.goto('/');
|
await page.goto('/');
|
||||||
|
|
||||||
const signInButton = page.getByRole('link', {
|
const signInButton = page
|
||||||
name: translations.buttons['sign-in']
|
.locator('header')
|
||||||
});
|
.getByRole('link', { name: translations.buttons['sign-in'] });
|
||||||
|
|
||||||
const apiLocation = process.env.API_LOCATION || 'http://localhost:3000';
|
const apiLocation = process.env.API_LOCATION || 'http://localhost:3000';
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user