lasthourcloud/apps/client/tests/test.ts
Andras Bacsai c445fc0f8a wip
2022-12-12 08:44:23 +01:00

7 lines
202 B
TypeScript

import { expect, test } from '@playwright/test';
test('index page has expected h1', async ({ page }) => {
await page.goto('/');
expect(await page.textContent('h1')).toBe('Welcome to SvelteKit');
});