-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixes #37997 - Support Rails 7.0 #644
Fixes #37997 - Support Rails 7.0 #644
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This feels compatible with Rails 6.1, so let's get it merged without it?
da74a6b
to
ea56aac
Compare
Removed the commit for testing with opened PR, ready for merge. |
@@ -42,7 +42,9 @@ class DiscoveredHostsTest < IntegrationTestWithJavascript | |||
page.find_link('Reboot').click | |||
wait_for_ajax | |||
assert page.has_text?('The following hosts are about to be changed') | |||
page.find_button('Submit').click | |||
wait_for do |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the reason to put this particular click action into the wait_for
block?
Other tests have it as well; should we update them as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For some reason some integration tests fail either on timeouts or (like in this case) the app seems to not respond
(with either data or page) in a certain time. Not sure if it's frontend or backend related, but waiting for a bit more helps :/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh yes, the daily joys of maintaining integration tests.
If it helps, +1 from me.
No description provided.