Spaces:
Sleeping
Sleeping
Download apps/web-e2e/src/example.spec.ts from manhteky123/mindmap: direct link, hf CLI and curl.
- Browser
- Download file 287 Bytes
-
https://huggingface.co/spaces/manhteky123/mindmap/resolve/main/apps/web-e2e/src/example.spec.ts
- Command line
-
hf download hf://spaces/manhteky123/mindmap/apps/web-e2e/src/example.spec.ts
-
curl -L -o example.spec.ts https://huggingface.co/spaces/manhteky123/mindmap/resolve/main/apps/web-e2e/src/example.spec.ts
287 Bytes
| 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(); | |
| }); | |