Skip to content

Instantly share code, notes, and snippets.

@phuochau
Created April 6, 2026 12:59
Show Gist options
  • Select an option

  • Save phuochau/cb9facefa5e2017f8eabda11d3ad10fa to your computer and use it in GitHub Desktop.

Select an option

Save phuochau/cb9facefa5e2017f8eabda11d3ad10fa to your computer and use it in GitHub Desktop.
E2E agentic workflow
  1. Setup E2E backbone with Playwright framework. The architecture and folder structure should be clean and place inside e2e folder. Respect the claude code rules and current architecture. Use opus model.
  2. List all existing flows, case by case to a document. Likes you write the QA test cases. Each case we should have a status to track. Can break into multiple documents if need. Use sonnet model.
  3. Run both backend and frontend server in background.
  4. Use playwright MCP to run for each case. Use sonnet model.
  5. For each case, please check: logic, UI/UX, data to make sure everything correctly. Use sonnet model.
  6. Correct it if there is any issue. Use opus model.
  7. Write the working case in e2e code. Use sonnet model.
  8. Continue to next case from step 4. Loop until everything clean
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment