diff options
author | Robert Loehning <robert.loehning@qt.io> | 2019-02-04 13:54:54 +0100 |
---|---|---|
committer | Robert Loehning <robert.loehning@qt.io> | 2019-02-04 13:37:55 +0000 |
commit | 522a90913a2228f3146133baa44c65484562ed8f (patch) | |
tree | 072b09b751293c0e10ee507bb02f40b1a9a6c77e /tests/system/shared | |
parent | 7dba3f083cad8d2a864c2a41e16cab5ec446dc26 (diff) |
Squish: Add name of FancyTabBar object
Change-Id: I1cbd1af800731e2c9908604ecaa5c0513410e55c
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'tests/system/shared')
-rw-r--r-- | tests/system/shared/project_explorer.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/system/shared/project_explorer.py b/tests/system/shared/project_explorer.py index 3c7ed2535d..60b3af9f20 100644 --- a/tests/system/shared/project_explorer.py +++ b/tests/system/shared/project_explorer.py @@ -30,7 +30,7 @@ def switchViewTo(view): waitFor("not QToolTip.isVisible()", 15000) if view < ViewConstants.FIRST_AVAILABLE or view > ViewConstants.LAST_AVAILABLE: return - tabBar = waitForObject("{type='Core::Internal::FancyTabBar' unnamed='1' visible='1' " + tabBar = waitForObject("{name='ModeSelector' type='Core::Internal::FancyTabBar' visible='1' " "window=':Qt Creator_Core::Internal::MainWindow'}") mouseMove(tabBar, 20, 20 + 52 * view) if waitFor("QToolTip.isVisible()", 10000): @@ -43,7 +43,7 @@ def switchViewTo(view): test.passes("ToolTip verified") else: test.warning("ToolTip does not match", "Expected pattern: %s\nGot: %s" % (pattern, text)) - mouseClick(waitForObject("{type='Core::Internal::FancyTabBar' unnamed='1' visible='1' " + mouseClick(waitForObject("{name='ModeSelector' type='Core::Internal::FancyTabBar' visible='1' " "window=':Qt Creator_Core::Internal::MainWindow'}"), 20, 20 + 52 * view, 0, Qt.LeftButton) def __kitIsActivated__(kit): |