@lambdatest/smartui-cli 4.1.7-beta.3 → 4.1.7-beta.4
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 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1544,7 +1544,7 @@ var authExec_default = (ctx) => {
|
|
|
1544
1544
|
};
|
|
1545
1545
|
|
|
1546
1546
|
// package.json
|
|
1547
|
-
var version = "4.1.7-beta.
|
|
1547
|
+
var version = "4.1.7-beta.4";
|
|
1548
1548
|
var package_default = {
|
|
1549
1549
|
name: "@lambdatest/smartui-cli",
|
|
1550
1550
|
version,
|
|
@@ -2598,6 +2598,10 @@ function processSnapshot(snapshot, ctx) {
|
|
|
2598
2598
|
} else if (!ALLOWED_STATUSES.includes(response.status())) {
|
|
2599
2599
|
ctx.log.debug(`${globalViewport} Handling request ${requestUrl}
|
|
2600
2600
|
- skipping disallowed status [${response.status()}]`);
|
|
2601
|
+
if (response && response.headers()) {
|
|
2602
|
+
const responseHeaders = response.headers();
|
|
2603
|
+
ctx.log.debug(`Response headers for ${requestUrl}: ${JSON.stringify(responseHeaders, null, 2)}`);
|
|
2604
|
+
}
|
|
2601
2605
|
let data = {
|
|
2602
2606
|
statusCode: `${response.status()}`,
|
|
2603
2607
|
url: requestUrl,
|