mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
feat(api): allow HOME_LOCATION origin in development (#61003)
This commit is contained in:
committed by
GitHub
parent
a81293c520
commit
87c274a9ef
@@ -31,7 +31,7 @@ test.describe('Signout Modal component', () => {
|
||||
).toBeVisible();
|
||||
});
|
||||
|
||||
test('signs out and redirects to /learn after user confirms they want to sign out', async ({
|
||||
test('signs out and redirects to / after user confirms they want to sign out', async ({
|
||||
page
|
||||
}) => {
|
||||
await page.getByRole('button', { name: translations.buttons.menu }).click();
|
||||
@@ -50,7 +50,7 @@ test.describe('Signout Modal component', () => {
|
||||
await expect(
|
||||
page.getByRole('dialog', { name: translations.signout.heading })
|
||||
).not.toBeVisible();
|
||||
await expect(page).toHaveURL(allowTrailingSlash('/learn'));
|
||||
await expect(page).toHaveURL(allowTrailingSlash(''));
|
||||
});
|
||||
|
||||
test('closes modal after user cancels signing out', async ({ page }) => {
|
||||
|
||||
Reference in New Issue
Block a user