diff --git a/nodejs/docs/api/class-reporter.mdx b/nodejs/docs/api/class-reporter.mdx index f94def7dcf4..7468e812eb0 100644 --- a/nodejs/docs/api/class-reporter.mdx +++ b/nodejs/docs/api/class-reporter.mdx @@ -138,7 +138,7 @@ reporter.onBegin(config, suite); Added in: v1.10reporter.onEnd -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. **Usage** diff --git a/nodejs/docs/test-reporters.mdx b/nodejs/docs/test-reporters.mdx index 52b83bad6f9..d72733e2bea 100644 --- a/nodejs/docs/test-reporters.mdx +++ b/nodejs/docs/test-reporters.mdx @@ -161,7 +161,7 @@ HTML reporter produces a self-contained folder that contains report for the test npx playwright test --reporter=html ``` -By default, HTML report is opened automatically if some of the tests failed. You can control this behavior via the `open` property in the Playwright config. The possible values for that property are `always`, `never` and `on-failure` (default). +By default, HTML report is opened automatically if some of the tests failed. You can control this behavior via the `open` property in the Playwright config or the `PW_TEST_HTML_REPORT_OPEN` environmental variable. The possible values for that property are `always`, `never` and `on-failure` (default). You can also configure `host` and `port` that are used to serve the HTML report.