Skip to content

Commit 476c75e

Browse files
authored
Merge pull request #14517 from Snuffleupagus/makeRef-forceNoChrome
Disable the browser-tests, during `gulp makeref`, in Google Chrome on the Windows bot (PR 14392 follow-up)
2 parents 7a03470 + 18c295f commit 476c75e

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

gulpfile.js

+8-1
Original file line numberDiff line numberDiff line change
@@ -607,11 +607,18 @@ function makeRef(done, bot) {
607607
console.log();
608608
console.log("### Creating reference images");
609609

610+
let forceNoChrome = false;
610611
const args = ["test.js", "--masterMode"];
611612
if (bot) {
613+
const os = process.env.OS;
614+
if (/windows/i.test(os)) {
615+
// The browser-tests are too slow in Google Chrome on the Windows
616+
// bot, causing a timeout, hence disabling them for now.
617+
forceNoChrome = true;
618+
}
612619
args.push("--noPrompts", "--strictVerify");
613620
}
614-
if (process.argv.includes("--noChrome")) {
621+
if (process.argv.includes("--noChrome") || forceNoChrome) {
615622
args.push("--noChrome");
616623
}
617624

0 commit comments

Comments
 (0)