Skip to content

Commit 867aaf0

Browse files
Merge pull request #19117 from Snuffleupagus/bot-forceNoChrome
Disable the browser-tests in Google Chrome on the bots
2 parents 2bbf9b4 + fd31e72 commit 867aaf0

File tree

3 files changed

+8
-21
lines changed

3 files changed

+8
-21
lines changed

gulpfile.mjs

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -686,12 +686,9 @@ function runTests(testsName, { bot = false, xfaOnly = false } = {}) {
686686
if (!bot) {
687687
args.push("--reftest");
688688
} else {
689-
const os = process.env.OS;
690-
if (/windows/i.test(os)) {
691-
// The browser-tests are too slow in Google Chrome on the Windows
692-
// bot, causing a timeout, hence disabling them for now.
693-
forceNoChrome = true;
694-
}
689+
// The browser-tests are too slow in Google Chrome on the bots,
690+
// causing a timeout, hence disabling them for now.
691+
forceNoChrome = true;
695692
}
696693
if (xfaOnly) {
697694
args.push("--xfaOnly");
@@ -770,12 +767,10 @@ function makeRef(done, bot) {
770767
let forceNoChrome = false;
771768
const args = ["test.mjs", "--masterMode"];
772769
if (bot) {
773-
const os = process.env.OS;
774-
if (/windows/i.test(os)) {
775-
// The browser-tests are too slow in Google Chrome on the Windows
776-
// bot, causing a timeout, hence disabling them for now.
777-
forceNoChrome = true;
778-
}
770+
// The browser-tests are too slow in Google Chrome on the bots,
771+
// causing a timeout, hence disabling them for now.
772+
forceNoChrome = true;
773+
779774
args.push("--noPrompts", "--strictVerify");
780775
}
781776
if (process.argv.includes("--noChrome") || forceNoChrome) {

test/driver.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -609,13 +609,6 @@ class Driver {
609609
return;
610610
}
611611

612-
if (task.noChrome && window?.chrome) {
613-
this._log(`Skipping file "${task.file}" (because on Chrome)\n`);
614-
this.currentTask++;
615-
this._nextTask();
616-
return;
617-
}
618-
619612
this._log('Loading file "' + task.file + '"\n');
620613

621614
try {

test/test_manifest.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10829,8 +10829,7 @@
1082910829
"rounds": 1,
1083010830
"type": "eq",
1083110831
"link": true,
10832-
"talos": false,
10833-
"noChrome": true
10832+
"talos": false
1083410833
},
1083510834
{
1083610835
"id": "issue18956",

0 commit comments

Comments
 (0)