feat(skills): add component-testing agent skill#41738
Open
pavelfeldman wants to merge 2 commits into
Open
Conversation
Adds a playwright-component-testing skill shipped in the playwright package, replacing @playwright/experimental-ct-* with plain e2e tests against a story gallery: stories colocated with components, a gallery page served by the app's dev server, and a `mount(storyId)` fixture returning a locator. Installed via `npx playwright init-skills`. Skill templates live in top-level packages/skills, outside of package sources, so they need no check-deps exception; they are copied into playwright/lib/skills at build time. Includes React and Vue templates, a migration guide, and two example projects under tests/components that instantiate the templates byte-for-byte (enforced by a sync test).
Removed deprecation warning for Playwright component testing.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Contributor
Test results for "tests 1"8 flaky49516 passed, 1161 skipped Merge workflow run. |
Contributor
Test results for "MCP"2 failed 7758 passed, 1249 skipped Merge workflow run. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
playwright-component-testingskill shipped in theplaywrightpackage, replacing@playwright/experimental-ct-*with plain e2e tests against a story gallery: stories colocated with components, a gallery page served by the app's dev server, and amount(storyId)fixture returning a locator. Installed vianpx playwright init-skills.packages/skills, copied intoplaywright/lib/skillsat build time.tests/componentsthat instantiate the templates byte-for-byte (enforced by a sync test).