Skip to content

Commit

Permalink
wait for task details to appear (#1555) (#1559)
Browse files Browse the repository at this point in the history
  • Loading branch information
Satellite-QE authored Sep 12, 2024
1 parent 8ed2938 commit 8e0ce8d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions airgun/entities/task.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import time

from airgun.entities.base import BaseEntity
from airgun.navigation import NavigateStep, navigator
from airgun.utils import retry_navigation
Expand All @@ -22,6 +24,7 @@ def read_all(self, widget_names=None):
def read(self, entity_name, widget_names=None):
"""Read specific task values from details page"""
view = self.navigate_to(self, 'Details', entity_name=entity_name)
time.sleep(3)
return view.read(widget_names=widget_names)

def set_chart_filter(self, chart_name, index=None):
Expand Down

0 comments on commit 8e0ce8d

Please sign in to comment.