Skip to content
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

Merged

Conversation

ofedoren
Copy link
Member

@ofedoren ofedoren commented Nov 8, 2024

No description provided.

Copy link
Member

@ekohl ekohl left a 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?

@ofedoren
Copy link
Member Author

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
Copy link
Contributor

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?

Copy link
Member Author

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 :/

Copy link
Contributor

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.

@stejskalleos stejskalleos merged commit 2a8ca9a into theforeman:develop Nov 13, 2024
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants