Fix `hidden_field_tag` Nested Attributes Format For Rails 7 Upgrade and Add Test Coverage by aaronskiba · Pull Request #3479 · DMPRoadmap/roadmap
added 2 commits
February 13, 2025 11:46This adds test coverage for a previously undetected Rails 7 breaking change affecting nested attribute params structure in `hidden_field_tag`
`execute_script('arguments[0].click();', modal_close_button)` works locally, however, the modal seems to be failing to close when the test is run as a GitHub Action.
- Strangely `execute_script('arguments[0].click();', modal_close_button)` works as a GitHub Action when executed for the 'Modal search opens and closes and allows user to search, select and remove items' test within this same file.
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