Fix timeout documentation (#18925)
This commit is contained in:
parent
490ae796f3
commit
e2624979e6
|
|
@ -87,7 +87,7 @@ test('very slow test', async ({ page }) => {
|
||||||
|
|
||||||
API reference: [`method: Test.setTimeout`] and [`method: Test.slow#1`].
|
API reference: [`method: Test.setTimeout`] and [`method: Test.slow#1`].
|
||||||
|
|
||||||
### Change timeout from a slow hook
|
### Change timeout from a `beforeEach` hook
|
||||||
|
|
||||||
```js tab=js-js
|
```js tab=js-js
|
||||||
const { test, expect } = require('@playwright/test');
|
const { test, expect } = require('@playwright/test');
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue