diff --git a/.github/workflows/playwright.yaml b/.github/workflows/playwright.yaml index 4ddac1e9..7cfd6c01 100644 --- a/.github/workflows/playwright.yaml +++ b/.github/workflows/playwright.yaml @@ -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: @@ -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 }} @@ -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 \ No newline at end of file