2025-09-17 19:29:13 +02:00
|
|
|
import { expect, test } from '@playwright/test';
|
|
|
|
|
|
2026-06-02 10:23:19 +02:00
|
|
|
test('home page loads correctly', async ({ page }) => {
|
2025-09-17 19:29:13 +02:00
|
|
|
await page.goto('/');
|
2026-06-02 10:23:19 +02:00
|
|
|
// Wait for the greeting to become visible (stores need time to initialize)
|
|
|
|
|
await expect(page.locator('h1', { hasText: /Hello there/ })).toBeVisible();
|
2025-09-17 19:29:13 +02:00
|
|
|
});
|