Skip to content

Merge pull request #359 from abimbolaalabi/color #262

Merge pull request #359 from abimbolaalabi/color

Merge pull request #359 from abimbolaalabi/color #262

Workflow file for this run

name: Playwright E2E Tests
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
name: Run E2E Tests
runs-on: ubuntu-latest
env:
TEST_WALLET_ADDRESS: "GDEMOXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
TEST_SIGNATURE: "mock-signature"
# --- ADDED MOCK ENV VARS FOR CI ---
SESSION_PASSWORD: "dummy-test-session-password-must-be-32-chars"
SOROBAN_RPC_URL: "https://soroban-testnet.stellar.org"
SOROBAN_NETWORK_PASSPHRASE: "Test SDF Network ; September 2015"
ANCHOR_WEBHOOK_SECRET: "dummy-test-secret"
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install dependencies
run: npm ci
- name: Run Unit Tests
run: npm run test
- name: Install Playwright Browsers
run: npx playwright install --with-deps chromium
- name: Run Playwright tests
run: npm run test:e2e
- name: Upload test results
if: always()
uses: actions/upload-artifact@v4
with:
name: playwright-report
path: playwright-report/
retention-days: 14