3dd1770a97
Co-Authored-By: Paperclip <noreply@paperclip.ing>
9 lines
289 B
TypeScript
9 lines
289 B
TypeScript
import { test, expect } from './fixtures';
|
|
|
|
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: /CartSnitch/i })).toBeVisible();
|
|
});
|