Files
llama.cpp/tools/ui/tests/e2e/demo.test.ts
T

7 lines
287 B
TypeScript
Raw Normal View History

2025-09-17 19:29:13 +02:00
import { expect, test } from '@playwright/test';
test('home page loads correctly', async ({ page }) => {
2025-09-17 19:29:13 +02:00
await page.goto('/');
// 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
});