Skip to content
This repository has been archived by the owner on Apr 7, 2022. It is now read-only.

Commit

Permalink
Merge pull request #8194 from izapolsk/wait_tab_fix
Browse files Browse the repository at this point in the history
[1LP][RFR] WaitTab should wait until it is displayed before accessing child widget
  • Loading branch information
izapolsk committed Nov 23, 2018
2 parents 257d0ec + 3df2000 commit 5a421ec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions widgetastic_manageiq/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3690,6 +3690,7 @@ class WaitTab(Tab):
def child_widget_accessed(self, widget):
_to_try = 2
_tries = 0
self.wait_displayed(timeout="5s")
while _tries < _to_try:
_tries += 1
self.select()
Expand Down

0 comments on commit 5a421ec

Please sign in to comment.