forked from zaclys/searxng
.travis.yml: robot tests: remove the xvfb dependency
This commit is contained in:
parent
fbe40001d3
commit
609ac5795a
|
@ -9,9 +9,6 @@ cache:
|
||||||
addons:
|
addons:
|
||||||
firefox: "latest"
|
firefox: "latest"
|
||||||
|
|
||||||
before_install:
|
|
||||||
- "export DISPLAY=:99.0"
|
|
||||||
- "sh -e /etc/init.d/xvfb start"
|
|
||||||
install:
|
install:
|
||||||
- ./manage.sh install_geckodriver ~/drivers
|
- ./manage.sh install_geckodriver ~/drivers
|
||||||
- export PATH=~/drivers:$PATH
|
- export PATH=~/drivers:$PATH
|
||||||
|
|
|
@ -71,7 +71,7 @@ class SearxRobotLayer():
|
||||||
def run_robot_tests(tests):
|
def run_robot_tests(tests):
|
||||||
print('Running {0} tests'.format(len(tests)))
|
print('Running {0} tests'.format(len(tests)))
|
||||||
for test in tests:
|
for test in tests:
|
||||||
with Browser() as browser:
|
with Browser('firefox', headless=True) as browser:
|
||||||
test(browser)
|
test(browser)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue