Skip to content

Commit

Permalink
Rework is_displayed logic for contenthost (SatelliteQE#1299)
Browse files Browse the repository at this point in the history
  • Loading branch information
dosas authored and damoore044 committed Jun 22, 2024
1 parent 23f0fe7 commit 5b27bff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion airgun/entities/contenthost.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ def read_all(self, widget_names=None):
def read(self, entity_name, widget_names=None):
"""Read content host details, optionally read only the widgets in widget_names."""
view = self.navigate_to(self, 'Edit', entity_name=entity_name)
view.is_displayed
view.wait_displayed()
self.browser.plugin.ensure_page_safe()
return view.read(widget_names=widget_names)

def read_legacy_ui(self, entity_name, widget_names=None):
Expand Down

0 comments on commit 5b27bff

Please sign in to comment.