docs: remove toMatchAriaSnapshot path feature (#34471)
This commit is contained in:
parent
dcff914040
commit
b39c29d096
|
@ -2250,7 +2250,6 @@ Asserts that the target element matches the given [accessibility snapshot](../ar
|
||||||
```js
|
```js
|
||||||
await expect(page.locator('body')).toMatchAriaSnapshot();
|
await expect(page.locator('body')).toMatchAriaSnapshot();
|
||||||
await expect(page.locator('body')).toMatchAriaSnapshot({ name: 'snapshot' });
|
await expect(page.locator('body')).toMatchAriaSnapshot({ name: 'snapshot' });
|
||||||
await expect(page.locator('body')).toMatchAriaSnapshot({ path: '/path/to/snapshot.yml' });
|
|
||||||
```
|
```
|
||||||
|
|
||||||
```python async
|
```python async
|
||||||
|
|
|
@ -8690,7 +8690,6 @@ interface LocatorAssertions {
|
||||||
* ```js
|
* ```js
|
||||||
* await expect(page.locator('body')).toMatchAriaSnapshot();
|
* await expect(page.locator('body')).toMatchAriaSnapshot();
|
||||||
* await expect(page.locator('body')).toMatchAriaSnapshot({ name: 'snapshot' });
|
* await expect(page.locator('body')).toMatchAriaSnapshot({ name: 'snapshot' });
|
||||||
* await expect(page.locator('body')).toMatchAriaSnapshot({ path: '/path/to/snapshot.yml' });
|
|
||||||
* ```
|
* ```
|
||||||
*
|
*
|
||||||
* @param options
|
* @param options
|
||||||
|
|
Loading…
Reference in New Issue