diff --git a/addons/api/testem.js b/addons/api/testem.js index fca63a5fe..25230d2b8 100644 --- a/addons/api/testem.js +++ b/addons/api/testem.js @@ -17,6 +17,12 @@ module.exports = { // --no-sandbox is needed when running Chrome inside a container process.env.CI ? '--no-sandbox' : null, '--headless', + // Disable backgrounding renders for occluded windows + '--disable-backgrounding-occluded-windows', + // Disable renderer process backgrounding + '--disable-renderer-backgrounding', + // Disable task throttling of timer tasks from background pages + '--disable-background-timer-throttling', '--disable-dev-shm-usage', '--disable-gpu', //'--disable-software-rasterizer', diff --git a/addons/auth/testem.js b/addons/auth/testem.js index 7a9dd86c5..89e03073d 100644 --- a/addons/auth/testem.js +++ b/addons/auth/testem.js @@ -17,6 +17,12 @@ module.exports = { // --no-sandbox is needed when running Chrome inside a container process.env.CI ? '--no-sandbox' : null, '--headless', + // Disable backgrounding renders for occluded windows + '--disable-backgrounding-occluded-windows', + // Disable renderer process backgrounding + '--disable-renderer-backgrounding', + // Disable task throttling of timer tasks from background pages + '--disable-background-timer-throttling', '--disable-dev-shm-usage', '--disable-gpu', //'--disable-software-rasterizer', diff --git a/addons/core/testem.js b/addons/core/testem.js index 9c05858ca..792cdd3dd 100644 --- a/addons/core/testem.js +++ b/addons/core/testem.js @@ -17,6 +17,12 @@ module.exports = { // --no-sandbox is needed when running Chrome inside a container process.env.CI ? '--no-sandbox' : null, '--headless', + // Disable backgrounding renders for occluded windows + '--disable-backgrounding-occluded-windows', + // Disable renderer process backgrounding + '--disable-renderer-backgrounding', + // Disable task throttling of timer tasks from background pages + '--disable-background-timer-throttling', '--disable-dev-shm-usage', '--disable-software-rasterizer', '--mute-audio', diff --git a/addons/rose/testem.js b/addons/rose/testem.js index fca63a5fe..25230d2b8 100644 --- a/addons/rose/testem.js +++ b/addons/rose/testem.js @@ -17,6 +17,12 @@ module.exports = { // --no-sandbox is needed when running Chrome inside a container process.env.CI ? '--no-sandbox' : null, '--headless', + // Disable backgrounding renders for occluded windows + '--disable-backgrounding-occluded-windows', + // Disable renderer process backgrounding + '--disable-renderer-backgrounding', + // Disable task throttling of timer tasks from background pages + '--disable-background-timer-throttling', '--disable-dev-shm-usage', '--disable-gpu', //'--disable-software-rasterizer', diff --git a/ui/admin/testem.js b/ui/admin/testem.js index 00bf16832..3ac229155 100644 --- a/ui/admin/testem.js +++ b/ui/admin/testem.js @@ -15,6 +15,12 @@ module.exports = { // --no-sandbox is needed when running Chrome inside a container process.env.CI ? '--no-sandbox' : null, '--headless', + // Disable backgrounding renders for occluded windows + '--disable-backgrounding-occluded-windows', + // Disable renderer process backgrounding + '--disable-renderer-backgrounding', + // Disable task throttling of timer tasks from background pages + '--disable-background-timer-throttling', '--disable-dev-shm-usage', '--disable-gpu', //'--disable-software-rasterizer', diff --git a/ui/desktop/testem-electron.js b/ui/desktop/testem-electron.js index baec24997..6738d7f32 100644 --- a/ui/desktop/testem-electron.js +++ b/ui/desktop/testem-electron.js @@ -19,6 +19,12 @@ module.exports = { // --no-sandbox is needed when running Chrome inside a container process.env.CI ? '--no-sandbox' : null, '--headless', + // Disable backgrounding renders for occluded windows + '--disable-backgrounding-occluded-windows', + // Disable renderer process backgrounding + '--disable-renderer-backgrounding', + // Disable task throttling of timer tasks from background pages + '--disable-background-timer-throttling', '--disable-dev-shm-usage', '--disable-software-rasterizer', '--mute-audio', diff --git a/ui/desktop/testem.js b/ui/desktop/testem.js index e913f40ce..d25c8bcaa 100644 --- a/ui/desktop/testem.js +++ b/ui/desktop/testem.js @@ -17,6 +17,12 @@ module.exports = { // --no-sandbox is needed when running Chrome inside a container process.env.CI ? '--no-sandbox' : null, '--headless', + // Disable backgrounding renders for occluded windows + '--disable-backgrounding-occluded-windows', + // Disable renderer process backgrounding + '--disable-renderer-backgrounding', + // Disable task throttling of timer tasks from background pages + '--disable-background-timer-throttling', '--disable-dev-shm-usage', '--disable-software-rasterizer', '--mute-audio',