@mablhq/mabl-cli 1.25.5 → 1.25.15
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/api/featureSet.js +4 -0
- package/api/mablApiClient.js +1 -0
- package/commands/environments/environments_cmds/create.js +3 -0
- package/domUtil/index.js +1 -1
- package/execution/index.js +1 -1
- package/execution/index.js.LICENSE.txt +6 -0
- package/mablApi/index.js +1 -1
- package/mablscript/diffing/diffingUtil.js +81 -16
- package/mablscript/steps/EvaluateFlowStep.js +8 -3
- package/mablscriptFind/index.js +1 -1
- package/package.json +7 -6
- package/reporters/__tests__/resources/sampleData.js +5 -0
- package/resources/mablFind.js +1 -1
package/api/featureSet.js
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.FeatureSet = exports.FindImplementationVersion = void 0;
|
|
4
4
|
const runnerType_1 = require("../browserLauncher/runnerType");
|
|
5
|
+
const ACCESSIBILITY_CHECK_FEATURE_FLAG = 'accessibility_checks';
|
|
5
6
|
const SMARTER_WAIT_FEATURE_FLAG = 'smarter_wait';
|
|
6
7
|
var FindImplementationVersion;
|
|
7
8
|
(function (FindImplementationVersion) {
|
|
@@ -20,5 +21,8 @@ class FeatureSet {
|
|
|
20
21
|
? FindImplementationVersion.SmartFind
|
|
21
22
|
: FindImplementationVersion.V1;
|
|
22
23
|
}
|
|
24
|
+
hasAccessibilityChecksEnabled() {
|
|
25
|
+
return this.featureFlags.has(ACCESSIBILITY_CHECK_FEATURE_FLAG);
|
|
26
|
+
}
|
|
23
27
|
}
|
|
24
28
|
exports.FeatureSet = FeatureSet;
|
package/api/mablApiClient.js
CHANGED
|
@@ -698,6 +698,7 @@ class MablApiClient extends basicApiClient_1.BasicApiClient {
|
|
|
698
698
|
async failJourneyRun(journeyRunId, cause) {
|
|
699
699
|
try {
|
|
700
700
|
const response = await this.makePatchRequest(`${this.baseApiUrl}/journeyRuns/${journeyRunId}`, {
|
|
701
|
+
functionally_completed: false,
|
|
701
702
|
status: mablApi_1.JourneyRun.StatusEnum.Failed,
|
|
702
703
|
status_cause: cause,
|
|
703
704
|
});
|
|
@@ -84,6 +84,9 @@ function addUpdateEnvCommands(argv) {
|
|
|
84
84
|
return true;
|
|
85
85
|
})
|
|
86
86
|
.coerce('variables', (variables) => {
|
|
87
|
+
if (variables.length === 0) {
|
|
88
|
+
return undefined;
|
|
89
|
+
}
|
|
87
90
|
(0, util_1.validateArrayInputs)(variables, 'Variables must be SPACE delimited, e.g. --variables foo:bar baz:qux');
|
|
88
91
|
variables = (0, util_1.validateValuePairInputs)('Variable', variables);
|
|
89
92
|
return variables.reduce((variablesObject, item) => {
|