Conversation
|
🥷 Code experts: kb-typeform kb-typeform has most 👩💻 activity in the files. See details
Activity based on git-commit:
Knowledge based on git-blame: ✨ Comment |
|
Note: SonarCloud is flagging However, this is the existing pattern used throughout this entire workflow for all command inputs ( For consistency, I'm keeping the same approach. If we want to fix this security warning, it should be done in a separate PR that updates all command executions in the workflow, not just the new Playwright visual job. |
8bd417a to
5507a83
Compare
…eploy workflow Add optional Playwright visual regression testing step to the frontend deployment workflow. The new job runs in parallel with other test suites and integrates with VRT service for visual diff tracking. Changes: - Add workflow inputs: run-playwright-visual, playwright-visual-command, playwright-visual-timeout - Add playwright-visual job that uses shared-actions/run-playwright-visual@v1 - Pass VRT configuration (branch name, build ID, API credentials) to the visual test job - Update job numbering in comments (SonarCloud: Job 6→7, Deploy: Job 7→8, Notify: Job 8→9)
5507a83 to
07511c4
Compare
|



Summary
Add support for running Playwright visual regression tests in the
frontend-deploy-workflow, matching the existing functionality already available in thefrontend-pr-workflow.This enables projects using Playwright for visual regression testing (like
admin-home) to run these tests as part of their production release pipeline.Changes
New inputs
run-playwright-visual: Enable/disable Playwright visual tests (default:false)playwright-visual-command: Command to run visual tests (default:'yarn test:visual')playwright-visual-timeout: Test timeout in minutes (default:20)New job
Deploy job updates
playwright-visualto deploy job dependenciesConsistency with PR workflow
This implementation mirrors the existing
playwright-visualjob infrontend-pr-workflow.yml, ensuring consistent behavior across PR checks and production deployments.Test plan