File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -108,6 +108,7 @@ RUN cd /SeleniumBase && ls && sudo python docker_setup.py install
108
108
# =========================================
109
109
COPY docker/docker-entrypoint.sh /
110
110
COPY docker/run_docker_test_in_firefox.sh /
111
+ COPY docker/run_docker_test_in_chrome.sh /
111
112
COPY docker/run_docker_test_in_phantomjs.sh /
112
113
COPY docker/docker_config.cfg /SeleniumBase/examples/
113
114
ENTRYPOINT ["/docker-entrypoint.sh" ]
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+ set -e
3
+ # Run example test from inside Docker image
4
+ echo " Running example SeleniumBase test from Docker with headless Chrome..."
5
+ cd /SeleniumBase/examples/ && nosetests my_first_test.py --config=docker_config.cfg --browser=chrome
6
+ exec " $@ "
You can’t perform that action at this time.
0 commit comments