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

[6.16.z] [6.16] Small Workaround for Manage Columns test for All Hosts page #16294

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions tests/foreman/ui/test_host.py
Original file line number Diff line number Diff line change
Expand Up @@ -1231,6 +1231,9 @@ def test_all_hosts_manage_columns(target_sat, new_host_ui):
'Boot time': True,
}
with target_sat.ui_session() as session:
# Small workaround for an existing bug, reloads the page
session.all_hosts.get_displayed_table_headers()
wait_for(lambda: session.browser.refresh(), timeout=5)
session.all_hosts.manage_table_columns(columns)
displayed_columns = session.all_hosts.get_displayed_table_headers()
for column, is_displayed in columns.items():
Expand Down
Loading