@piwitests/reporter 0.68.0 → 0.70.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -1
- package/dist/cli/index.js +1766 -611
- package/dist/global-setup-module.js +190 -92
- package/dist/index.d.ts +16 -11
- package/dist/index.js +9260 -5766
- package/dist/internal/capture/capture-fixtures.d.ts +210 -19
- package/dist/internal/capture/capture-fixtures.js +4311 -1224
- package/package.json +1 -1
- package/templates/skills/fix-a-reported-bug/SKILL.md +3 -1
- package/templates/skills/investigate-failure/SKILL.md +1 -1
- package/dist/internal/capture/attachments.d.ts +0 -67
- package/dist/internal/capture/attachments.js +0 -90
- package/dist/internal/capture/inspect-on-failure.d.ts +0 -50
- package/dist/internal/capture/inspect-on-failure.js +0 -72
- package/dist/internal/capture/locator-healing.d.ts +0 -368
- package/dist/internal/capture/locator-healing.js +0 -833
- package/dist/internal/capture/pick-on-failure.d.ts +0 -272
- package/dist/internal/capture/pick-on-failure.js +0 -1820
- package/dist/types-CGr9jJZ_.d.ts +0 -87
- package/dist/wire-7zsqlBoY.d.ts +0 -48
package/README.md
CHANGED
|
@@ -38,6 +38,8 @@ export default wrapConfig(defineConfig({}), {
|
|
|
38
38
|
|
|
39
39
|
Run `npx playwright test` — results are uploaded automatically.
|
|
40
40
|
|
|
41
|
+
A config that cannot be wrapped takes the bare reporter entry in `reporter` instead, with `screenshot` and `trace` set in `use` by hand; it gives up the run's *initializing* state during global setup (unless the setup file exports `createGlobalSetup`) and the forwarding of `failOnFlakyTests`. See [Reporter → Basic configuration](https://piwitests.dev/guide/reporter#basic-configuration).
|
|
42
|
+
|
|
41
43
|
> Piwi rebuilds the run from the data it collects, so you don't also need Playwright's built-in `html` reporter — running it alongside Piwi just repeats the end-of-run report generation. Keep it only if you want Playwright's standalone report uploaded too.
|
|
42
44
|
|
|
43
45
|
**Recommended: enable the capture fixtures.** One small file unlocks the dashboard's richest features:
|
|
@@ -62,7 +64,9 @@ Import `test` from this file in your specs instead of `@playwright/test`. A spec
|
|
|
62
64
|
|
|
63
65
|
## Configuration
|
|
64
66
|
|
|
65
|
-
Most options can also be set via a `PIWI_*` environment variable (config wins over env, except for `PIWI_VERBOSE`). The full option and env-var reference lives in [Reporter options](https://piwitests.dev/reference/reporter-options)
|
|
67
|
+
Most options can also be set via a `PIWI_*` environment variable (config wins over env, except for `PIWI_VERBOSE` and `PIWI_DESKTOP_APP`). The full option and env-var reference lives in [Reporter options](https://piwitests.dev/reference/reporter-options).
|
|
68
|
+
|
|
69
|
+
With authentication on, the reporter needs an API key in `PIWI_API_KEY` (the environment, or the `.env` beside your Playwright config) or the `apiKey` option, or a username and password; [API keys → Using the API key in the reporter](https://piwitests.dev/operate/api-keys#using-the-api-key-in-the-reporter) covers both, and the account CI should use.
|
|
66
70
|
|
|
67
71
|
## Requirements
|
|
68
72
|
|