This repository has been archived by the owner on Mar 31, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
7-e2e get the test into a running docker container
- Loading branch information
Showing
2 changed files
with
26 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,14 +15,26 @@ RUN apt-get update && apt-get -y upgrade && apt-get -y autoremove | |
|
||
WORKDIR /e2e | ||
|
||
COPY .babelrc . | ||
|
||
# I think this is needed so the npm intall will get all needed dependencies | ||
COPY package.json . | ||
|
||
RUN npm install --save-dev [email protected] | ||
RUN npm install --save-dev @cypress/[email protected] | ||
RUN npm install --save-dev @cypress/[email protected] | ||
|
||
COPY reporter-config.json /e2e | ||
COPY reporter-config.json . | ||
|
||
# note: if we had a recent git version in here, we could follow https://stackoverflow.com/a/3489576 to check out the revision we need | ||
COPY cypress-git-repo /e2e | ||
#COPY cypress-git-repo /e2e | ||
COPY cypress.json . | ||
COPY src ./src | ||
COPY cypress ./cypress | ||
|
||
# TODO see if we really need the webpack stuff | ||
COPY webpack.config.js . | ||
#RUN npm install --save-dev [email protected] webpack-git-hash | ||
|
||
# The following npm install is needed; without it, running cypress would fail as follows | ||
# -------------- | ||
|
@@ -37,6 +49,7 @@ COPY cypress-git-repo /e2e | |
# -------------- | ||
RUN npm install | ||
|
||
|
||
# thx to https://docs.cypress.io/guides/tooling/reporters.html#Multiple-Reporters | ||
# mocha 6.0.0 and 6.0.1 don't work, thx to https://github.com/cypress-io/cypress/issues/3537 | ||
RUN npm install --save-dev [email protected] [email protected] [email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters