-
-
Notifications
You must be signed in to change notification settings - Fork 196
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: update redirect to feed page for unauthenticated users (#1464)
Co-authored-by: Brandon Roberts <robertsbt@gmail.com>
- Loading branch information
1 parent
6ce5957
commit 6d8505f
Showing
4 changed files
with
9 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
import { test, expect } from "@playwright/test"; | ||
|
||
test("Homepage redirects to /javascript for unsigned users", async ({ page }) => { | ||
test("Homepage redirects to /feed for unsigned users", async ({ page }) => { | ||
await page.goto("/"); | ||
await expect(page).toHaveURL(/.*\/javascript.*/, { timeout: 10000 }); | ||
await expect(page).toHaveURL(/\/feed/, { timeout: 10000 }); | ||
}); | ||
|
||
test("Insights Hub redirects to /javascript for unsigned users", async ({ page }) => { | ||
test("Insights Hub redirects to /feed for unsigned users", async ({ page }) => { | ||
await page.goto("/hub/insights"); | ||
await expect(page).toHaveURL(/.*\/javascript.*/, { timeout: 10000 }); | ||
await expect(page).toHaveURL(/\/feed/, { timeout: 10000 }); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters