Skip to content

Commit 67622ab

Browse files
committed
[DWDS] Make TestContext.setUp set the --disable-gpu Chrome option when launching Chrome
1 parent 2406379 commit 67622ab

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

dwds/test/fixtures/context.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -384,6 +384,9 @@ class TestContext {
384384
..addAll({
385385
Capabilities.chromeOptions: {
386386
'args': [
387+
// --disable-gpu speeds up the tests that use ChromeDriver when
388+
// they are run on GitHub Actions.
389+
'--disable-gpu',
387390
'remote-debugging-port=$debugPort',
388391
if (enableDebugExtension)
389392
'--load-extension=debug_extension/prod_build',

0 commit comments

Comments
 (0)