We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 53ecfcf commit 59c6c0aCopy full SHA for 59c6c0a
1 file changed
testing/e2e/src/1.1-auth.spec.ts
@@ -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