Skip to content

Feat: playwright form test #417

Feat: playwright form test

Feat: playwright form test #417

Workflow file for this run

name: Playwright Tests
on:
push:
branches:
- main
pull_request:
jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [ '20.x' ]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm clean-install --foreground-scripts
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Run Playwright tests
env:
TEST: true
PDE_API_BASEURL: '${{secrets.PDE_API_BASEURL}}'
BREVO_DEAL_PIPELINE: '${{secrets.BREVO_DEAL_PIPELINE}}'
run: |
echo "PDE_API_BASEURL=${{ secrets.PDE_API_BASEURL }}"
npm run e2e
- uses: actions/upload-artifact@v4
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30