Files
app/e2e/smoke.spec.ts
T
2026-03-31 17:37:08 +00:00

9 lines
254 B
TypeScript

import { test, expect } from './fixtures';
test('app loads', async ({ page }) => {
await page.goto('/');
await expect(page).toHaveTitle(/CartSnitch/);
// Unauthenticated users are redirected to login
await expect(page).toHaveURL(/\/login/);
});