Skip to content

Commit

Permalink
feat(roll): roll to ToT Playwright (17-08-23) (#1136)
Browse files Browse the repository at this point in the history
  • Loading branch information
playwrightmachine authored Aug 17, 2023
1 parent e964516 commit 88f7ec0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nodejs/docs/api/class-reporter.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ reporter.onBegin(config, suite);

<font size="2" style={{position: "relative", top: "-20px"}}>Added in: v1.10</font><x-search>reporter.onEnd</x-search>

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**

Expand Down
2 changes: 1 addition & 1 deletion nodejs/docs/test-reporters.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit 88f7ec0

Please sign in to comment.