Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

docs: fix typo in Reporter.onEnd (#26486)

ggorlen0149c7d56c46
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.