sk-node / app /tests /test.ts
Ron Au
build(app): Add SvelteKit
6c12e37
raw
history blame contribute delete
201 Bytes
import { expect, test } from '@playwright/test';
test('about page has expected h1', async ({ page }) => {
await page.goto('/about');
expect(await page.textContent('h1')).toBe('About this app');
});