-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixup! front, scripts: add playwright container for e2e tests
- Loading branch information
Showing
3 changed files
with
19 additions
and
4 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 |
---|---|---|
|
@@ -84,6 +84,7 @@ | |
|
||
# OSRD dev scripts | ||
osrd-dev-scripts | ||
jq | ||
|
||
] | ||
# Section added only on Linux systems | ||
|
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 |
---|---|---|
@@ -1,9 +1,10 @@ | ||
FROM mcr.microsoft.com/playwright:v1.43.1 | ||
ARG PLAYWRIGHT_VERSION=latest | ||
FROM mcr.microsoft.com/playwright:$PLAYWRIGHT_VERSION | ||
|
||
COPY front/package.json front/yarn.lock /app/front/ | ||
WORKDIR /app/front | ||
RUN yarn install --frozen-lockfile | ||
RUN yarn playwright install --with-deps | ||
|
||
COPY front /app/front/ | ||
COPY tests /app/tests | ||
RUN chmod a+w /app/front/ |
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