Skip to content

Commit b290fa2

Browse files
committed
e2e: ci tests
1 parent 8732a9a commit b290fa2

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

.github/workflows/test-wallet-playwright.yaml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,16 @@ jobs:
3232
- name: Install dependencies
3333
run: pnpm install --frozen-lockfile
3434

35-
- name: Setup Playwright using official action
36-
uses: microsoft/playwright-github-action@v1
37-
with:
38-
browsers: chromium
35+
- name: Install system dependencies
36+
run: |
37+
sudo apt-get update
38+
sudo apt-get install -y parallel xvfb
39+
40+
- name: Install Playwright browsers with dependencies
41+
run: pnpm exec playwright install --with-deps chromium
3942

4043
- name: Setup virtual display
4144
run: |
42-
sudo apt-get update
43-
sudo apt-get install -y xvfb
4445
export DISPLAY=:99
4546
Xvfb :99 -screen 0 1920x1080x24 > /dev/null 2>&1 &
4647
echo "DISPLAY=:99" >> $GITHUB_ENV
@@ -81,6 +82,7 @@ jobs:
8182
env:
8283
SECRET_WORDS: ${{ secrets.SECRET_WORDS }}
8384
DISPLAY: :99
85+
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: "0"
8486

8587
- uses: actions/upload-artifact@v4
8688
if: always()

0 commit comments

Comments
 (0)