1
0
Fork 0
mirror of https://github.com/elementor/hello-theme.git synced 2026-07-26 12:26:54 +08:00
hello-theme/docs/hello-theme-playwright-happy-path-refactor_12452bce.plan.md
Hein van Vlastuin 9e8b84a881 plan
2026-05-08 11:00:56 +02:00

2 KiB
Raw Permalink Blame History

hello-theme Playwright happy-path refactor plan

Source plan: hello-theme-playwright-happy-path-refactor_12452bce
Scope: themes/hello-theme/.github/workflows

Current implementation status (latest feedback incorporated)

  • Create playwright-with-specific-elementor-version-candidate.yml as rollout candidate.
  • Keep legacy workflow file unchanged.
  • Add test_source input to candidate workflow (workflow_dispatch / workflow_call), default candidate.
  • Prefix workflow artifact names with core-${{ inputs.test_source || 'candidate' }}-... for parity and distinguishability.
  • Add execution mode visibility line in candidate workflow summary.
  • Duplicate daily matrix rows so each core entry runs twice:
    • once via playwright-with-specific-elementor-version.yml with test_source: legacy
    • once via playwright-with-specific-elementor-version-candidate.yml with test_source: candidate
  • Keep + workflows unchanged.
  • Thread test_source through matrix metadata and artifact naming for comparable reports.
  • Run full matrix for both workflow paths (no canary/filtering).

Plan file updates completed

The following plan items were updated as completed in the working plan:

  • duplicate-workflow → completed
  • run-parallel-matrix → completed
  • no-canary-run-all → completed

Remaining work (not yet implemented)

  • extract-input-resolver remains pending.
  • extract-elementor-download remains pending.
  • dedupe-test-setup remains pending.
  • unify-test-run remains pending.
  • validate-and-guard remains pending.
  • extract-runtime bootstrap action remains pending.

Files already changed during rollout wiring

  • themes/hello-theme/.github/workflows/playwright-with-specific-elementor-version-candidate.yml
  • themes/hello-theme/.github/workflows/daily-test-matrix.yml

Proceed to steps 13 from the original plan (resolver scripts + test-run unification) while retaining the current legacy/candidate matrix structure in place.