svelte-template/tests/test.js

7 lines
182 B
JavaScript
Raw Permalink Normal View History

2024-10-14 10:38:11 +03:00
import { expect, test } from '@playwright/test';
test('home page has expected h1', async ({ page }) => {
await page.goto('/');
await expect(page.locator('h1')).toBeVisible();
});