Skip to content

chore: add integration test for the create fuels template #13

chore: add integration test for the create fuels template

chore: add integration test for the create fuels template #13

Workflow file for this run

name: Playwright Tests
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build
uses: ./.github/actions/test-setup
with:
node-version: ${{ matrix.env.version || 20 }}
- name: Run Fuel Node
run: (cd templates/nextjs && pnpm run fuels:dev) &
- name: Copy .env.example and create .env.local off it
run: cp templates/nextjs/.env.example templates/nextjs/.env.local
- name: Run Next.js server
run: (cd templates/nextjs && pnpm run dev) &
- name: Install Playwright Browsers
run: pnpm exec playwright install --with-deps
- name: Run Playwright tests
run: pnpm exec playwright test
- uses: actions/upload-artifact@v4
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30