Skip to content

Periodic Test of Staging #300

Periodic Test of Staging

Periodic Test of Staging #300

---
name: Periodic Test of Staging
on:
schedule:
- cron: "0 0 * * *"
permissions:
contents: read
jobs:
playwright:
name: RunPlaywrightTests
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- name: Wake up staging deployment (min scaling is set to 0)
run: curl https://staging.iqengine.org
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: 18
- name: Install dependencies
working-directory: e2e
run: npm ci
- name: Install Playwright Browsers
working-directory: e2e
run: npx playwright install --with-deps
- name: Run Playwright tests on Staging
working-directory: e2e
run: |
npx playwright test --config playwright-staging.config.ts