fix(e2e): address CTO/QA review — remove mock-incompatible test, fix smoke test, fix a11y

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
Barcode Betty
2026-03-31 17:59:42 +00:00
parent 1a464fd77d
commit 8706112be3
2 changed files with 6 additions and 6 deletions
+4 -4
View File
@@ -1,8 +1,8 @@
import { test, expect } from './fixtures';
test("app loads", async ({ page }) => {
await page.goto("/");
await expect(page).toHaveTitle(/CartSnitch/);
// Unauthenticated users are redirected to login
test('app loads', async ({ page }) => {
await page.goto('/');
// Unauthenticated users are redirected to /login
await expect(page).toHaveURL(/\/login/);
await expect(page.getByRole('heading', { name: /sign in|log in/i })).toBeVisible();
});