Skip to content

Commit

Permalink
Merge pull request #983 from ckeditor/ck/16825
Browse files Browse the repository at this point in the history
Fix (dev-tests): Added a Chrome flag to prevent displaying the search engine choice screen that disrupts automated tests in windowed mode. Closes ckeditor/ckeditor5#16825.
  • Loading branch information
pomek authored Aug 13, 2024
2 parents d42283d + da6e73c commit 4f7291f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,8 @@ function getFlagsForBrowser( browser ) {
'--disable-background-timer-throttling',
'--js-flags="--expose-gc"',
'--disable-renderer-backgrounding',
'--disable-backgrounding-occluded-windows'
'--disable-backgrounding-occluded-windows',
'--disable-search-engine-choice-screen'
];

if ( browser === 'CHROME_CI' ) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ describe( 'getKarmaConfig()', () => {
'--js-flags="--expose-gc"',
'--disable-renderer-backgrounding',
'--disable-backgrounding-occluded-windows',
'--disable-search-engine-choice-screen',
'--no-sandbox'
] );

Expand All @@ -214,6 +215,7 @@ describe( 'getKarmaConfig()', () => {
'--js-flags="--expose-gc"',
'--disable-renderer-backgrounding',
'--disable-backgrounding-occluded-windows',
'--disable-search-engine-choice-screen',
'--remote-debugging-port=9222'
] );
} );
Expand Down

0 comments on commit 4f7291f

Please sign in to comment.