Update Docker tests to use --headless

This commit is contained in:
Michael Mintz 2016-01-20 13:46:17 -05:00
parent 7638877a7e
commit acfa70b708
2 changed files with 2 additions and 2 deletions

View File

@ -2,5 +2,5 @@
set -e
# Run example test from inside Docker image
echo "Running example SeleniumBase test from Docker with headless Chrome..."
cd /SeleniumBase/examples/ && nosetests my_first_test.py --config=docker_config.cfg --browser=chrome
cd /SeleniumBase/examples/ && nosetests my_first_test.py --config=docker_config.cfg --browser=chrome --headless
exec "$@"

View File

@ -2,5 +2,5 @@
set -e
# Run example test from inside Docker image
echo "Running example SeleniumBase test from Docker with headless Firefox..."
cd /SeleniumBase/examples/ && nosetests my_first_test.py --config=docker_config.cfg --browser=firefox
cd /SeleniumBase/examples/ && nosetests my_first_test.py --config=docker_config.cfg --browser=firefox --headless
exec "$@"