Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
docs: more accurate test id description (#30487)
Yury Semikhatsky67c430435a1c
diff --git a/docs/src/test-reporter-api/class-testcase.md b/docs/src/test-reporter-api/class-testcase.mdindex 1b1dfb7845..a601b284cd 100644--- a/docs/src/test-reporter-api/class-testcase.md+++ b/docs/src/test-reporter-api/class-testcase.md@@ -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.+A test ID that is computed based on the test file name, test title and project name. The ID is unique within Playwright session.## property: TestCase.location* since: v1.10diff --git a/packages/playwright/types/testReporter.d.ts b/packages/playwright/types/testReporter.d.tsindex 250deef694..2b61ffaeea 100644--- a/packages/playwright/types/testReporter.d.ts+++ b/packages/playwright/types/testReporter.d.ts@@ -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.+ * A test ID that is computed based on the test file name, test title and project name. The ID is unique within+ * Playwright session.*/id: string;