Commit 289689f 1 parent cd9260b commit 289689f Copy full SHA for 289689f
File tree 1 file changed +6
-1
lines changed
test/gui/shared/scripts/pageObjects
1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,6 @@ class Activity:
9
9
TAB_CONTAINER = {
10
10
"container" : names .settings_stack_QStackedWidget ,
11
11
"type" : "QTabWidget" ,
12
- "unnamed" : 1 ,
13
12
"visible" : 1 ,
14
13
}
15
14
SUBTAB_CONTAINER = {
@@ -61,6 +60,12 @@ def getNotSyncedStatus(row):
61
60
def clickTab (tabName ):
62
61
tabFound = False
63
62
63
+ # NOTE: Some activity tabs are not immediately available
64
+ # and the tab index changes after all the tabs are loaded properly
65
+ # So wait for a second to let the UI render the tabs properly
66
+ # before trying to click the tab
67
+ squish .snooze (get_config ("lowestSyncTimeout" ))
68
+
64
69
# Selecting tab by name fails for "Not Synced" when there are no unsynced files
65
70
# Because files count will be appended like "Not Synced (2)"
66
71
# So to overcome this the following approach has been implemented
You can’t perform that action at this time.
0 commit comments