Skip to content

Home page automation #90

Home page automation

Home page automation #90

Workflow file for this run

name: Playwright Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: lts/*
- name: Install dependencies
run: npm install -g pnpm && pnpm install
- name: Install Playwright Browsers
run: pnpm exec playwright install --with-deps
- name: Start the development server
run: pnpm run dev &
env:
PORT: 3001
VITE_PARSEABLE_URL: 'https://demo.parseable.com'
VITE_BASIC_AUTH: true
VITE_USERNAME: admin
VITE_PASSWORD: admin
- name: Run Playwright tests
run: pnpm exec playwright test
- uses: actions/upload-artifact@v4
if: ${{ !cancelled() }}
with:
name: playwright-report
path: playwright-report/
retention-days: 1