File tree Expand file tree Collapse file tree 2 files changed +15
-1
lines changed
Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ RUN set -x \
2222 unzip \
2323 zlib1g-dev \
2424 tigervnc-standalone-server \
25+ xvfb \
2526 && gem install bundler \
2627 && (cd /tmp && curl "http://chromedriver.storage.googleapis.com/2.35/chromedriver_linux64.zip" -o chromedriver_linux64.zip && unzip chromedriver_linux64.zip && rm -f chromedriver_linux64.zip && mv chromedriver /usr/bin/)
2728
Original file line number Diff line number Diff line change @@ -10,6 +10,17 @@ set -e
1010IMAGE_NAME=overview/overview-integration-tester:$OVERVIEW_INTEGRATION_TESTER_VERSION
1111docker image ls -q $IMAGE_NAME > /dev/null || docker pull $IMAGE_NAME
1212
13+ # [adamhooper, 2018-01-23] HEADLESS=true seems to break within_frame()
14+ # sporadically with Chrome 63 and Chromedriver 2.35. The closest report I can
15+ # find is https://github.com/teamcapybara/capybara/issues/1860
16+ #
17+ # Another issue with headless is that it has no folder uploads. Overview treats
18+ # folder uploads specially, including slashes in their filenames, and some
19+ # plugins (e.g., "Folders" plugin) require that test.
20+ #
21+ # If you have any problems with headless, use Xvfb instead. Set
22+ # -e HEADLESS=false. Then, instead of "$@", use:
23+ # xvfb-run --server-args='-screen 0 1200x900x24' "$@"
1324exec docker run --rm -it \
1425 --network ${DEVELOPMENT_PROJECT_NAME} _default \
1526 -e OVERVIEW_URL=http://overview-web \
@@ -19,4 +30,6 @@ exec docker run --rm -it \
1930 -v " $ABSDIR " /helpers:/app/helpers \
2031 -v " $ABSDIR " /reports:/app/reports \
2132 -v " $ABSDIR " /spec:/app/spec \
22- " $IMAGE_NAME " " $@ "
33+ --shmem
34+ " $IMAGE_NAME " \
35+ " $@ "
You can’t perform that action at this time.
0 commit comments