playwright-performance-regression 0.1.0-next.4 → 1.0.1
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/CHANGELOG.md +150 -0
- package/README.md +16 -17
- package/dist/{chunk-CISGJCFW.js → chunk-5Y34Q4DR.js} +3 -3
- package/dist/{chunk-CXE5IWZY.js → chunk-BA37V6SL.js} +185 -30
- package/dist/{chunk-KELMALEG.cjs → chunk-CTE5EY35.cjs} +25 -25
- package/dist/{chunk-IUI4AFE5.cjs → chunk-LEIBG5A4.cjs} +54 -1
- package/dist/{chunk-RL27E3AB.js → chunk-ORWOFAZ5.js} +54 -2
- package/dist/{chunk-LUA4WRIQ.cjs → chunk-W7NEFS5V.cjs} +3 -3
- package/dist/{chunk-E2IX265O.js → chunk-ZHJQFWES.js} +2 -2
- package/dist/cli.js +398 -786
- package/dist/config.cjs +16 -16
- package/dist/config.js +3 -3
- package/dist/fixture.cjs +6 -6
- package/dist/fixture.js +3 -3
- package/dist/index.cjs +3 -3
- package/dist/index.d.cts +6 -2
- package/dist/index.d.ts +6 -2
- package/dist/index.js +1 -1
- package/dist/reporter.cjs +1392 -648
- package/dist/reporter.js +850 -257
- package/dist/test.cjs +4 -4
- package/dist/test.js +3 -3
- package/package.json +1 -3
- package/schemas/config.schema.json +8 -3
package/dist/test.cjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
5
|
-
require('./chunk-
|
|
3
|
+
var chunkCTE5EY35_cjs = require('./chunk-CTE5EY35.cjs');
|
|
4
|
+
require('./chunk-LEIBG5A4.cjs');
|
|
5
|
+
require('./chunk-W7NEFS5V.cjs');
|
|
6
6
|
var test$1 = require('@playwright/test');
|
|
7
7
|
|
|
8
|
-
var test =
|
|
8
|
+
var test = chunkCTE5EY35_cjs.withPerfFixtures(test$1.test);
|
|
9
9
|
|
|
10
10
|
Object.defineProperty(exports, "expect", {
|
|
11
11
|
enumerable: true,
|
package/dist/test.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { withPerfFixtures } from './chunk-
|
|
1
|
+
import { withPerfFixtures } from './chunk-ZHJQFWES.js';
|
|
2
2
|
import './chunk-S6UH6QPK.js';
|
|
3
|
-
import './chunk-
|
|
4
|
-
import './chunk-
|
|
3
|
+
import './chunk-ORWOFAZ5.js';
|
|
4
|
+
import './chunk-5Y34Q4DR.js';
|
|
5
5
|
import { test as test$1 } from '@playwright/test';
|
|
6
6
|
export { expect } from '@playwright/test';
|
|
7
7
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "playwright-performance-regression",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "Catch backend performance regressions from the Playwright tests you already have.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"playwright",
|
|
@@ -126,8 +126,6 @@
|
|
|
126
126
|
"check:types-generated": "node scripts/generate-types.mjs --check",
|
|
127
127
|
"gen:html": "node scripts/build-html-assets.mjs",
|
|
128
128
|
"check:html-generated": "node scripts/build-html-assets.mjs --check",
|
|
129
|
-
"gen:ci": "node scripts/build-ci-templates.mjs",
|
|
130
|
-
"check:ci-generated": "node scripts/build-ci-templates.mjs --check",
|
|
131
129
|
"gen:docs": "node scripts/build-config-docs.mjs",
|
|
132
130
|
"check:docs-generated": "node scripts/build-config-docs.mjs --check",
|
|
133
131
|
"gen:config-template": "node scripts/build-config-template.mjs",
|
|
@@ -126,10 +126,10 @@
|
|
|
126
126
|
"default": []
|
|
127
127
|
},
|
|
128
128
|
"exclude": {
|
|
129
|
-
"description": "Requests whose URL matches any pattern are skipped. Applied after include.",
|
|
129
|
+
"description": "Requests whose URL matches any pattern are skipped. Applied after include. The default skips the HTTP transports of socket.io, SockJS, SignalR and Blazor Server (handshakes, long polling, streaming).",
|
|
130
130
|
"type": "array",
|
|
131
131
|
"items": {"$ref": "#/$defs/urlPattern"},
|
|
132
|
-
"default": ["/socket.io/"]
|
|
132
|
+
"default": ["/socket.io/", "/sockjs/", "/sockjs-node/", "/signalr/", "/_blazor/"]
|
|
133
133
|
},
|
|
134
134
|
"excludeKnownThirdParty": {
|
|
135
135
|
"description": "Skip requests to the built-in list of analytics, tag manager, monitoring and chat hosts (05).",
|
|
@@ -745,12 +745,17 @@
|
|
|
745
745
|
"default": {},
|
|
746
746
|
"properties": {
|
|
747
747
|
"dir": {
|
|
748
|
-
"description": "Directory of report.json and
|
|
748
|
+
"description": "Directory of report.json, report.html and junit.xml, relative to the Playwright config directory. Emptied when the first test of a test or thresholds run starts; never the project directory or a folder with thresholds files.",
|
|
749
749
|
"type": "string",
|
|
750
750
|
"minLength": 1,
|
|
751
751
|
"default": "reports/pw-perf"
|
|
752
752
|
},
|
|
753
753
|
"html": {"description": "Write the HTML report.", "type": "boolean", "default": true},
|
|
754
|
+
"junit": {
|
|
755
|
+
"description": "Write junit.xml next to report.json in test mode (16).",
|
|
756
|
+
"type": "boolean",
|
|
757
|
+
"default": true
|
|
758
|
+
},
|
|
754
759
|
"rawUrls": {
|
|
755
760
|
"description": "Include raw URLs of the slowest samples in the run report (D-11).",
|
|
756
761
|
"type": "boolean",
|