mirror of
https://github.com/novnc/noVNC.git
synced 2026-05-26 07:08:06 +00:00
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:
@@ -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);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user