File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616 "dependencies" : {},
1717 "scripts" : {
1818 "prettier:fix" : " prettier --write app/frontend/**/*.js" ,
19- "lint:fix" : " yarn prettier:fix && yarn stylelint-fix" ,
19+ "lint:fix" : " yarn prettier:fix && yarn stylelint-fix" ,
2020 "stylelint" : " stylelint 'app/frontend/**/*.{scss,css}'" ,
2121 "stylelint-fix" : " stylelint --fix 'app/frontend/**/*.{scss,css}'"
2222 }
Original file line number Diff line number Diff line change @@ -7,12 +7,11 @@ class CapybaraChromeConfig
77 def self . chrome_capabilities ( headless : false )
88 Selenium ::WebDriver ::Chrome ::Options . new . tap do |options |
99 options . add_argument ( '--disable-popup-blocking' )
10+ options . add_argument ( '--disable-dev-shm-usage' )
1011 options . add_argument ( '--window-size=1900,1200' )
11- if headless
12- options . add_argument ( '--headless' )
13- options . add_argument ( '--no-sandbox' )
14- options . add_argument ( '--disable-gpu' )
15- end
12+ options . add_argument ( '--no-sandbox' )
13+ options . add_argument ( '--disable-gpu' )
14+ options . add_argument ( '--headless' ) if headless
1615 end
1716 end
1817end
You can’t perform that action at this time.
0 commit comments