Skip to content

Commit

Permalink
fix: test CI fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahschwartz committed Oct 11, 2024
1 parent 53e9f1c commit f1db065
Showing 1 changed file with 18 additions and 7 deletions.
25 changes: 18 additions & 7 deletions .github/workflows/playwright.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@ on:

jobs:
test-tutorials:
timeout-minutes: 20
timeout-minutes: 12
runs-on: ubuntu-latest
strategy:
matrix:
tutorial:
- "tests/erc20-paymaster.spec.ts"
- "tests/how-to-test-contracts.spec.ts"
- "tests/daily-spend-limit.spec.ts"
- "tests/signing-txns-with-webauthn.spec.ts"
- "tests/native-aa-multisig.spec.ts"
# - "tests/erc20-paymaster.spec.ts"
# - "tests/how-to-test-contracts.spec.ts"
# - "tests/daily-spend-limit.spec.ts"
# - "tests/signing-txns-with-webauthn.spec.ts"
# - "tests/native-aa-multisig.spec.ts"
- "tests/frontend-paymaster.spec.ts"

steps:
Expand All @@ -27,6 +27,10 @@ jobs:
run: bun playwright install chromium --with-deps
- name: Run Era Test Node
uses: dutterbutter/era-test-node-action@v1
- name: Install xvfb
run: |
sudo apt-get install --no-install-recommends -y \
xvfb
- name: Create Metamask Cache
run: xvfb-run bun setup:mm
- name: Run test for ${{ matrix.tutorial }}
Expand All @@ -35,4 +39,11 @@ jobs:
export COLUMNS=80
export LINES=24
xvfb-run bun test:headful ${{ matrix.tutorial }}
- name: Archive Playwright report
uses: actions/upload-artifact@v3
if: failure()
with:
name: playwright-report-headful
path: |
bridge-ui/playwright-report-headful/
if-no-files-found: error

0 comments on commit f1db065

Please sign in to comment.