From 1c1a0d9783871ee8adfb8a9b805aa3d5b6712a67 Mon Sep 17 00:00:00 2001 From: Yury Semikhatsky Date: Tue, 2 Apr 2024 14:49:33 -0700 Subject: [PATCH] Fix types --- docs/src/test-reporter-api/class-suite.md | 4 ++-- packages/playwright/types/testReporter.d.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/src/test-reporter-api/class-suite.md b/docs/src/test-reporter-api/class-suite.md index f53a112c30..7df0c10a75 100644 --- a/docs/src/test-reporter-api/class-suite.md +++ b/docs/src/test-reporter-api/class-suite.md @@ -4,7 +4,7 @@ `Suite` is a group of tests. All tests in Playwright Test form the following hierarchy: -* Root suite has a child suite for each [ReporterProject]. +* Root suite has a child suite for each [FullProject]. * Project suite #1. Has a child suite for each test file in the project. * File suite #1 * [TestCase] #1 @@ -46,7 +46,7 @@ Parent suite, missing for the root suite. ## method: Suite.project * since: v1.10 -- returns: ?<[ReporterProject]> +- returns: ?<[FullProject]> Configuration of the project this suite belongs to, or [void] for the root suite. diff --git a/packages/playwright/types/testReporter.d.ts b/packages/playwright/types/testReporter.d.ts index df4fff6cda..917a4256b0 100644 --- a/packages/playwright/types/testReporter.d.ts +++ b/packages/playwright/types/testReporter.d.ts @@ -182,7 +182,7 @@ export interface FullProject { /** * `Suite` is a group of tests. All tests in Playwright Test form the following hierarchy: - * - Root suite has a child suite for each [ReporterProject]. + * - Root suite has a child suite for each {@link FullProject}. * - Project suite #1. Has a child suite for each test file in the project. * - File suite #1 * - {@link TestCase} #1