feat(api): allow HOME_LOCATION origin in development (#61003)

This commit is contained in:
Oliver Eyton-Williams
2025-06-25 08:30:24 +02:00
committed by GitHub
parent a81293c520
commit 87c274a9ef
5 changed files with 18 additions and 13 deletions
+2 -2
View File
@@ -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 }) => {