fix(e2e): correct smoke test heading assertion to match Login page

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
Paperclip
2026-03-31 18:15:07 +00:00
parent 7b144aae5e
commit 3dd1770a97
+1 -1
View File
@@ -4,5 +4,5 @@ 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();
await expect(page.getByRole('heading', { name: /CartSnitch/i })).toBeVisible();
});