chore: experimental toMatchAriaSnapshot #41028
Annotations
1 error and 1 warning
|
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>
</>);
|
This job failed
Loading