Skip to content

Commit

Permalink
last attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
markphelps committed Dec 25, 2021
1 parent 205f984 commit dea84e0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
11 changes: 10 additions & 1 deletion Dockerfile.it
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,18 @@ RUN apt-get update && \

RUN npm install -g yarn

# specify location of to be installed browsers
# so that our IT can find them at runtime
ENV PLAYWRIGHT_BROWSERS_PATH=/ms-playwright

RUN mkdir ${PLAYWRIGHT_BROWSERS_PATH}

# need to install browser and deps for playwright
# using this hack because of npm junk: https://github.com/microsoft/playwright/issues/9858#issuecomment-954311179
RUN mkdir /tmp/pwt && cd /tmp/pwt && npm install @playwright/test && npx playwright install chromium --with-deps
RUN mkdir /tmp/pwt && cd /tmp/pwt && \
npm install @playwright/test && \
npx playwright install chromium --with-deps && \
chmod -R 777 /ms-playwright

RUN apt-get clean && \
rm -rf /var/lib/apt/lists/*
Expand Down
2 changes: 1 addition & 1 deletion test/ui.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
set -euxo pipefail
set -euo pipefail

cd "$(dirname "$0")/.." || exit

Expand Down

0 comments on commit dea84e0

Please sign in to comment.