diff --git a/docs/src/test-timeouts-js.md b/docs/src/test-timeouts-js.md index 0e389a947e..7ab9ebc4bf 100644 --- a/docs/src/test-timeouts-js.md +++ b/docs/src/test-timeouts-js.md @@ -87,7 +87,7 @@ test('very slow test', async ({ page }) => { 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 const { test, expect } = require('@playwright/test');