Add initial setup for frontend / end-to-end tests with Playwright (#1261)

Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
This commit is contained in:
Alejandra
2024-07-22 18:00:02 -05:00
committed by GitHub
parent ddd4b1dbfd
commit 000580d0ac
9 changed files with 290 additions and 3 deletions

View File

@@ -0,0 +1,8 @@
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/);
});