Download slate/playwright/integration/examples/tables.test.ts from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 330 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/slate/playwright/integration/examples/tables.test.ts
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/slate/playwright/integration/examples/tables.test.ts
-
curl -L -o tables.test.ts https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/slate/playwright/integration/examples/tables.test.ts
330 Bytes
| import { test, expect } from '@playwright/test' | |
| test.describe('table example', () => { | |
| test.beforeEach(async ({ page }) => { | |
| await page.goto('http://localhost:3000/examples/tables') | |
| }) | |
| test('table tag rendered', async ({ page }) => { | |
| await expect(page.getByRole('textbox').locator('table')).toHaveCount(1) | |
| }) | |
| }) | |