From 0149c7d56c46c6f57d03c41492a7abed1f978e49 Mon Sep 17 00:00:00 2001 From: ggorlen Date: Wed, 16 Aug 2023 15:40:14 -0700 Subject: [PATCH] docs: fix typo in Reporter.onEnd (#26486) Signed-off-by: ggorlen --- docs/src/test-reporter-api/class-reporter.md | 2 +- packages/playwright-test/types/testReporter.d.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/src/test-reporter-api/class-reporter.md b/docs/src/test-reporter-api/class-reporter.md index fa713cbec0..7e3d5cfd43 100644 --- a/docs/src/test-reporter-api/class-reporter.md +++ b/docs/src/test-reporter-api/class-reporter.md @@ -107,7 +107,7 @@ The root suite that contains all projects, files and test cases. ## optional async method: Reporter.onEnd * since: v1.10 -Called after all tests has been run, or testing has been interrupted. Note that this method may return a [Promise] and Playwright Test will await it. +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: Reporter.onEnd.result * since: v1.10 diff --git a/packages/playwright-test/types/testReporter.d.ts b/packages/playwright-test/types/testReporter.d.ts index 6c12894bcb..45f2d6b312 100644 --- a/packages/playwright-test/types/testReporter.d.ts +++ b/packages/playwright-test/types/testReporter.d.ts @@ -399,7 +399,7 @@ export interface Reporter { */ onBegin?(config: FullConfig, suite: Suite): void; /** - * Called after all tests has been run, or testing has been interrupted. Note that this method may return a [Promise] + * 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. * - `'passed'` - Everything went as expected.