File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -17,13 +17,10 @@ before_install:
1717 - export PATH=$PATH:$PWD/geckodriver
1818
1919env :
20- matrix :
21- - DJANGO=1.8
22- - DJANGO=1.9
23- - DJANGO=1.10
24- - DJANGO=1.11
25- global :
26- - MOZ_HEADLESS=1
20+ - DJANGO=1.8
21+ - DJANGO=1.9
22+ - DJANGO=1.10
23+ - DJANGO=1.11
2724
2825matrix :
2926 fast_finish : true
Original file line number Diff line number Diff line change 88from selenium .webdriver import Firefox
99from selenium .webdriver .common .by import By
1010from selenium .webdriver .common .keys import Keys
11+ from selenium .webdriver .firefox .options import Options
1112from selenium .webdriver .support import expected_conditions as EC
1213from selenium .webdriver .support .ui import WebDriverWait
1314
@@ -65,7 +66,9 @@ def test_extra_attrs(self):
6566
6667class AcceptanceTest (StaticLiveServerTestCase ):
6768 def setUp (self ):
68- self .driver = Firefox ()
69+ options = Options ()
70+ options .add_argument ('-headless' )
71+ self .driver = Firefox (firefox_options = options )
6972
7073 def tearDown (self ):
7174 self .driver .quit ()
You can’t perform that action at this time.
0 commit comments