Skip to content

Commit 4f7291f

Browse files
authored
Merge pull request #983 from ckeditor/ck/16825
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.
2 parents d42283d + da6e73c commit 4f7291f

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

packages/ckeditor5-dev-tests/lib/utils/automated-tests/getkarmaconfig.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,8 @@ function getFlagsForBrowser( browser ) {
226226
'--disable-background-timer-throttling',
227227
'--js-flags="--expose-gc"',
228228
'--disable-renderer-backgrounding',
229-
'--disable-backgrounding-occluded-windows'
229+
'--disable-backgrounding-occluded-windows',
230+
'--disable-search-engine-choice-screen'
230231
];
231232

232233
if ( browser === 'CHROME_CI' ) {

packages/ckeditor5-dev-tests/tests/utils/automated-tests/getkarmaconfig.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,7 @@ describe( 'getKarmaConfig()', () => {
204204
'--js-flags="--expose-gc"',
205205
'--disable-renderer-backgrounding',
206206
'--disable-backgrounding-occluded-windows',
207+
'--disable-search-engine-choice-screen',
207208
'--no-sandbox'
208209
] );
209210

@@ -214,6 +215,7 @@ describe( 'getKarmaConfig()', () => {
214215
'--js-flags="--expose-gc"',
215216
'--disable-renderer-backgrounding',
216217
'--disable-backgrounding-occluded-windows',
218+
'--disable-search-engine-choice-screen',
217219
'--remote-debugging-port=9222'
218220
] );
219221
} );

0 commit comments

Comments
 (0)