Remove remaining references
This commit is contained in:
parent
fd08c939f2
commit
dfff4f7a9f
|
|
@ -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).
|
||||
|
||||
|
|
|
|||
4
packages/playwright/types/test.d.ts
vendored
4
packages/playwright/types/test.d.ts
vendored
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in a new issue