File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -58,10 +58,12 @@ jobs:
5858 DATABASE_URI : " postgresql+psycopg://postgres:pgs3cr3t@postgres:5432/testdb"
5959
6060 - name : Debug runtime environment
61- run : which firefox; which geckodriver; echo $PATH ; env
61+ run : which firefox; firefox --version; which geckodriver; geckodriver --version ; env
6262
6363 - name : Run Integration Tests
64- run : behave
64+ run : |
65+ behave -v
66+ cat geckodriver.log
6567 env :
6668 DRIVER : " firefox"
6769
Original file line number Diff line number Diff line change @@ -49,6 +49,10 @@ def get_firefox():
4949 print ("Running Behave using the Firefox driver...\n " )
5050 # Set the environment variable for the Selenium WebDriver
5151 os .environ ["SELENIUM_DRIVER" ] = "geckodriver"
52- options = webdriver .FirefoxOptions ()
52+ # options = webdriver.FirefoxOptions()
53+ options = webdriver .firefox .options .Options ()
54+ options .add_argument ("--no-sandbox" )
5355 options .add_argument ("--headless" )
56+ options .add_argument ("--disable-gpu" )
57+ options .add_argument ("--window-size=1280,1300" )
5458 return webdriver .Firefox (options = options )
You can’t perform that action at this time.
0 commit comments