mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
chore: document new onEnd params (#27006)
This commit is contained in:
parent
aa1862cd2b
commit
91478ea316
@ -112,11 +112,11 @@ Called after all tests have been run, or testing has been interrupted. Note that
|
||||
### param: Reporter.onEnd.result
|
||||
* since: v1.10
|
||||
- `result` <[Object]>
|
||||
- `status` <[FullStatus]<"passed"|"failed"|"timedout"|"interrupted">>
|
||||
- `startTime` <[Date]>
|
||||
- `duration` <[int]>
|
||||
- `status` <[FullStatus]<"passed"|"failed"|"timedout"|"interrupted">> Test run status.
|
||||
- `startTime` <[Date]> Test run start wall time.
|
||||
- `duration` <[int]> Test run duration in milliseconds.
|
||||
|
||||
Result of the full test run.
|
||||
Result of the full test run, `status` can be one of:
|
||||
* `'passed'` - Everything went as expected.
|
||||
* `'failed'` - Any test has failed.
|
||||
* `'timedout'` - The [`property: TestConfig.globalTimeout`] has been reached.
|
||||
|
||||
2
packages/playwright/types/testReporter.d.ts
vendored
2
packages/playwright/types/testReporter.d.ts
vendored
@ -411,7 +411,7 @@ export interface Reporter {
|
||||
/**
|
||||
* Called after all tests have been run, or testing has been interrupted. Note that this method may return a [Promise]
|
||||
* and Playwright Test will await it.
|
||||
* @param result Result of the full test run.
|
||||
* @param result Result of the full test run, `status` can be one of:
|
||||
* - `'passed'` - Everything went as expected.
|
||||
* - `'failed'` - Any test has failed.
|
||||
* - `'timedout'` - The
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user