@mablhq/mabl-cli 2.28.3 → 2.29.7

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.
@@ -5,13 +5,16 @@ const web2driver_1 = require("web2driver");
5
5
  let MABL_SESSION_CONFIG;
6
6
  let MABL_APPIUM_DRIVER;
7
7
  async function initializeDriverInPage(config) {
8
- var _a, _b, _c, _d, _e;
8
+ var _a, _b, _c, _d, _e, _f, _g, _h;
9
9
  const driver = await web2driver_1.Web2Driver.attachToSession(config.sessionId, {
10
10
  protocol: (_a = config.protocol) !== null && _a !== void 0 ? _a : 'http',
11
11
  hostname: (_b = config.hostname) !== null && _b !== void 0 ? _b : 'localhost',
12
12
  port: (_c = config.port) !== null && _c !== void 0 ? _c : 4723,
13
13
  path: (_d = config.path) !== null && _d !== void 0 ? _d : '/',
14
- }, config.capabilities, (_e = config.isW3C) !== null && _e !== void 0 ? _e : true);
14
+ isMobile: (_e = config.isMobile) !== null && _e !== void 0 ? _e : false,
15
+ isAndroid: (_f = config.isAndroid) !== null && _f !== void 0 ? _f : false,
16
+ isIOS: (_g = config.isIOS) !== null && _g !== void 0 ? _g : false,
17
+ }, config.capabilities, (_h = config.isW3C) !== null && _h !== void 0 ? _h : true);
15
18
  return driver;
16
19
  }
17
20
  exports.initializeDriverInPage = initializeDriverInPage;
@@ -1,24 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DatabaseCallVariableSource = exports.DatabaseCallStep = void 0;
4
- const AbstractAssertionsAndVariablesStep_1 = require("./AbstractAssertionsAndVariablesStep");
5
- class DatabaseCallStep extends AbstractAssertionsAndVariablesStep_1.AbstractAssertionsAndVariablesStep {
6
- constructor(name, args, actions) {
7
- super(name, args, actions, DatabaseCallStep.mablScriptStepNames[0], DatabaseCallStep.stepName, args[0]);
8
- }
9
- static fromYaml(_stepName, stepArgs) {
10
- const formatted = stepArgs;
11
- const step = new DatabaseCallStep(DatabaseCallStep.stepName, [formatted], []);
12
- step.setStepId(stepArgs.id);
13
- return step;
14
- }
15
- }
16
- exports.DatabaseCallStep = DatabaseCallStep;
17
- DatabaseCallStep.stepName = 'DatabaseCall';
18
- DatabaseCallStep.mablScriptStepNames = ['database_call'];
19
- DatabaseCallStep.yamlMablScriptNames = [DatabaseCallStep.stepName];
20
- var DatabaseCallVariableSource;
21
- (function (DatabaseCallVariableSource) {
22
- DatabaseCallVariableSource["Metadata"] = "metadata";
23
- DatabaseCallVariableSource["Result"] = "result";
24
- })(DatabaseCallVariableSource || (exports.DatabaseCallVariableSource = DatabaseCallVariableSource = {}));