@lambdatest/smartui-cli 4.1.35 → 4.1.36
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 +5 -3
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -2488,7 +2488,7 @@ var authExec_default = (ctx) => {
|
|
|
2488
2488
|
};
|
|
2489
2489
|
|
|
2490
2490
|
// package.json
|
|
2491
|
-
var version = "4.1.
|
|
2491
|
+
var version = "4.1.36";
|
|
2492
2492
|
var package_default = {
|
|
2493
2493
|
name: "@lambdatest/smartui-cli",
|
|
2494
2494
|
version,
|
|
@@ -4368,7 +4368,7 @@ function processSnapshot(snapshot, ctx) {
|
|
|
4368
4368
|
if (ctx.config.cliEnableJavaScript && fullPage)
|
|
4369
4369
|
yield page.evaluate(scrollToBottomAndBackToTop, { frequency: 100, timing: ctx.config.scrollTime });
|
|
4370
4370
|
try {
|
|
4371
|
-
yield page.waitForLoadState("networkidle", { timeout:
|
|
4371
|
+
yield page.waitForLoadState("networkidle", { timeout: 15e3 });
|
|
4372
4372
|
ctx.log.debug("Network idle 500ms");
|
|
4373
4373
|
} catch (error) {
|
|
4374
4374
|
ctx.log.debug(`Network idle failed due to ${error}`);
|
|
@@ -5284,7 +5284,9 @@ function captureScreenshotsForConfig(ctx, browsers, urlConfig, browserName, rend
|
|
|
5284
5284
|
ctx.log.debug(`url: ${url} pageOptions: ${JSON.stringify(pageOptions)}`);
|
|
5285
5285
|
let ssId = name.toLowerCase().replace(/\s/g, "_");
|
|
5286
5286
|
let context;
|
|
5287
|
-
let contextOptions = {
|
|
5287
|
+
let contextOptions = {
|
|
5288
|
+
ignoreHTTPSErrors: ctx.config.ignoreHTTPSErrors
|
|
5289
|
+
};
|
|
5288
5290
|
let page;
|
|
5289
5291
|
if (browserName == constants_default.CHROME)
|
|
5290
5292
|
contextOptions.userAgent = constants_default.CHROME_USER_AGENT;
|