mirror of
https://github.com/elementor/hello-theme.git
synced 2026-07-26 12:26:54 +08:00
2 KiB
2 KiB
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.ymlas rollout candidate. - Keep legacy workflow file unchanged.
- Add
test_sourceinput to candidate workflow (workflow_dispatch/workflow_call), defaultcandidate. - 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.ymlwithtest_source: legacy - once via
playwright-with-specific-elementor-version-candidate.ymlwithtest_source: candidate
- once via
- Keep + workflows unchanged.
- Thread
test_sourcethrough 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→ completedrun-parallel-matrix→ completedno-canary-run-all→ completed
Remaining work (not yet implemented)
extract-input-resolverremains pending.extract-elementor-downloadremains pending.dedupe-test-setupremains pending.unify-test-runremains pending.validate-and-guardremains pending.extract-runtime bootstrap actionremains pending.
Files already changed during rollout wiring
themes/hello-theme/.github/workflows/playwright-with-specific-elementor-version-candidate.ymlthemes/hello-theme/.github/workflows/daily-test-matrix.yml
Next recommended step
Proceed to steps 1–3 from the original plan (resolver scripts + test-run unification) while retaining the current legacy/candidate matrix structure in place.