@lambdatest/smartui-cli 4.1.56 → 4.1.58
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/dist/index.cjs +3 -17
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -3124,7 +3124,7 @@ var authExec_default = (ctx) => {
|
|
|
3124
3124
|
};
|
|
3125
3125
|
|
|
3126
3126
|
// package.json
|
|
3127
|
-
var version = "4.1.
|
|
3127
|
+
var version = "4.1.58";
|
|
3128
3128
|
var package_default = {
|
|
3129
3129
|
name: "@lambdatest/smartui-cli",
|
|
3130
3130
|
version,
|
|
@@ -4726,7 +4726,7 @@ var normalizeSameSite = (value) => {
|
|
|
4726
4726
|
};
|
|
4727
4727
|
function prepareSnapshot(snapshot, ctx) {
|
|
4728
4728
|
return __async(this, null, function* () {
|
|
4729
|
-
var _a
|
|
4729
|
+
var _a;
|
|
4730
4730
|
let processedOptions = {};
|
|
4731
4731
|
processedOptions.cliEnableJavascript = ctx.config.cliEnableJavaScript;
|
|
4732
4732
|
processedOptions.ignoreHTTPSErrors = ctx.config.ignoreHTTPSErrors;
|
|
@@ -4842,13 +4842,6 @@ function prepareSnapshot(snapshot, ctx) {
|
|
|
4842
4842
|
if (!processedOptions.web && ((_a = ctx.config.web) == null ? void 0 : _a.browserViewports)) {
|
|
4843
4843
|
processedOptions.web = { browserViewports: ctx.config.web.browserViewports };
|
|
4844
4844
|
}
|
|
4845
|
-
if (!processedOptions.mobile && ctx.config.mobile) {
|
|
4846
|
-
processedOptions.mobile = {
|
|
4847
|
-
devices: ctx.config.mobile.devices,
|
|
4848
|
-
fullPage: (_b = ctx.config.mobile.fullPage) != null ? _b : true,
|
|
4849
|
-
orientation: ctx.config.mobile.orientation || constants_default.MOBILE_ORIENTATION_PORTRAIT
|
|
4850
|
-
};
|
|
4851
|
-
}
|
|
4852
4845
|
if (ctx.config.tunnel) {
|
|
4853
4846
|
if (ctx.tunnelDetails && ctx.tunnelDetails.tunnelPort != -1 && ctx.tunnelDetails.tunnelHost != "") {
|
|
4854
4847
|
const tunnelAddress = `http://${ctx.tunnelDetails.tunnelHost}:${ctx.tunnelDetails.tunnelPort}`;
|
|
@@ -4920,7 +4913,7 @@ function prepareSnapshot(snapshot, ctx) {
|
|
|
4920
4913
|
}
|
|
4921
4914
|
function processSnapshot(snapshot, ctx) {
|
|
4922
4915
|
return __async(this, null, function* () {
|
|
4923
|
-
var _a, _b, _c
|
|
4916
|
+
var _a, _b, _c;
|
|
4924
4917
|
updateLogContext({ task: "discovery" });
|
|
4925
4918
|
ctx.log.debug(`Processing snapshot ${snapshot.name} ${snapshot.url}`);
|
|
4926
4919
|
const isHeadless = ((_a = process.env.HEADLESS) == null ? void 0 : _a.toLowerCase()) === "false" ? false : true;
|
|
@@ -5283,13 +5276,6 @@ function processSnapshot(snapshot, ctx) {
|
|
|
5283
5276
|
if (!processedOptions.web && ((_c = ctx.config.web) == null ? void 0 : _c.browserViewports)) {
|
|
5284
5277
|
processedOptions.web = { browserViewports: ctx.config.web.browserViewports };
|
|
5285
5278
|
}
|
|
5286
|
-
if (!processedOptions.mobile && ctx.config.mobile) {
|
|
5287
|
-
processedOptions.mobile = {
|
|
5288
|
-
devices: ctx.config.mobile.devices,
|
|
5289
|
-
fullPage: (_d = ctx.config.mobile.fullPage) != null ? _d : true,
|
|
5290
|
-
orientation: ctx.config.mobile.orientation || constants_default.MOBILE_ORIENTATION_PORTRAIT
|
|
5291
|
-
};
|
|
5292
|
-
}
|
|
5293
5279
|
if (ctx.config.tunnel) {
|
|
5294
5280
|
if (ctx.tunnelDetails && ctx.tunnelDetails.tunnelPort != -1 && ctx.tunnelDetails.tunnelHost != "") {
|
|
5295
5281
|
const tunnelAddress = `http://${ctx.tunnelDetails.tunnelHost}:${ctx.tunnelDetails.tunnelPort}`;
|