Skip to content

feat: keep WAF visual and expression editors in sync #326

feat: keep WAF visual and expression editors in sync

feat: keep WAF visual and expression editors in sync #326

Workflow file for this run

name: Test
on:
push:
pull_request:
jobs:
e2e:
runs-on: self-hosted
name: Playwright
timeout-minutes: 20
env:
PLAYWRIGHT_USE_BUILD: 'true'
steps:
- uses: actions/checkout@v4
- uses: asdf-vm/actions/install@v4
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Build app (adapter-node)
run: bun run build
- name: Cache Playwright browsers
id: playwright-cache
uses: actions/cache@v4
with:
path: ~/.cache/ms-playwright
key: playwright-${{ runner.os }}-${{ hashFiles('bun.lock') }}
restore-keys: |
playwright-${{ runner.os }}-
- name: Install Playwright browsers
run: bunx playwright install --with-deps chromium
- name: Run Playwright tests
run: bun run test
env:
CI: 'true'
- name: Upload Playwright report
if: ${{ !cancelled() }}
uses: actions/upload-artifact@v4
with:
name: playwright-report
path: playwright-report/
retention-days: 7
- name: Upload Playwright traces on failure
if: ${{ failure() }}
uses: actions/upload-artifact@v4
with:
name: playwright-traces
path: test-results/
retention-days: 7