ik_llama_opt/examples/server/webui_llamacpp/tests/e2e/demo.test.ts

8 lines
287 B
TypeScript

import { expect, test } from '@playwright/test';
test('home page loads correctly', async ({ page }) => {
await page.goto('/');
// Wait for the greeting to become visible (stores need time to initialize)
await expect(page.locator('h1', { hasText: /Hello there/ })).toBeVisible();
});