Skip to content

Commit

Permalink
Add wait_for
Browse files Browse the repository at this point in the history
  • Loading branch information
LadislavVasina1 authored and pondrejk committed Feb 15, 2024
1 parent 8d6120c commit 6b732ea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions airgun/entities/host.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ def change_content_source(
view = self._select_action('Change Content Source', entities_list)
view.wait_displayed()
self.browser.plugin.ensure_page_safe()
wait_for(lambda: view.content_source_select.is_displayed, timeout=10, delay=1)
view.content_source_select.fill(content_source)
wait_for(lambda: view.lce_env_title.is_displayed, timeout=10, delay=1)
# click on the specific LCE radio button
Expand Down

0 comments on commit 6b732ea

Please sign in to comment.