8 lines
253 B
TypeScript
8 lines
253 B
TypeScript
|
|
import { test, expect } from '@playwright/test';
|
||
|
|
|
||
|
|
test('home redirects to login', async ({ page }) => {
|
||
|
|
await page.goto('/');
|
||
|
|
await expect(page).toHaveURL(/\/login$/);
|
||
|
|
await expect(page.getByRole('heading', { name: /mimic/i })).toBeVisible();
|
||
|
|
});
|