@piwitests/reporter 0.20.0 → 0.21.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 +12 -0
- package/dist/cli/index.js +652 -9
- package/dist/index.d.ts +2 -1
- package/dist/index.js +1709 -1400
- package/dist/internal/capture/capture-fixtures.d.ts +3 -56
- package/dist/internal/capture/capture-fixtures.js +1660 -1351
- package/dist/internal/capture/locator-healing.js +72 -24
- package/dist/internal/capture/pick-on-failure.d.ts +6 -125
- package/dist/internal/capture/pick-on-failure.js +1108 -940
- package/package.json +4 -2
- package/templates/skills/apply-locator-healing/SKILL.md +32 -0
- package/templates/skills/investigate-failure/SKILL.md +36 -0
- package/templates/skills/setup-piwi/SKILL.md +62 -0
- package/templates/skills/stabilize-flaky-tests/SKILL.md +36 -0
package/dist/index.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import { FullConfig, Suite, TestCase, TestResult, FullResult } from '@playwright
|
|
|
2
2
|
import { PlaywrightTestConfig } from '@playwright/test';
|
|
3
3
|
export { PlaywrightTestConfig } from '@playwright/test';
|
|
4
4
|
export { PiwiFixtures, extendPiwiFixtures, piwiFixtures } from './internal/capture/capture-fixtures.js';
|
|
5
|
+
import '@piwitests/picker-dom';
|
|
5
6
|
|
|
6
7
|
/**
|
|
7
8
|
* Options for configuring the Piwi Dashboard reporter.
|
|
@@ -50,7 +51,7 @@ interface PiwiDashboardOptions {
|
|
|
50
51
|
/**
|
|
51
52
|
* Capture server-side spans for each API/document request the test makes,
|
|
52
53
|
* read from the `X-Piwi-Trace` response header emitted by a Piwi
|
|
53
|
-
* instrumentation plugin (e.g. `@piwitests/instrumentation`). The spans show
|
|
54
|
+
* instrumentation plugin (e.g. `@piwitests/instrumentation-nitro`). The spans show
|
|
54
55
|
* up next to the network request in the dashboard and feed AI diagnosis. Free
|
|
55
56
|
* when no instrumentation is present (the header is simply absent). Defaults
|
|
56
57
|
* to `true`; automatically disabled when `collectPerformanceMetrics` is
|