Start Playwright E2E test development loop
Runs iterative Playwright E2E test development loop to cover user flows
/plugin marketplace add SomtoUgeh/somto-dev-toolkit/plugin install somto-dev-toolkit@somto-dev-toolkitPROMPT [--max-iterations N] [--test-command 'cmd'] [--completion-promise 'text']Execute the setup script to initialize the E2E test loop:
"${CLAUDE_PLUGIN_ROOT}/scripts/setup-e2e-loop.sh" $ARGUMENTS
You are now in a Playwright E2E test development loop.
Please work on the task. When you try to exit, the E2E test loop will feed the same PROMPT back to you for the next iteration. You'll see your previous work in files and git history, allowing you to iterate and improve.
Each iteration, you must:
*.e2e.page.ts) if needed for that flow*.e2e.ts) that validates the flowtest(e2e): <describe the user flow>.claude/e2e-progress.txt*.e2e.page.ts - Page objects (locators, setup, actions)*.e2e.ts - Test files (concise tests using page objects)Treat ALL code as production code. No shortcuts, no "good enough for now". Every line you write will be maintained, extended, and debugged by others. Fight entropy.
.claude/e2e-progress.txt after each successful test run.When all critical user flows are covered with E2E tests, output:
<promise>E2E COMPLETE</promise>
IMPORTANT: If a completion promise is set, you may ONLY output it when the statement is completely and unequivocally TRUE. Do not output false promises to escape the loop, even if you think you're stuck or should exit for other reasons. The loop is designed to continue until genuine completion.