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

Fix menu item integration test #618

Merged
merged 2 commits into from
Jan 24, 2024
Merged

Conversation

ekohl
Copy link
Member

@ekohl ekohl commented Jan 23, 2024

Since Foreman 2.0 there has been a UserMenu service that provides the entire user menu. At some point the UI also changed to retrieve this dynamically rather than include it in the actual HTML. This rewrites the test to use the service, rather than testing the base template indirectly.

Since Foreman 2.0 there has been a UserMenu service that provides the
entire user menu. At some point the UI also changed to retrieve this
dynamically rather than include it in the actual HTML. This rewrites the
test to use the service, rather than testing the base template
indirectly.
@ekohl
Copy link
Member Author

ekohl commented Jan 23, 2024

And I also added a commit that I think fixes the Jenkins tests, just because I want to see everything green now.

The "unit" tests also include system tests.
Copy link
Contributor

@stejskalleos stejskalleos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🍏 Awesome, the CI is green again!
Thanks @ekohl !

@stejskalleos stejskalleos merged commit 248085b into theforeman:develop Jan 24, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants