docs: replace TestCase.suite with TestCase.parent (#10687)
It is there by mistake.
This commit is contained in:
parent
5bde171657
commit
98e2f40bb0
|
|
@ -41,6 +41,11 @@ Testing outcome for this test. Note that outcome is not the same as [`property:
|
||||||
* Test that is expected to fail and actually fails is `'expected'`.
|
* Test that is expected to fail and actually fails is `'expected'`.
|
||||||
* Test that passes on a second retry is `'flaky'`.
|
* Test that passes on a second retry is `'flaky'`.
|
||||||
|
|
||||||
|
## property: TestCase.parent
|
||||||
|
- type: <[Suite]>
|
||||||
|
|
||||||
|
Suite this test case belongs to.
|
||||||
|
|
||||||
## property: TestCase.results
|
## property: TestCase.results
|
||||||
- type: <[Array]<[TestResult]>>
|
- type: <[Array]<[TestResult]>>
|
||||||
|
|
||||||
|
|
@ -53,11 +58,6 @@ The maximum number of retries given to this test in the configuration.
|
||||||
|
|
||||||
Learn more about [test retries](./test-retries.md#retries).
|
Learn more about [test retries](./test-retries.md#retries).
|
||||||
|
|
||||||
## property: TestCase.suite
|
|
||||||
- type: <[Suite]>
|
|
||||||
|
|
||||||
Suite this test case belongs to.
|
|
||||||
|
|
||||||
## property: TestCase.timeout
|
## property: TestCase.timeout
|
||||||
- type: <[float]>
|
- type: <[float]>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -106,6 +106,9 @@ export interface Suite {
|
||||||
* or repeated multiple times, it will have multiple `TestCase` objects in corresponding projects' suites.
|
* or repeated multiple times, it will have multiple `TestCase` objects in corresponding projects' suites.
|
||||||
*/
|
*/
|
||||||
export interface TestCase {
|
export interface TestCase {
|
||||||
|
/**
|
||||||
|
* Suite this test case belongs to.
|
||||||
|
*/
|
||||||
parent: Suite;
|
parent: Suite;
|
||||||
/**
|
/**
|
||||||
* Test title as passed to the [test.(call)(title, testFunction)](https://playwright.dev/docs/api/class-test#test-call)
|
* Test title as passed to the [test.(call)(title, testFunction)](https://playwright.dev/docs/api/class-test#test-call)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue