avior.me/e2e/example.spec.ts
2023-09-21 14:32:35 +00:00

9 lines
203 B
TypeScript

import { expect, test } from '@playwright/test'
test('has title', async ({ page }) => {
await page.goto('/');
// Expect a title "to contain" a substring.
await expect(page).toHaveTitle(/Astro/);
})