Conversation
- Update Storybook packages from 9.0.1 to 9.0.6 - Add @storybook/test package for modern interaction testing - Update test-runner to 0.22.1 - Improve simple-server.js error handling and formatting - Update storybook-testing.mdc with modern interaction testing patterns: - Add play functions documentation - Add canvas queries and userEvent patterns - Add step grouping for complex workflows - Adapt examples for react-hook-form + @medusajs/ui context - Update version references and testing workflows This brings medusa-forms in line with the latest Storybook patterns from the forms repository while maintaining compatibility with the Medusa Forms component architecture.
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Join our Discord community for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
|
📝 Storybook Preview: View Storybook This preview will be updated automatically when you push new changes to this PR.
|
Summary
This PR brings the medusa-forms repository in line with the latest Storybook patterns from the forms repository, updating to modern interaction testing capabilities while maintaining compatibility with the Medusa Forms component architecture.
Changes Made
📦 Package Updates
🛠️ Configuration Improvements
📚 Documentation & Rules Updates
🎯 Key Features Added
Testing
✅ Dependencies: All packages install successfully
✅ Build: Storybook builds without errors
✅ Compatibility: Existing stories remain functional
Context
This update mirrors the recent improvements made to the forms repository (PR #97) while adapting the patterns for the medusa-forms context. The changes enable modern interaction testing capabilities while maintaining the existing component architecture using react-hook-form and @medusajs/ui.
Next Steps
After this PR is merged, developers can:
💻 View my work • About Codegen