File tree 4 files changed +2
-17
lines changed
4 files changed +2
-17
lines changed Original file line number Diff line number Diff line change 39
39
@pytest .yield_fixture (scope = 'function' , autouse = True )
40
40
def en_browser (browser , bdd_server ):
41
41
"""Browser login page from live server."""
42
- browser = Browser ('phantomjs' )
42
+ browser = Browser ()
43
43
en_browser = browser
44
44
en_browser .visit (urljoin (bdd_server .url , '/account/login/' ))
45
45
yield en_browser
46
46
try :
47
- # kill the specific phantomjs child proc
48
47
en_browser .service .process .send_signal (signal .SIGTERM )
49
48
except BaseException :
50
49
pass
Original file line number Diff line number Diff line change @@ -4,4 +4,3 @@ python_classes = *Test
4
4
python_functions = test_*
5
5
pep8maxlinelength = 79
6
6
testpaths = geonode/tests/bdd/e2e/
7
- addopts = --splinter-webdriver =phantomjs
Original file line number Diff line number Diff line change @@ -131,6 +131,7 @@ flake8==3.7.7
131
131
pytest == 4.3.1
132
132
pytest-bdd == 3.1.0
133
133
splinter == 0.10.0
134
+ pytest-splinter == 2.0.1
134
135
pytest-django == 3.4.8
135
136
setuptools == 40.8.0
136
137
Twisted == 18.9.0
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments