Skip to content

Penpot Regression Tests on PRE env (weekly) #72

Penpot Regression Tests on PRE env (weekly)

Penpot Regression Tests on PRE env (weekly) #72

name: Penpot Regression Tests on PRE env
on:
schedule: ## run tests each Thursday at 6:00am UTC
- cron: '00 6 * * 4'
workflow_dispatch:
jobs:
tests_chromium:
environment: PRE
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- name: Install dependencies
run: npm ci
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Run regression tests for chromium
env:
BASE_URL: ${{ secrets.BASE_URL }}
LOGIN_EMAIL: ${{ secrets.LOGIN_EMAIL }}
LOGIN_PWD: ${{ secrets.LOGIN_PWD }}
run: npx playwright test --project=chrome -gv 'PERF'
- name: Upload Playwright Report
uses: actions/upload-artifact@v3
if: always()
with:
name: playwright-report-chromium
path: playwright-report/
retention-days: 30