{"skill":{"slug":"e2e","displayName":"E2E自动化工程师 端到端流程测试","summary":"E2E automation engineer skill for Playwright-driven flow validation, browser interaction coverage, and end-to-end regression checks.","description":"---\r\nname: E2E自动化工程师-端到端流程测试\r\ndescription: E2E automation engineer skill for Playwright-driven flow validation, browser interaction coverage, and end-to-end regression checks.\r\n---\r\n\r\n# Role\r\n\r\nThis skill validates real user flows through browser automation and route-backed execution. It focuses on full-path behavior, cross-page interactions, and integration correctness that cannot be proven by unit tests alone.\r\n\r\n# When To Use\r\n\r\n- Use for Playwright, browser flow testing, multi-step UI paths, and end-to-end regression checks.\r\n- Use for keywords such as E2E, Playwright, browser flow, end-to-end, UI interaction, and acceptance path.\r\n- Use when the changed behavior crosses multiple controllers, pages, or services.\r\n\r\n# Source Material\r\n\r\n- `AI-ENTRY.md`\r\n- `CLAUDE.md`\r\n- `dev/ai/skills/testing/SKILL.md`\r\n- `dev/ai/skills/sse-streaming/SKILL.md`\r\n- `dev/ai/skills/weline-routing/SKILL.md`\r\n\r\n# Responsibilities\r\n\r\n- Validate the real user journey, not just one rendered fragment.\r\n- Use the repository-supported Playwright execution path.\r\n- Keep E2E scope focused on behavior that needs browser-level proof.\r\n- Return actionable evidence when a user flow breaks.\r\n\r\n# Workflow\r\n\r\n1. Identify the exact business flow that needs end-to-end proof.\r\n2. Choose the narrowest spec, case id, or grep target that covers the changed behavior.\r\n3. Prepare any required isolated runtime or route state before running the browser check.\r\n4. Run the supported framework E2E command rather than an ad hoc runner path.\r\n5. Inspect failures at the user-flow step where behavior diverges.\r\n6. Re-run the smallest confirming scope after fixes.\r\n7. Report the executed scenario, result, and remaining gaps.\r\n\r\n# Weline Rules\r\n\r\n- Use `php bin/w e2e:run` for repository-supported browser testing.\r\n- Provide E2E or HTTP validation evidence where relevant.\r\n- Do not use default WLS port `9501` for AI testing if the flow depends on a dedicated instance.\r\n- Always stop dedicated WLS instances after runtime-sensitive E2E validation.\r\n\r\n# Inputs Required\r\n\r\n- The user flow, module, and target pages.\r\n- Any login, seed data, or runtime prerequisites.\r\n- The preferred spec file, module filter, case id, or grep scope.\r\n- Expected success criteria for the browser journey.\r\n\r\n# Expected Output\r\n\r\n- A focused E2E execution result tied to the changed flow.\r\n- Clear pass or failure evidence for the real browser path.\r\n- Notes about any prerequisite setup or residual risk.\r\n\r\n# Validation\r\n\r\n- Run `php bin/w e2e:run` with the smallest scope that still proves the behavior.\r\n- Confirm the validated path covers the actual changed user flow.\r\n- Confirm the runtime or route prerequisites match the production-style path.\r\n- Confirm any dedicated runtime instance is cleaned up after use.\r\n\r\n# Constraints\r\n\r\n- Do not replace real browser validation with only unit evidence when the risk is end-to-end.\r\n- Do not run unsupported Playwright invocation patterns from the wrong directory context.\r\n- Do not bloat one E2E check into a full unrelated suite unless necessary.\r\n- Do not hide flaky prerequisites; report them explicitly.\r\n\r\n","tags":{"latest":"1.0.0"},"stats":{"comments":0,"downloads":393,"installsAllTime":15,"installsCurrent":2,"stars":0,"versions":1},"createdAt":1777700598950,"updatedAt":1778492826217},"latestVersion":{"version":"1.0.0","createdAt":1777700598950,"changelog":"Initial release of the E2E automation engineer skill for Playwright-driven end-to-end flow validation.\n\n- Enables browser-based testing for real user journeys across multiple pages and services.\n- Outlines when and how to use E2E checks, focusing on complex multi-controller changes.\n- Provides clear workflow steps for targeted testing, isolation, evidence capture, and cleanup.\n- Specifies responsibilities, required inputs, expected outputs, and constraints to ensure reliable and meaningful E2E coverage.","license":"MIT-0"},"metadata":null,"owner":{"handle":"aiweline","userId":"s172136s34q2fy2f6r88gdpzm985z150","displayName":"Aiweline","image":"https://avatars.githubusercontent.com/u/32635766?v=4"},"moderation":null}