playwright-performance-regression 0.1.0-next.3 → 1.0.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.
Files changed (37) hide show
  1. package/CHANGELOG.md +388 -0
  2. package/README.md +53 -41
  3. package/dist/{chunk-MUZFQKGQ.js → chunk-4WX3Z5MJ.js} +321 -30
  4. package/dist/{chunk-AQ2XKYNV.js → chunk-5Y34Q4DR.js} +37 -9
  5. package/dist/chunk-B4XTLSRN.js +1788 -0
  6. package/dist/{chunk-44ASXVQN.cjs → chunk-PWK5XSP2.cjs} +337 -45
  7. package/dist/{chunk-DYLCGMI2.js → chunk-S6UH6QPK.js} +6 -1
  8. package/dist/{chunk-BAOTUUTV.cjs → chunk-VREOANPX.cjs} +75 -28
  9. package/dist/{chunk-2JO5HVPC.cjs → chunk-W7NEFS5V.cjs} +37 -9
  10. package/dist/{chunk-DX36GFOZ.js → chunk-YKBX6SAT.js} +94 -57
  11. package/dist/cli.js +1922 -3307
  12. package/dist/config.cjs +58 -120
  13. package/dist/config.d.cts +2 -3
  14. package/dist/config.d.ts +2 -3
  15. package/dist/config.js +48 -110
  16. package/dist/fixture.cjs +9 -5
  17. package/dist/fixture.d.cts +10 -4
  18. package/dist/fixture.d.ts +10 -4
  19. package/dist/fixture.js +4 -4
  20. package/dist/index.cjs +3 -3
  21. package/dist/index.d.cts +22 -10
  22. package/dist/index.d.ts +22 -10
  23. package/dist/index.js +1 -1
  24. package/dist/perf-api-2DH_keLh.d.cts +17 -0
  25. package/dist/perf-api-2DH_keLh.d.ts +17 -0
  26. package/dist/reporter.cjs +2046 -835
  27. package/dist/reporter.js +6741 -1737
  28. package/dist/test.cjs +4 -4
  29. package/dist/test.js +4 -4
  30. package/package.json +17 -3
  31. package/schemas/config.schema.json +29 -14
  32. package/schemas/outcome.schema.json +1 -1
  33. package/schemas/run-report.schema.json +16 -2
  34. package/schemas/samples.schema.json +48 -2
  35. package/dist/chunk-LTRHMBVY.js +0 -5592
  36. package/dist/perf-api-Rm1h1O_-.d.cts +0 -12
  37. package/dist/perf-api-Rm1h1O_-.d.ts +0 -12
@@ -1,12 +0,0 @@
1
- import { BrowserContext } from '@playwright/test';
2
-
3
- interface PerfApi {
4
- /** Tracks a browser context created in this test or in a test-scoped fixture, until test end. */
5
- track(context: BrowserContext): void;
6
- }
7
- /** Fixtures added by withPerfFixtures(). */
8
- interface PerfFixtures {
9
- perf: PerfApi;
10
- }
11
-
12
- export type { PerfFixtures as P, PerfApi as a };
@@ -1,12 +0,0 @@
1
- import { BrowserContext } from '@playwright/test';
2
-
3
- interface PerfApi {
4
- /** Tracks a browser context created in this test or in a test-scoped fixture, until test end. */
5
- track(context: BrowserContext): void;
6
- }
7
- /** Fixtures added by withPerfFixtures(). */
8
- interface PerfFixtures {
9
- perf: PerfApi;
10
- }
11
-
12
- export type { PerfFixtures as P, PerfApi as a };