Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -328,8 +328,6 @@ jobs:

- name: Install dependencies
working-directory: ./ui
env:
CYPRESS_INSTALL_BINARY: 0 # Skip Cypress binary - not needed for lint/unit tests
run: npm ci

- name: Run lint
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/ui-chromatic.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ jobs:

- name: Install dependencies
working-directory: ./ui
env:
CYPRESS_INSTALL_BINARY: 0
run: npm ci

- name: Build Storybook
Expand Down
54 changes: 54 additions & 0 deletions .github/workflows/ui-playwright.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
name: UI Playwright E2E

# Page-level browser E2E for the UI against a mocked backend.
# Kept separate from CI so the main workflow does not need paths-filter or
# conditional steps. No cluster required — the stub backend is booted by Playwright.

on:
push:
branches: [main, "release/**"]
paths:
- "ui/**"
pull_request:
branches: [main, "release/**"]
paths:
- "ui/**"
workflow_dispatch:

jobs:
playwright:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout repository
uses: actions/checkout@v6

- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version-file: "ui/.nvmrc"
cache: "npm"
cache-dependency-path: ui/package-lock.json

- name: Install dependencies
working-directory: ./ui
run: npm ci

- name: Install Playwright browser
working-directory: ./ui
run: npx playwright install --with-deps chromium

- name: Run Playwright tests
working-directory: ./ui
run: npm run test:pw

- name: Upload Playwright report
if: always()
uses: actions/upload-artifact@v4
with:
name: playwright-report
path: |
ui/playwright-report
ui/playwright/test-results
retention-days: 14
5 changes: 5 additions & 0 deletions ui/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,8 @@ next-env.d.ts

# storybook
/storybook-static

# playwright
/playwright-report
/playwright/test-results
/playwright/.cache
1 change: 0 additions & 1 deletion ui/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ RUN echo "Installing on $BUILDPLATFORM" \

ENV DO_NOT_TRACK=1
ENV NEXT_TELEMETRY_DISABLED=1
ENV CYPRESS_INSTALL_BINARY=0

WORKDIR /app/ui

Expand Down
10 changes: 0 additions & 10 deletions ui/cypress.config.ts

This file was deleted.

73 changes: 0 additions & 73 deletions ui/cypress/e2e/smoke.cy.ts

This file was deleted.

Loading
Loading