Skip to content

Commit 7455ae5

Browse files
Merge remote-tracking branch 'upstream/dev' into AT-344
2 parents c8d1053 + ef45488 commit 7455ae5

File tree

3 files changed

+11
-5
lines changed

3 files changed

+11
-5
lines changed

accessibility/plugin/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ const Accessibility = (on, config) => {
9494
on('before:browser:launch', (browser = {}, launchOptions) => {
9595
try {
9696
if (process.env.ACCESSIBILITY_EXTENSION_PATH !== undefined) {
97-
if (browser.name !== 'chrome' && browser.name !== 'edge') {
97+
if (browser.name !== 'chrome' && browser.name !== 'edge' && browser.name !== 'chrome-for-testing') {
9898
console.log(`Accessibility Automation will run only on Chrome and Edge browsers. But browser used is ` + browser.name);
9999
browser_validation = false;
100100
}

commands/utils/poller/build_stats.js

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,9 @@ function get_completed_build_info(lt_config, session_id, env) {
3030
if (error.response.status == 401) {
3131
reject("Unauthorized");
3232
} else {
33+
console.log("error.response.status - ",error.response.status)
3334
console.log(error.response.data);
34-
reject("No response for build status");
35+
reject("No response for build status when getting completed build info");
3536
}
3637
} else if (error.request) {
3738
// The request was made but no response was received
@@ -139,8 +140,10 @@ function get_build_info(lt_config, session_id,hyperexecute, env, update_status,
139140
return setTimeout(callback, 5000, null);
140141

141142
} else {
143+
console.log(`[DEBUG] Response status is not 200: ${response.status}`);
144+
console.log("response.data - ",response.data)
142145
update_status(false);
143-
return callback("No response for build status");
146+
return callback("No response for build status when getting build info");
144147
}
145148
})
146149
.catch(error => {
@@ -151,8 +154,11 @@ function get_build_info(lt_config, session_id,hyperexecute, env, update_status,
151154
update_status(false);
152155
return callback("Unauthorized");
153156
} else {
157+
console.log('error.response - ', error.response)
158+
console.log("error.response.data - ",error.response.data)
159+
console.log("error.response.status - ",error.response.status)
154160
update_status(false);
155-
return callback("No response for build status");
161+
return callback("No response for build status when getting info of build.");
156162
}
157163
} else if (error.request) {
158164
// The request was made but no response was received

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)