Skip to content

Commit

Permalink
cherry-pick(#34471): docs: remove toMatchAriaSnapshot path feature
Browse files Browse the repository at this point in the history
  • Loading branch information
agg23 authored and mxschmitt committed Jan 24, 2025
1 parent 9d22178 commit b7b0f95
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion docs/src/api/class-locatorassertions.md
Original file line number Diff line number Diff line change
Expand Up @@ -2250,7 +2250,6 @@ Asserts that the target element matches the given [accessibility snapshot](../ar
```js
await expect(page.locator('body')).toMatchAriaSnapshot();
await expect(page.locator('body')).toMatchAriaSnapshot({ name: 'snapshot' });
await expect(page.locator('body')).toMatchAriaSnapshot({ path: '/path/to/snapshot.yml' });
```

```python async
Expand Down
1 change: 0 additions & 1 deletion packages/playwright/types/test.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8690,7 +8690,6 @@ interface LocatorAssertions {
* ```js
* await expect(page.locator('body')).toMatchAriaSnapshot();
* await expect(page.locator('body')).toMatchAriaSnapshot({ name: 'snapshot' });
* await expect(page.locator('body')).toMatchAriaSnapshot({ path: '/path/to/snapshot.yml' });
* ```
*
* @param options
Expand Down

0 comments on commit b7b0f95

Please sign in to comment.