E2e Test

End-to-end testing user flows using browser automation

DongDuong2001 d2240fa 858 B Updated

File contents

End-to-End (E2E) Test Skill

This skill handles full-stack browser and user-journey automation testing.

When to use this skill

  • When verifying critical business flows (e.g., User Signup, Checkout, Payment).
  • When using tools like Playwright, Cypress, or Selenium.
  • When testing the actual deployed frontend against a real environment.

Guidelines

  • High ROI Flows: Only E2E test the most critical user journeys. These tests are slow and brittle.
  • Resilient Selectors: Prefer querying elements by testing-specific data attributes (e.g., data-testid) or ARIA roles rather than fragile CSS classes.
  • Avoid Sleep: Never use hardcoded wait/sleep times. Wait for specific network requests to complete or elements to become visible/interactive.

DongDuong2001/pudo-code-system/tree/main/skills/test/e2e commit d2240fab71

Frequently asked questions

npx skillmds@latest add dongduong2001/e2e-test