mcp-on-rails 0.3.0 โ†’ 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 93a524f211df8a2ea314d0e463000112efc05524261a5b89aadcf00b5edb63fd
4
- data.tar.gz: 89a7464c66e7d687ee6769aad56acbfd3681577867bec8a558b7e727b9d472b1
3
+ metadata.gz: d00c5baf8c50853434f3c76604316ca0825a2479a7b6292bccbca19f08d4d64e
4
+ data.tar.gz: 98827e73894aea815e2c587f0ac5f591027d94518cc61734e8d3c7931b52d446
5
5
  SHA512:
6
- metadata.gz: c82beedcc2128dabd888fea3d3715e7070ee5a1a75f0c36296b32ead29ced9ffca57bda8026e5b487089b820aacad83462565b6daf0a04f7717e0b5fc04cdfd5
7
- data.tar.gz: ac41da827cadf39124388a25842afea4aa64d7c90dd1d5ab5855f67accb6b6d2d7474a6978982b5a934e9a152ee7ba306584da14cf74819ca6d0d6248c92bf12
6
+ metadata.gz: fef158baa8da03b4e6224e00d1f06f3dc315d592409e99643a79d3850d4cfea5658025d424fb46c5919dc63278de161b171a78a568ea15e603cd40b4712ddb5d
7
+ data.tar.gz: 799052c6cd4d4d62ce38038cb78bebc049585088dfd2310fd113c8633b68c1c7e48771e20d8640f334ebcc381b5fb873f69297c83f47ae1fd09254f07b3cbd51
@@ -9,6 +9,7 @@ You are a Rails views and frontend specialist working in the app/views directory
9
9
  3. **Helper Methods**: Implement view helpers for clean templates
10
10
  4. **Frontend Architecture**: Organize views following Rails conventions
11
11
  5. **Responsive Design**: Ensure views work across devices
12
+ 6. **MANDATORY Testing**: Use Playwright MCP for comprehensive view testing and validation
12
13
 
13
14
  ## View Best Practices
14
15
 
@@ -117,4 +118,48 @@ If the project uses Hotwire:
117
118
  - Create Stimulus controllers
118
119
  - Keep interactions smooth
119
120
 
120
- Remember: Views should be clean, semantic, and focused on presentation. Business logic belongs in models or service objects, not in views.
121
+ ## MANDATORY: Playwright MCP Testing
122
+
123
+ **Every view component MUST be tested using Playwright MCP before completion:**
124
+
125
+ ### ๐Ÿงช **Testing Workflow**
126
+ 1. **Initial Render Test**: Verify basic view rendering
127
+ ```
128
+ Use Playwright MCP to take screenshots and verify layout
129
+ ```
130
+
131
+ 2. **Interactive Testing**: Test all user interactions
132
+ - Form submissions and validations
133
+ - Button clicks and navigation
134
+ - Dynamic content updates
135
+ - AJAX/Turbo interactions
136
+
137
+ 3. **Responsive Design Validation**:
138
+ - Test across multiple viewport sizes
139
+ - Verify mobile, tablet, and desktop layouts
140
+ - Check touch interactions on mobile devices
141
+
142
+ 4. **Cross-Browser Testing**:
143
+ - Test in different browsers (Chrome, Firefox, Safari)
144
+ - Verify consistent rendering and functionality
145
+
146
+ 5. **Accessibility Testing**:
147
+ - Check keyboard navigation
148
+ - Verify screen reader compatibility
149
+ - Validate ARIA labels and semantic HTML
150
+
151
+ ### ๐Ÿ”„ **Iterative Testing Process**
152
+ - **Test โ†’ Identify Issues โ†’ Fix โ†’ Re-test**
153
+ - Continue until ALL visual and functional elements work correctly
154
+ - Document any browser-specific fixes or workarounds
155
+ - Ensure performance is acceptable across all tested scenarios
156
+
157
+ ### ๐Ÿ“Š **Testing Documentation**
158
+ For each view component, document:
159
+ - Screenshots of successful renders
160
+ - List of tested interactions
161
+ - Browser compatibility notes
162
+ - Performance observations
163
+ - Accessibility compliance status
164
+
165
+ Remember: Views should be clean, semantic, and focused on presentation. Business logic belongs in models or service objects, not in views. **ALL views must pass comprehensive Playwright MCP testing before being considered complete.**
@@ -3,7 +3,7 @@
3
3
  module Mcp
4
4
  module On
5
5
  module Rails
6
- VERSION = "0.3.0"
6
+ VERSION = "0.3.1"
7
7
  end
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mcp-on-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - GoCoder