From ed1c4b582fbb55dc160816f08d35a18d9e9dd0d3 Mon Sep 17 00:00:00 2001 From: Yevhen Laichenkov Date: Thu, 12 Jan 2023 00:07:57 +0200 Subject: [PATCH] docs: add missed request fixture in the pre-defined list (#20038) --- docs/src/test-fixtures-js.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/docs/src/test-fixtures-js.md b/docs/src/test-fixtures-js.md index 5b8765b5ea..5bf137d1cf 100644 --- a/docs/src/test-fixtures-js.md +++ b/docs/src/test-fixtures-js.md @@ -33,12 +33,13 @@ The `{ page }` argument tells Playwright Test to setup the `page` fixture and pr Here is a list of the pre-defined fixtures that you are likely to use most of the time: -|Fixture |Type |Description | -|:----------|:----------------|:--------------------------------| -|page |[Page] |Isolated page for this test run. | -|context |[BrowserContext] |Isolated context for this test run. The `page` fixture belongs to this context as well. Learn how to [configure context](./test-configuration.md). | -|browser |[Browser] |Browsers are shared across tests to optimize resources. Learn how to [configure browser](./test-configuration.md). | -|browserName|[string] |The name of the browser currently running the test. Either `chromium`, `firefox` or `webkit`.| +|Fixture |Type |Description | +|:----------|:------------------|:--------------------------------| +|page |[Page] |Isolated page for this test run. | +|context |[BrowserContext] |Isolated context for this test run. The `page` fixture belongs to this context as well. Learn how to [configure context](./test-configuration.md). | +|browser |[Browser] |Browsers are shared across tests to optimize resources. Learn how to [configure browser](./test-configuration.md). | +|browserName|[string] |The name of the browser currently running the test. Either `chromium`, `firefox` or `webkit`.| +|request |[APIRequestContext]|Isolated [APIRequestContext](./api/class-apirequestcontext.md) instance for this test run.| ### Without fixtures