Skip to content

Commit

Permalink
test: change e2es from protected to dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
JSPRH committed Feb 21, 2024
1 parent f6dd2b1 commit 7a9de11
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apps/spa-e2e/src/auth.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ test('should get redirected to auth as unauthenticated', async ({ page }) => {
test.describe('as authenticated', () => {
asUser('testuser');

test('should get initially redirected to /protected', async ({ page }) => {
test('should get initially redirected to /dashboard', async ({ page }) => {
await page.goto('/');
await page.waitForURL('/protected');
await expect(page).toHaveURL('/protected');
await page.waitForURL('/dashboard');
await expect(page).toHaveURL('/dashboard');
});
});

0 comments on commit 7a9de11

Please sign in to comment.