mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
docs: update links to assertions class (#12562)
This commit is contained in:
parent
d836ed41d3
commit
e3e29e25be
@ -94,7 +94,7 @@ This version was also tested against the following stable channels:
|
|||||||
### Locator Improvements
|
### Locator Improvements
|
||||||
|
|
||||||
- [`method: Locator.dragTo`]
|
- [`method: Locator.dragTo`]
|
||||||
- [`expect(locator).toBeChecked({ checked })`](./api/class-locatorassertions#locator-assertions-to-be-checked)
|
- [`expect(locator).toBeChecked({ checked })`](./api/class-playwrightassertions#locator-assertions-to-be-checked)
|
||||||
- Each locator can now be optionally filtered by the text it contains:
|
- Each locator can now be optionally filtered by the text it contains:
|
||||||
```js
|
```js
|
||||||
await page.locator('li', { hasText: 'my item' }).locator('button').click();
|
await page.locator('li', { hasText: 'my item' }).locator('button').click();
|
||||||
@ -104,7 +104,7 @@ This version was also tested against the following stable channels:
|
|||||||
|
|
||||||
### Testing API improvements
|
### Testing API improvements
|
||||||
|
|
||||||
- [`expect(response).toBeOK()`](./api/class-apiresponseassertions)
|
- [`expect(response).toBeOK()`](./api/class-playwrightassertions)
|
||||||
- [`testInfo.attach()`](./api/class-testinfo#test-info-attach)
|
- [`testInfo.attach()`](./api/class-testinfo#test-info-attach)
|
||||||
- [`test.info()`](./api/class-test#test-info)
|
- [`test.info()`](./api/class-test#test-info)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user