Skip to content

Checks AddOnDispatch.required before access #269

Checks AddOnDispatch.required before access

Checks AddOnDispatch.required before access #269

Workflow file for this run

name: Playwright Tests
on:
pull_request:
branches: [master]
env:
URL: "https://deploy-preview-${{ github.event.number }}.muckcloud.com"
PLAYWRIGHT_TEST_BASE_URL: "https://deploy-preview-${{ github.event.number }}.muckcloud.com"
NODE_ENV: staging
jobs:
wait:
runs-on: ubuntu-latest
steps:
- uses: cygnetdigital/[email protected]
with:
url: ${{ env.URL }}
responseCode: "200"
timeout: 120000
interval: 3000
test:
timeout-minutes: 60
runs-on: ubuntu-latest
needs: wait
steps:
- uses: actions/checkout@v4
- name: Use Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: "20.x"
- name: Install dependencies
run: npm ci
- name: Install Playwright
run: npx playwright install --with-deps
- name: Run Playwright tests
run: npx playwright test