mirror of
https://github.com/youwen5/site.git
synced 2024-11-28 10:53:50 -08:00
6 lines
222 B
TypeScript
6 lines
222 B
TypeScript
import { expect, test } from '@playwright/test'
|
|
|
|
test('index page has expected h1', async ({ page }) => {
|
|
await page.goto('/')
|
|
await expect(page.getByRole('heading', { name: 'Welcome to SvelteKit' })).toBeVisible()
|
|
})
|