chore: experimental toMatchAriaSnapshot #41028
infra.yml
on: pull_request
docs & lint
3m 38s
Lint snippets
1m 2s
Annotations
1 error and 1 warning
Lint snippets
Process completed with exit code 1.
|
js linting error:
docs/src/api/class-locatorassertions.md#L1
Error: 'React' must be in scope when using JSX
1 | await page.goto('https://demo.playwright.dev/todomvc/');
> 2 | await expect(page.locator('body')).toMatchAriaSnapshot(<>
| ^
3 | This is just a demo of TodoMVC for testing, not the
4 | <x.link>real TodoMVC app.</x.link>
5 | <x.heading>todos</x.heading>
Unable to lint:
await page.goto('https://demo.playwright.dev/todomvc/');
await expect(page.locator('body')).toMatchAriaSnapshot(<>
This is just a demo of TodoMVC for testing, not the
<x.link>real TodoMVC app.</x.link>
<x.heading>todos</x.heading>
<x.textbox>What needs to be done?</x.textbox>
</>);
|