Skip to content

Dashboard E2E Tests

Dashboard E2E Tests #1

Workflow file for this run

name: Dashboard E2E Tests
on:
schedule:
- cron: '0 8 * * *' # Daily at 8:00 UTC
workflow_dispatch: # Allow manual trigger
jobs:
playwright:
name: Dashboard Tests
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Build package
working-directory: packages/codev
run: pnpm build
- name: Install Playwright browsers
working-directory: packages/codev
run: pnpm exec playwright install chromium
- name: Run Playwright tests
working-directory: packages/codev
env:
TOWER_ARCHITECT_CMD: bash
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: pnpm exec playwright test --retries 3