@mablhq/mabl-cli 2.31.41 → 2.31.44
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 +7 -3
- package/execution/index.js +1 -1
- package/package.json +1 -1
- package/util/analytics.js +17 -8
package/api/featureSet.js
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.FeatureSet = exports.FindImplementationVersion = exports.AI_ASSERTIONS_FEATURE_FLAG = exports.ADVANCED_AUTO_HEALING_FEATURE_FLAG = exports.GENERATIVE_AI_FEATURE_FLAG = void 0;
|
|
3
|
+
exports.FeatureSet = exports.FindImplementationVersion = exports.PRIVATE_BETA_AI_ASSERTIONS_FEATURE_FLAG = exports.AI_ASSERTIONS_FEATURE_FLAG = exports.ADVANCED_AUTO_HEALING_FEATURE_FLAG = exports.GENERATIVE_AI_FEATURE_FLAG = void 0;
|
|
4
4
|
const types_1 = require("../browserLauncher/types");
|
|
5
5
|
const ACCESSIBILITY_CHECK_FEATURE_FLAG = 'accessibility_checks';
|
|
6
6
|
const PERFORMANCE_TESTING_FEATURE_FLAG = 'performance_testing';
|
|
7
7
|
const SMARTER_WAIT_FEATURE_FLAG = 'smarter_wait';
|
|
8
8
|
exports.GENERATIVE_AI_FEATURE_FLAG = 'generative_ai';
|
|
9
9
|
exports.ADVANCED_AUTO_HEALING_FEATURE_FLAG = 'advanced_auto_healing';
|
|
10
|
-
exports.AI_ASSERTIONS_FEATURE_FLAG = '
|
|
10
|
+
exports.AI_ASSERTIONS_FEATURE_FLAG = 'ai_assertion_steps';
|
|
11
|
+
exports.PRIVATE_BETA_AI_ASSERTIONS_FEATURE_FLAG = 'ai_assertions';
|
|
11
12
|
var FindImplementationVersion;
|
|
12
13
|
(function (FindImplementationVersion) {
|
|
13
14
|
FindImplementationVersion[FindImplementationVersion["V1"] = 0] = "V1";
|
|
@@ -31,9 +32,12 @@ class FeatureSet {
|
|
|
31
32
|
hasPerformanceTestingFeatureEnabled() {
|
|
32
33
|
return this.featureFlags.has(PERFORMANCE_TESTING_FEATURE_FLAG);
|
|
33
34
|
}
|
|
34
|
-
|
|
35
|
+
hasAiAssertions() {
|
|
35
36
|
return this.featureFlags.has(exports.AI_ASSERTIONS_FEATURE_FLAG);
|
|
36
37
|
}
|
|
38
|
+
hasPrivateBetaAiAssertions() {
|
|
39
|
+
return this.featureFlags.has(exports.PRIVATE_BETA_AI_ASSERTIONS_FEATURE_FLAG);
|
|
40
|
+
}
|
|
37
41
|
allowGenerativeAi() {
|
|
38
42
|
return this.featureFlags.has(exports.GENERATIVE_AI_FEATURE_FLAG);
|
|
39
43
|
}
|