File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
app/selenium_ui/jsm/pages Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -338,9 +338,10 @@ def wait_for_page_loaded(self):
338
338
339
339
def view_random_queue_with_insight (self ):
340
340
self .wait_until_visible (InsightViewQueueLocators .table_container )
341
- if not self .get_elements (InsightViewQueueLocators .navigation ):
341
+ if self .get_elements (InsightViewQueueLocators .all_queues ):
342
342
self .wait_until_visible (InsightViewQueueLocators .view_queue_insight_column )
343
343
else :
344
+ self .wait_until_visible (InsightViewQueueLocators .navigation )
344
345
self .wait_until_visible (InsightViewQueueLocators .view_queue_insight_column_jsm10 )
345
346
346
347
Original file line number Diff line number Diff line change @@ -173,6 +173,7 @@ class InsightNewObjectLocators:
173
173
174
174
175
175
class InsightViewQueueLocators :
176
+ all_queues = (By .XPATH , "//div[@class='aui-nav-heading pinned-nav-title nav-group-items']" )
176
177
view_queue_page = (By .XPATH , "//section[@id='sd-page-panel']" )
177
178
view_queue_insight_column = (By .XPATH , "//span[contains(text(),'Insight')]" )
178
179
table_container = (By .XPATH , "//div[@class='queue-react-table-container']" )
You can’t perform that action at this time.
0 commit comments