E2E Test Scenario Writer

中级testing最低上下文:32K

Writes end-to-end UI tests with Playwright or Cypress that mirror real user journeys. Covers resilient selectors (roles/test-ids), network stubbing, auth setup, fixtures, waiting strategies that avoid flakiness, visual and accessibility assertions, and CI integration. Produces maintainable specs and a page-object structure.

使用场景

  • Writing a Playwright test for a signup-to-checkout journey
  • Replacing flaky waits with resilient strategies
  • Structuring tests with page objects and fixtures
  • Stubbing network calls for deterministic runs
  • Adding accessibility assertions to E2E tests

示例提示词

Write Playwright end-to-end tests for this user journey: sign up, verify email,
add an item to cart, and check out. Include:
1. Resilient selectors and page objects
2. Auth and data fixtures
3. Network stubbing for the payment step
4. Flake-resistant waiting strategies
5. A CI configuration snippet

推荐模型

兼容工具

claude-codecursorkiroany

模态

输入: text, code
输出: text, code

相关 Skills

作者

OpenModels Community

@openmodelsrun