artes 1.0.82 → 1.0.83
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/cucumber.config.js
CHANGED
|
@@ -18,7 +18,7 @@ module.exports = {
|
|
|
18
18
|
default: {
|
|
19
19
|
// File paths and patterns
|
|
20
20
|
testPercentage: process.env.PERCENTAGE
|
|
21
|
-
? process.env.PERCENTAGE
|
|
21
|
+
? Number(process.env.PERCENTAGE)
|
|
22
22
|
: artesConfig.testPercentage || 0, // number - Percentage of tests to run (0-100)
|
|
23
23
|
timeout: artesConfig.timeout || 30, // Default timeout in milliseconds
|
|
24
24
|
paths: process.env.FEATURES
|
|
@@ -51,7 +51,7 @@ module.exports = {
|
|
|
51
51
|
|
|
52
52
|
// Execution options
|
|
53
53
|
parallel: process.env.PARALLEL
|
|
54
|
-
?
|
|
54
|
+
? Number(process.env.PARALLEL)
|
|
55
55
|
: artesConfig.parallel || 1, // Number of parallel workers
|
|
56
56
|
dryRun: process.env.DRYRUN
|
|
57
57
|
? JSON.parse(process.env.DRYRUN)
|
package/package.json
CHANGED
|
@@ -34,11 +34,12 @@ function runTests(args, flags) {
|
|
|
34
34
|
console.log("Running mode:", flags.headless ? "headless" : "headed");
|
|
35
35
|
flags.headless ? (process.env.MODE = JSON.stringify(true)) : false;
|
|
36
36
|
|
|
37
|
-
flags.parallel ? (process.env.PARALLEL =
|
|
37
|
+
flags.parallel ? (process.env.PARALLEL = parallel) : "";
|
|
38
38
|
flags.retry ? (process.env.RETRY = JSON.stringify(retry)) : "";
|
|
39
39
|
flags.dryrun ? (process.env.DRYRUN = JSON.stringify(true)) : "";
|
|
40
40
|
flags.percentage ? (process.env.PERCENTAGE = percentage) : "";
|
|
41
|
-
|
|
41
|
+
|
|
42
|
+
|
|
42
43
|
try {
|
|
43
44
|
console.log("🧪 Running tests...");
|
|
44
45
|
process.env.FORCE_COLOR = "1";
|