Skip to content

Commit

Permalink
im losing my mind
Browse files Browse the repository at this point in the history
  • Loading branch information
markphelps committed Dec 25, 2021
1 parent f90a1ab commit 205f984
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
4 changes: 4 additions & 0 deletions Dockerfile.it
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ RUN apt-get update && \

RUN npm install -g yarn

# 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 apt-get clean && \
rm -rf /var/lib/apt/lists/*

Expand Down
7 changes: 0 additions & 7 deletions test/ui.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,6 @@ run()
./test/helpers/wait-for-it/wait-for-it.sh "$flipt_host" -t 30

cd "ui" && yarn install --frozen-lockfile

if [ -n "$CI" ]; then
id -u 1001
# need to install browser and deps for playwright
npx playwright install chromium chrome --with-deps
fi

yarn test
}

Expand Down

0 comments on commit 205f984

Please sign in to comment.