docs: update links to assertions class (#12562)

This commit is contained in:
Yury Semikhatsky 2022-03-07 10:37:36 -08:00 committed by GitHub
parent d836ed41d3
commit e3e29e25be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -94,7 +94,7 @@ This version was also tested against the following stable channels:
### Locator Improvements
- [`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:
```js
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
- [`expect(response).toBeOK()`](./api/class-apiresponseassertions)
- [`expect(response).toBeOK()`](./api/class-playwrightassertions)
- [`testInfo.attach()`](./api/class-testinfo#test-info-attach)
- [`test.info()`](./api/class-test#test-info)