docs change
This commit is contained in:
parent
87407618d9
commit
c8c483cacb
|
|
@ -112,7 +112,7 @@ export default defineConfig({
|
|||
* since: v1.10
|
||||
- type: ?<[string]|[Array]<[string]>>
|
||||
|
||||
Path to the global setup file. This file will be required and run before all the tests. It must export a single function that takes a [FullConfig] argument. Pass an array for multiple global setup files.
|
||||
Path to the global setup file. This file will be required and run before all the tests. It must export a single function that takes a [FullConfig] argument. Pass an array of paths to specify multiple global setup files.
|
||||
|
||||
Learn more about [global setup and teardown](../test-global-setup-teardown.md).
|
||||
|
||||
|
|
@ -130,7 +130,7 @@ export default defineConfig({
|
|||
* since: v1.10
|
||||
- type: ?<[string]|[Array]<[string]>>
|
||||
|
||||
Path to the global teardown file. This file will be required and run after all the tests. It must export a single function. See also [`property: TestConfig.globalSetup`]. Pass an array for multiple global teardown files.
|
||||
Path to the global teardown file. This file will be required and run after all the tests. It must export a single function. See also [`property: TestConfig.globalSetup`]. Pass an array of paths to specify multiple global teardown files.
|
||||
|
||||
Learn more about [global setup and teardown](../test-global-setup-teardown.md).
|
||||
|
||||
|
|
|
|||
6
packages/playwright/types/test.d.ts
vendored
6
packages/playwright/types/test.d.ts
vendored
|
|
@ -1077,8 +1077,8 @@ interface TestConfig<TestArgs = {}, WorkerArgs = {}> {
|
|||
|
||||
/**
|
||||
* Path to the global setup file. This file will be required and run before all the tests. It must export a single
|
||||
* function that takes a [FullConfig](https://playwright.dev/docs/api/class-fullconfig) argument. Pass an array for
|
||||
* multiple global setup files.
|
||||
* function that takes a [FullConfig](https://playwright.dev/docs/api/class-fullconfig) argument. Pass an array of
|
||||
* paths to specify multiple global setup files.
|
||||
*
|
||||
* Learn more about [global setup and teardown](https://playwright.dev/docs/test-global-setup-teardown).
|
||||
*
|
||||
|
|
@ -1100,7 +1100,7 @@ interface TestConfig<TestArgs = {}, WorkerArgs = {}> {
|
|||
* Path to the global teardown file. This file will be required and run after all the tests. It must export a single
|
||||
* function. See also
|
||||
* [testConfig.globalSetup](https://playwright.dev/docs/api/class-testconfig#test-config-global-setup). Pass an array
|
||||
* for multiple global teardown files.
|
||||
* of paths to specify multiple global teardown files.
|
||||
*
|
||||
* Learn more about [global setup and teardown](https://playwright.dev/docs/test-global-setup-teardown).
|
||||
*
|
||||
|
|
|
|||
Loading…
Reference in a new issue