Increase test timeout for Chrome on Windows
There is some bug in Chrome 119+ on some systems, where it takes forever for the first readback from a canvas, timing out the first test that does this. Work around the issue by increasing the timeout on that platform until Chrome manages to resolve the issue.
This commit is contained in:
parent
b35cf6dd12
commit
fca48df85d
|
@ -81,5 +81,12 @@ module.exports = (config) => {
|
|||
singleRun: true,
|
||||
};
|
||||
|
||||
if (process.env.TEST_BROWSER_NAME === 'ChromeHeadless') {
|
||||
let os = require('os');
|
||||
if (os.platform() === 'win32') {
|
||||
my_conf.client.mocha['timeout'] = 5000;
|
||||
}
|
||||
}
|
||||
|
||||
config.set(my_conf);
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue