sedum-cli 0.1.0-alpha.17 → 0.1.0-alpha.20
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 +65 -0
- package/dist/{affected-selection-KRK5HRF4.js → affected-selection-NTBVWIK5.js} +8 -50
- package/dist/auth-command-TSTYIWGX.js +634 -0
- package/dist/{chunk-GJ5QI7JQ.js → chunk-CGDXQY2Y.js} +1 -1
- package/dist/{chunk-F4RD4S4P.js → chunk-DXNJ3PGB.js} +41 -17
- package/dist/{chunk-ACDJLEMS.js → chunk-FOGLJA3Z.js} +56 -24
- package/dist/{chunk-OKZ6VJKA.js → chunk-J7CLCLHW.js} +266 -151
- package/dist/chunk-JYWNBHN7.js +109 -0
- package/dist/{chunk-A7HBQLEM.js → chunk-KMWECJ4D.js} +158 -64
- package/dist/chunk-NIUOM3FA.js +50 -0
- package/dist/{chunk-ZAACPFCW.js → chunk-QVCT63FH.js} +1 -1
- package/dist/cli.js +10 -4
- package/dist/cloud-command-YYQ47FTU.js +329 -0
- package/dist/cloud-upload-IGNNU5WX.js +243 -0
- package/dist/{doctor-command-KIGPIDQA.js → doctor-command-OFMURNPN.js} +5 -3
- package/dist/{explore-command-NRRJADY4.js → explore-command-KMS6UAPM.js} +3 -2
- package/dist/index.d.ts +16 -0
- package/dist/index.js +5 -4
- package/dist/{init-command-DEEVMROG.js → init-command-IXR3YUQW.js} +3 -3
- package/dist/{run-command-EVUWZI4F.js → run-command-WYSLSLYM.js} +10 -7
- package/package.json +6 -5
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
} from "./chunk-EFRMSNBD.js";
|
|
6
6
|
import {
|
|
7
7
|
discoverRunTests
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-QVCT63FH.js";
|
|
9
9
|
import {
|
|
10
10
|
createCliProvider
|
|
11
11
|
} from "./chunk-N5CTUO2A.js";
|
|
@@ -16,11 +16,11 @@ import {
|
|
|
16
16
|
outputDiagnostic,
|
|
17
17
|
setupDiagnostic,
|
|
18
18
|
stopsRun
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-CGDXQY2Y.js";
|
|
20
20
|
import {
|
|
21
21
|
ProjectConfigError,
|
|
22
22
|
loadProjectConfig
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-J7CLCLHW.js";
|
|
24
24
|
|
|
25
25
|
// src/run-command/implementation.ts
|
|
26
26
|
import {
|
|
@@ -1067,10 +1067,10 @@ function validateVision(config) {
|
|
|
1067
1067
|
// src/run-command/support.ts
|
|
1068
1068
|
import { safeText } from "@sedum-dev/core";
|
|
1069
1069
|
import path8 from "path";
|
|
1070
|
-
function verifyGraceMs(value) {
|
|
1071
|
-
if (value === void 0) return
|
|
1070
|
+
function verifyGraceMs(value, configured = 5e3) {
|
|
1071
|
+
if (value === void 0) return configured;
|
|
1072
1072
|
const parsed = Number(value);
|
|
1073
|
-
return Number.isFinite(parsed) && parsed >= 0 && parsed <= 12e4 ? parsed :
|
|
1073
|
+
return Number.isFinite(parsed) && parsed >= 0 && parsed <= 12e4 ? parsed : configured;
|
|
1074
1074
|
}
|
|
1075
1075
|
function strayRejectionDiagnostic(strays, config) {
|
|
1076
1076
|
const stray = strays[0];
|
|
@@ -1275,7 +1275,10 @@ function testDependencies(request, resources, slot) {
|
|
|
1275
1275
|
browserKind: config.browser,
|
|
1276
1276
|
viewport: config.viewport,
|
|
1277
1277
|
verifyPolicy: config.thresholds,
|
|
1278
|
-
verifyGraceMs: verifyGraceMs(
|
|
1278
|
+
verifyGraceMs: verifyGraceMs(
|
|
1279
|
+
process.env.SEDUM_VERIFY_GRACE_MS,
|
|
1280
|
+
config.stepTimeoutMs
|
|
1281
|
+
),
|
|
1279
1282
|
...config.baseUrl ? { baseUrl: config.baseUrl } : {},
|
|
1280
1283
|
...options.urlOverride ? { urlOverride: options.urlOverride } : {},
|
|
1281
1284
|
...options.headed ? { headless: false, headedOverlay: true } : {},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sedum-cli",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.20",
|
|
4
4
|
"description": "Plain-English browser tests on Playwright. Write steps as sentences, keep TypeScript, and run the suite on every pull request.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"playwright",
|
|
@@ -43,10 +43,11 @@
|
|
|
43
43
|
"commander": "14.0.2",
|
|
44
44
|
"minimatch": "10.2.6",
|
|
45
45
|
"yaml": "2.9.1",
|
|
46
|
-
"
|
|
47
|
-
"@sedum-dev/
|
|
48
|
-
"@sedum-dev/
|
|
49
|
-
"@sedum-dev/provider-
|
|
46
|
+
"zod": "4.6.7",
|
|
47
|
+
"@sedum-dev/core": "0.1.0-alpha.20",
|
|
48
|
+
"@sedum-dev/provider-clef": "0.1.0-alpha.20",
|
|
49
|
+
"@sedum-dev/provider-typesafe": "0.1.0-alpha.20",
|
|
50
|
+
"@sedum-dev/reporters": "0.1.0-alpha.20"
|
|
50
51
|
},
|
|
51
52
|
"scripts": {
|
|
52
53
|
"build": "tsup src/index.ts src/cli.ts --format esm --dts --clean --out-dir dist",
|