File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -261,11 +261,14 @@ func.defaultConfig = {
261261 '--touch-events' ,
262262 '--window-size=' + argv . width + ',' + argv . height ,
263263 isCI ? '--ignore-gpu-blocklist' : '' ,
264- // The following two flags are needed only for the "NoCI" tests which run in GitHub Actions,
265- // since the GPU is not available to those runners and therefore we need to use SwiftShader instead.
264+ // The following three flags are needed only for the "NoCI" tests which run in GitHub Actions.
265+ // The first two are needed because the GPU is not available to those runners,
266+ // and therefore we need to use SwiftShader instead.
267+ // The third flag is needed because the Chrome browser installed by the CI job runner
268+ // fails without it.
266269 isCI && process . env . GITHUB_ACTIONS ? '--use-gl=angle' : '' ,
267270 isCI && process . env . GITHUB_ACTIONS ? '--use-angle=swiftshader' : '' ,
268- isCI ? '--no-sandbox' : '' ,
271+ isCI && process . env . GITHUB_ACTIONS ? '--no-sandbox' : '' ,
269272 isBundleTest && basename ( testFileGlob ) === 'no_webgl' ? '--disable-webgl' : ''
270273 ]
271274 } ,
You can’t perform that action at this time.
0 commit comments