Files
full-stack-fastapi-template/frontend/tests/example.spec.ts

9 lines
235 B
TypeScript
Raw Normal View History

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