Repository navigation
Conversation
Playwright config, helpers and per-intake walkthrough scripts that record one captioned demo video per intake. Output goes to the gitignored tests/e2e/test-results/demo/ folder.
Records the settings toggle, the empty template field, the blocked send and the unblocked send on the feature/19814561-settings-require-template build.
Records the Preview email control, the sandboxed preview modal, the save-before-preview rule, a failed preview with retry, and the unavailable state on an already scheduled post.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a Playwright demo recorder under
tests/e2e/demo/. It records one captioned video with a visible cursor of the feature an intake delivered, so QA and clients can watch the feature instead of reading a test report. No model is used while recording.kit.js: caption bar, cursor dot, paced clicks, login helper.playwright.demo.config.js: video on, one worker, output intests/e2e/test-results/demo/<intake>/(already gitignored).check.js:checkconfirms the demo's declared ACs belong to the intake and the build matches;finishwriteswalkthrough.webmand a manifest.e492c759(publication selector),c37d0fc8(test email),c304d230(require template),862095db(email preview, including the Desktop and Mobile views).Nothing outside
tests/e2e/demo/changes. The QA specs and plugin code are untouched, and the demo does not write the QA run'sresults.jsonordashboard.html.How to run
DEMO_SPEC=862095db.demo.js npx playwright test --config tests/e2e/demo/playwright.demo.config.jsCheck out the intake's build first and run
npm run build. Needs the wp-env tests environment on port 8891. Each script targets the build named in its header.Notes
npm run lint:jspasses.