Skip to content

Commit

Permalink
[6.16.z] [6.16] Small Workaround for Manage Columns test for All Host…
Browse files Browse the repository at this point in the history
…s page (#16294)

[6.16] Small Workaround for Manage Columns test for All Hosts page (#16293)

Small workaround for an existing small bug

(cherry picked from commit 16efcea)

Co-authored-by: Samuel Bible <[email protected]>
  • Loading branch information
Satellite-QE and sambible authored Sep 10, 2024
1 parent 2c12da0 commit 90864fa
Showing 1 changed file with 3 additions and 0 deletions.
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

0 comments on commit 90864fa

Please sign in to comment.