docs: more accurate test id description

Reference https://github.com/microsoft/playwright/issues/30430
This commit is contained in:
Yury Semikhatsky 2024-04-23 12:27:38 -07:00
parent b52cd7e4dc
commit 063e931c07
2 changed files with 3 additions and 3 deletions

View file

@ -34,7 +34,7 @@ See also [`property: TestResult.status`] for the actual status.
* since: v1.25
- type: <[string]>
Unique test ID that is computed based on the test file name, test title and project name. Test ID can be used as a history ID.
Test ID that is computed based on the test file name, test title and project name. Test ID is unique within Playwright session.
## property: TestCase.location
* since: v1.10

View file

@ -710,8 +710,8 @@ export interface TestCase {
expectedStatus: "passed"|"failed"|"timedOut"|"skipped"|"interrupted";
/**
* Unique test ID that is computed based on the test file name, test title and project name. Test ID can be used as a
* history ID.
* Test ID that is computed based on the test file name, test title and project name. Test ID is unique within
* Playwright session.
*/
id: string;