9 lines
254 B
TypeScript
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/);
|
|
});
|