65 Commits

Author SHA1 Message Date
Simon Knott
6be97f34dd
docs(test-reporters): replace reporter showcase with list of interesting OSS implementations (#32896)
As discussed yesterday, this PR replaces the "reporter showcase" with a
list of interesting implementations for folks who are writing their own
custom reporters.

---------

Signed-off-by: Simon Knott <info@simonknott.de>
2024-10-04 16:29:13 +02:00
Elio Struyf
1e94abb683
docs: added MS Teams and mail reporter (#31579) 2024-07-24 11:55:45 +02:00
Jorge Caridad
fb59e6372b
docs: fix typos in various documentation files (#31656) 2024-07-12 10:24:52 -07:00
Yury Semikhatsky
01e2c8ab06
docs: document numeric values of PLAYWRIGHT_FORCE_TTY (#31653)
Fixes https://github.com/microsoft/playwright/issues/31647
2024-07-11 14:02:47 -07:00
Matt Marsh
68abd36464
docs: add detail on dot reporter output (#30939)
docs: detail on how to interpret dot reporter output added.

Fixes #30908
2024-05-21 12:06:05 -07:00
Dmitry Gozman
6290af3a08
feat(reporters): align and document environment variables (#30912)
- Documents `PLAYWRIGHT_FORCE_TTY` and `FORCE_COLOR` across terminal
reporters.
- New `PLAYWRIGHT_LIST_PRINT_STEPS`. Removes undocumented test-only
`PW_TEST_DEBUG_REPORTERS_PRINT_STEPS`.
- Replaces `PLAYWRIGHT_HTML_REPORT` with `PLAYWRIGHT_HTML_OUTPUT_DIR`
and `PW_TEST_HTML_REPORT_OPEN` with `PLAYWRIGHT_HTML_OPEN` for
consistency, supports older versions for backwards compatibility.
- New `PLAYWRIGHT_HTML_HOST`, `PLAYWRIGHT_HTML_PORT` and
`PLAYWRIGHT_HTML_ATTACHMENTS_BASE_URL`.
- New `PLAYWRIGHT_JUNIT_STRIP_ANSI` and
`PLAYWRIGHT_JUNIT_INCLUDE_PROJECT_IN_TEST_NAME`.
- Removes `PW_HTML_REPORT` that was set for unknown reason.
2024-05-21 10:46:52 -07:00
Philipp Daun
702bafdd88
docs: add third-party GitHub pull request reporter (#30454)
Add a new third-party reporter: [Playwright Report Comment
Action](https://github.com/marketplace/actions/playwright-report-comment).

A GitHub action that comments report summaries on pull requests.

Screenshots visible in the action readme and below.


![Screenshot](https://github.com/daun/playwright-report-summary/raw/main/assets/comment-passed.png)


![Screenshot](https://github.com/daun/playwright-report-summary/raw/main/assets/comment-failed.png)

Signed-off-by: Philipp Daun <post@philippdaun.net>
2024-05-01 13:28:23 -07:00
Yury Semikhatsky
3b7c4fac22
chore: add common env vars for junit and json reporters (#30611) 2024-05-01 10:16:49 -07:00
Yury Semikhatsky
b9f70f4ac4
docs(junit): document existing options and env (#30595) 2024-04-29 11:29:15 -07:00
Yury Semikhatsky
3643fd456b
feat: outputFile option and PLAYWRIGHT_BLOB_OUTPUT_FILE env for blob (#30559)
Reference https://github.com/microsoft/playwright/issues/30091
2024-04-26 09:33:53 -07:00
Yury Semikhatsky
1cfa64343a
docs: describe report name configuration (#30547)
Reference https://github.com/microsoft/playwright/issues/30091
2024-04-25 10:15:25 -07:00
Elio Struyf
f4f26fdf7b
docs(reporters): added 3rd-party GitHub Actions Reporter (#29728) 2024-02-29 10:25:54 +01:00
Yury Semikhatsky
9a1e0a8ff7
docs: custom reporter path in --reporter option (#29585)
Fixes https://github.com/microsoft/playwright/issues/29525
2024-02-20 13:32:53 -08:00
John Hill
82f40d0802
docs: Add Warning about Github Annotations (#29202) 2024-01-29 14:59:28 -08:00
Yury Semikhatsky
411abdb752
feat: add fileName option to blob reporter (#28525)
Reference https://github.com/microsoft/playwright/issues/27284
2023-12-06 20:44:06 -08:00
Greg Bergé
ae1e1885dc
docs: add Argos Reporter to doc (#27789) 2023-10-26 10:05:02 -07:00
Michael Bodnarchuk
e70b10ac2e
docs(test-reporters): Added Testomat.io reporter to list of reporters (#27449) 2023-10-07 11:17:44 +00:00
Debbie O'Brien
3773f004db
docs: add intros for all pages (#27480) 2023-10-06 15:08:51 +02:00
Yury Semikhatsky
4f9bf63259
docs: blob reporter options (#26508)
Fixes #26481
2023-08-18 10:50:59 -07:00
Marcin Strzyz
42543a48a7
fix: fixed PW_TEST_HTML_REPORT_OPEN + more type safe + doc (#24571)
Co-authored-by: Max Schmitt <max@schmitt.mx>
2023-08-17 09:48:59 +02:00
Jonas Claes
d849c7c81d
docs(test-reporters): sorted alphabetically and added Testmo (#26452) 2023-08-14 11:33:44 +02:00
Max Schmitt
b0473b71cd
chore: limit docs snippet length to 100 (#24563) 2023-08-02 11:23:47 +02:00
Max Schmitt
9980f054bc
docs: align Node.js code snippets with ESLint (#23916) 2023-06-27 11:53:53 +02:00
Jan Molak
dd3ca6907a
docs: added Serenity/JS to the list of third-party reporters (#23485) 2023-06-02 14:13:32 -07:00
Debbie O'Brien
759d14b881
docs: add titles for remaining examples (#22939)
Co-authored-by: Max Schmitt <max@schmitt.mx>
2023-05-10 23:30:51 +02:00
Debbie O'Brien
7a8eb15820
docs: add titles to config snippets (#22910)
Docs PR: https://github.com/microsoft/playwright.dev/pull/1039

---------

Co-authored-by: Max Schmitt <max@schmitt.mx>
2023-05-10 18:38:12 +02:00
richthornton
c6b972983a
docs: add currents test reporter (#22797) 2023-05-08 19:00:54 -07:00
Pavel Feldman
297fea0826
chore: purify the junit reporter (#22624) 2023-05-01 09:15:08 -07:00
mindaugasm
be79ee0450
feat(html-report): add attachmentsBaseURL option (#22212)
Fixes https://github.com/microsoft/playwright/issues/21636
2023-04-18 11:25:11 -07:00
Debbie O'Brien
e29a6e7bb0
docs: update test reporters (#21337) 2023-03-03 07:52:28 -08:00
Yury Semikhatsky
90c4e6f9b2
chore: revert sharded html report (#20923)
We've decided not to ship it in the current form.

#10437
2023-02-15 12:38:03 -08:00
Yury Semikhatsky
a93cf767a1
feat: html reporter sharded option (#20737)
Make sharded report feature an opt-in:

```ts
{
   reporter: [['html', { sharded: true }]]
};
```

#10437
2023-02-07 22:21:50 -08:00
chimurai
f72d400952
chore: fix typos (#20473) 2023-01-30 09:53:28 +01:00
Pavel Feldman
e065d608b6
chore: introduce defineConfig for easier JS typing (#20061)
Fixes https://github.com/microsoft/playwright/issues/19694
2023-01-12 13:12:02 -08:00
Tommaso A
6d64edc090
docs(reporter): added types to Reporter TypeScript example (#19917) 2023-01-06 13:39:17 +01:00
Max Schmitt
878401ff2b
docs(test-reporters): fix code snippet typos
Fixes #19159
2022-11-30 15:37:31 -08:00
Pavel Feldman
ab78865a8d
chore: render steps in list reporter (#18269) 2022-10-24 15:54:53 -07:00
arukiidou
a9807ce93d
docs(test-reporters): add third-party ReportPortal reporter (#17762) 2022-10-04 12:14:41 +02:00
Andrey Lushnikov
ec40e49978
feat: expose configuration for HTML report serving. (#17560)
Fixes #16667
2022-09-25 20:36:38 -07:00
Nav-2d
dce7cbb446
docs(intro-section): fix links (#17241) 2022-09-12 15:11:52 +02:00
Debbie O'Brien
da1598d45f
docs: Remove tocs (#17133) 2022-09-07 12:30:31 +02:00
cenfun
fcee4d5444
docs: add monocart reporter to test-reporters (#16404)
Co-authored-by: Ross Wollman <rwoll@users.noreply.github.com>
2022-08-10 15:13:53 -07:00
Kian-Meng Ang
22f0723c72
docs: fix typos in docs (#16370)
Co-authored-by: Debbie O'Brien <debs-obrien@users.noreply.github.com>
Co-authored-by: Max Schmitt <max@schmitt.mx>
2022-08-09 15:47:17 +02:00
Dmitry Gozman
51c3ea55ed
Revert "feat(line reporter): show testing progress (#15547)" (#15631)
This reverts commit e76d9b3b2828620e36827047dd714ef037b75fdc.
2022-07-13 13:54:26 -07:00
Dmitry Gozman
e76d9b3b28
feat(line reporter): show testing progress (#15547)
Line reporter now shows stats in addition to the test name:
```
[chromium] › page/page-click-react.spec.ts:108:1 › should not retarget when element changes on hover
[21/93] Passed: 17 Flaky: 0 Failed: 0 Skipped: 4 (7s)
```
2022-07-11 20:44:50 -07:00
Nick Partridge
5a3f0a7195
docs(ci): add GitHub Actions via containers and sharding example (#15288)
Co-authored-by: Max Schmitt <max@schmitt.mx>
2022-07-11 22:34:24 +02:00
Pavel Feldman
76abb3a5be
chore: unify tab generation (#14802) 2022-06-10 17:34:31 -07:00
Sergio Freire
060cd9d97c
feat(junit reporter): link testcases to Xray test issues and provide additional metadata for Xray Test Management (#11374)
Co-authored-by: Sergio Freire <sergio.freire@xpand-it.com>
2022-06-10 10:31:48 +02:00
Pavel Feldman
f724fa570f
docs: make ts snippets esm-friendly (#14451) 2022-05-27 12:36:59 -07:00
Ajeet Dhaliwal
5208f96d7f
docs: add Tesults reporter to test-reporters & showcase (#12720) 2022-04-27 19:37:59 +01:00