Skip to content

Commit 59c6c0a

Browse files
committed
add auth spec
1 parent 53ecfcf commit 59c6c0a

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

testing/e2e/src/1.1-auth.spec.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import { expect, test } from './helpers/fixtures';
2+
3+
// no need to test the actual login here as it is tested on every other page
4+
5+
test.describe('redirects', () => {
6+
test('should redirect to login page from the index page', async ({ page }) => {
7+
await page.goto('/');
8+
await expect(page).toHaveURL('/auth/login');
9+
});
10+
});

0 commit comments

Comments
 (0)