[6.16.z] [6.16] Small Workaround for Manage Columns test for All Hosts page #16294
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Cherrypick of PR: #16293
Problem Statement
There is a small inconsistency seen rarely in local testing, but seemingly consistently in CI where the Manage Columns button is only appearing upon refresh, as opposed to when first navigating to the page.
This would be something that I'd like to get resolved in the future if this issue with the page is resolved.
Solution
This is a somewhat clumsy attempt to fix this issues for testing, as the issue isn't seen locally, so is hard to reproduce. This simply "navigates" to the page, reloads, and then attempts to run the actual test.
Related Issues
#16292
https://issues.redhat.com/browse/SAT-27868 (Bug in question)
PRT
trigger: test-robottelo
pytest: tests/foreman/ui/test_host.py -k 'test_all_hosts_manage_columns'