Skip to content

Commit 4c93890

Browse files
committed
Minor fixes
1 parent 96c8c99 commit 4c93890

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

commands/utils/dom.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,9 @@ async function shortPolling(buildId, retries = 0, options) {
124124
} else {
125125
if (response.data.baseline) {
126126
console.log('No comparisons run. This is a baseline build.');
127+
} else {
128+
console.log('No comparisons run. No screenshot in the current build has the corresponding screenshot in baseline build.');
127129
}
128-
console.log('No comparisons run. No screenshot in the current build has the corresponding screenshot in baseline build.');
129130
}
130131
return;
131132
} else {
@@ -142,7 +143,7 @@ async function shortPolling(buildId, retries = 0, options) {
142143
console.log('[smartui] Please check the build status on LambdaTest SmartUI.');
143144
return;
144145
}
145-
146+
146147
setTimeout(function () {
147148
shortPolling(buildId, 0, options)
148149
}, INTERVAL);
@@ -175,7 +176,6 @@ function getBase64(url) {
175176
async function serializeCSSOM(dom, clone) {
176177
return new Promise(resolve => {
177178
dom.window.addEventListener("load", () => {
178-
console.log(dom.window.document.styleSheets.length);
179179
for (let styleSheet of dom.window.document.styleSheets) {
180180
let style = clone.window.document.createElement('style');
181181
style.type = 'text/css';

0 commit comments

Comments
 (0)