Skip to content

docs: update & test paymaster frontend tutorial #324

docs: update & test paymaster frontend tutorial

docs: update & test paymaster frontend tutorial #324

Workflow file for this run

name: Playwright Tests
on:
pull_request:
jobs:
test-tutorials:
timeout-minutes: 20
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/frontend-paymaster.spec.ts"
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v1
- name: Install Dependencies
run: bun install --frozen-lockfile
- uses: actions/setup-node@v4
- name: Install Playwright Browsers
run: bun playwright install chromium --with-deps
- name: Run Era Test Node
uses: dutterbutter/era-test-node-action@v1
- name: Create Metamask Cache
run: xvfb-run bun setup:mm
- name: Run test for ${{ matrix.tutorial }}
run: |
export TERM=xterm-256color
export COLUMNS=80
export LINES=24
xvfb-run bun test:headful ${{ matrix.tutorial }}