testplane / Config
new Config(config?): Config
• config?: string
| ConfigInput
forBrowser(id): BrowserConfig
• id: string
BrowserConfig
getBrowserIds(): string[]
string
[]
mergeWith(config): void
This method is used in subrocesses to merge a created config in a subrocess with a config from the main process
• config: Config
void
prepareBrowser(browser): null | void
• browser: Browser
null
| void
screenshotsDir(test): string
• test: Test
string
serialize(): Omit<Config, "system">
Omit
<Config
, "system"
>
shouldRetry(testInfo): null | boolean
• testInfo
• testInfo.ctx: Test
• testInfo.retriesLeft: number
null
| boolean
static create(config?): Config
• config?: string
| ConfigInput
static read(configPath): unknown
• configPath: string
unknown