From dfff4f7a9f2596214bedc1432c5fc7f0125bfe73 Mon Sep 17 00:00:00 2001 From: Yury Semikhatsky Date: Wed, 24 Apr 2024 13:09:05 -0700 Subject: [PATCH] Remove remaining references --- docs/src/test-api/class-workerinfo.md | 4 ++-- packages/playwright/types/test.d.ts | 4 ++-- tests/playwright-test/global-setup.spec.ts | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/src/test-api/class-workerinfo.md b/docs/src/test-api/class-workerinfo.md index e7ae892190..3ae9a3bd21 100644 --- a/docs/src/test-api/class-workerinfo.md +++ b/docs/src/test-api/class-workerinfo.md @@ -6,7 +6,7 @@ ## property: WorkerInfo.config * since: v1.10 -- type: <[ConfigInWorker]> +- type: <[FullConfig]> Processed configuration from the [configuration file](../test-configuration.md). @@ -22,7 +22,7 @@ Also available as `process.env.TEST_PARALLEL_INDEX`. Learn more about [paralleli ## property: WorkerInfo.project * since: v1.10 -- type: <[ProjectInWorker]> +- type: <[FullProject]> Processed project configuration from the [configuration file](../test-configuration.md). diff --git a/packages/playwright/types/test.d.ts b/packages/playwright/types/test.d.ts index 016112cb95..1a31c166b9 100644 --- a/packages/playwright/types/test.d.ts +++ b/packages/playwright/types/test.d.ts @@ -8367,7 +8367,7 @@ export interface WorkerInfo { /** * Processed configuration from the [configuration file](https://playwright.dev/docs/test-configuration). */ - config: ConfigInWorker; + config: FullConfig; /** * The index of the worker between `0` and `workers - 1`. It is guaranteed that workers running at the same time have @@ -8382,7 +8382,7 @@ export interface WorkerInfo { /** * Processed project configuration from the [configuration file](https://playwright.dev/docs/test-configuration). */ - project: ProjectInWorker; + project: FullProject; /** * The unique index of the worker process that is running the test. When a worker is restarted, for example after a diff --git a/tests/playwright-test/global-setup.spec.ts b/tests/playwright-test/global-setup.spec.ts index bcb9013387..3d28be82cd 100644 --- a/tests/playwright-test/global-setup.spec.ts +++ b/tests/playwright-test/global-setup.spec.ts @@ -280,8 +280,8 @@ const authFiles = { export default config; `, 'auth.ts': ` - import { chromium, ConfigInWorker } from '@playwright/test'; - async function globalSetup(config: ConfigInWorker) { + import { chromium, FullConfig } from '@playwright/test'; + async function globalSetup(config: FullConfig) { const { baseURL, storageState } = config.projects[0].use; const browser = await chromium.launch(); const page = await browser.newPage();