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