From e2624979e682f04a61c206ecf2f60e9e8e58c0bf Mon Sep 17 00:00:00 2001 From: ffluk3 <99682335+ffluk3@users.noreply.github.com> Date: Mon, 21 Nov 2022 15:35:35 -0800 Subject: [PATCH] Fix timeout documentation (#18925) --- docs/src/test-timeouts-js.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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');