Files
aitu/apps/web-e2e/src/example.spec.ts
T
2025-04-01 21:50:48 +08:00

10 lines
278 B
TypeScript

import { test, expect } from '@playwright/test';
test('has title', async ({ page }) => {
await page.goto('/');
// Expect h1 to contain a substring.
expect(await page.title()).toContain('Drawnix - 开源白板工具');
expect(page.locator('drawnix')).toBeTruthy();
});