This repository was archived by the owner on Oct 29, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +16
-2
lines changed
packages/@glimmer/component Expand file tree Collapse file tree 2 files changed +16
-2
lines changed Original file line number Diff line number Diff line change
1
+ 'use strict' ;
2
+
3
+ const DEFAULT_BROWSER = 'Chrome' ;
4
+ const CI_BROWSER = process . env . CI_BROWSER || DEFAULT_BROWSER ;
5
+
1
6
module . exports = {
2
7
test_page : 'tests/index.html?hidepassed' ,
3
8
disable_watching : true ,
4
- launch_in_ci : [ 'Chrome' ] ,
5
- launch_in_dev : [ 'Chrome' ] ,
9
+ launch_in_ci : [ CI_BROWSER ] ,
10
+ launch_in_dev : [ DEFAULT_BROWSER ] ,
11
+ browser_start_timeout : 120 ,
6
12
browser_args : {
13
+ Firefox : {
14
+ mode : 'ci' ,
15
+ // https://github.com/SeleniumHQ/selenium/pull/6075
16
+ args : [ '-headless' , '--width=1440' , '--height=900' ] ,
17
+ } ,
7
18
Chrome : {
8
19
ci : [
9
20
// --no-sandbox is needed when running Chrome inside a container
10
21
process . env . CI ? '--no-sandbox' : null ,
11
22
'--headless' ,
23
+ '--disable-dev-shm-usage' ,
24
+ '--disable-software-rasterizer' ,
12
25
'--mute-audio' ,
13
26
'--remote-debugging-port=0' ,
14
27
'--window-size=1440,900' ,
Original file line number Diff line number Diff line change 18
18
"browser_args" : {
19
19
"mode" : " ci" ,
20
20
"Chrome" : [
21
+ " --no-sandbox" ,
21
22
" --headless" ,
22
23
" --remote-debugging-port=9222"
23
24
]
You can’t perform that action at this time.
0 commit comments