Open
Description
Steps to reproduce
- Create a rails 7.1 application with ruby 3.2.2
- Setup Rspec/Capybara/Cuprite Defaults
- add capybara-screenshot
- Install latest version of react-rails gem and create a component in a view
- Test that the component renders an h1 tag with the help of capybara
Expected behavior
The component renders and is accessible to cuprite/capybara finders
Actual behavior
The html for cuprite shows that the component is on the page, but when you look at the photo from capybara screen shot. No component has rendered
System configuration
- Shakapacker or Sprockets version: sprockets 4.2.1
- React-Rails version: 3.2.0
- Rect_UJS version:
- Rails version: 7.1.2
- Ruby version: 3.2.2
-Webpacker (old version): 5.4.4
(Describe your issue here)
Cuprite is struggling with rendering the react component for react-rails with rails 7.1 and ruby 3.2.2. I've done an assets precompile for the test env and no issues came up.
Metadata
Metadata
Assignees
Labels
No labels