diff options
author | Christian Stenger <christian.stenger@qt.io> | 2016-05-24 13:45:55 +0200 |
---|---|---|
committer | Christian Stenger <christian.stenger@qt.io> | 2016-05-25 04:41:31 +0000 |
commit | 0aff733a910e5a9ad2af795e15c5f55c693fb0c0 (patch) | |
tree | f422a8db6e487a49160a1a387d62790fbb28f6c0 | |
parent | fbc82d3f88a736710474a95614767646a24077b2 (diff) | |
download | qt-creator-0aff733a910e5a9ad2af795e15c5f55c693fb0c0.tar.gz |
Squish: Stabilize clickOnTab() on OSX
Change-Id: I984a6a2012668e0b0095b2118b9d7001c7cda616
Reviewed-by: Robert Loehning <robert.loehning@qt.io>
-rw-r--r-- | tests/system/shared/utils.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/system/shared/utils.py b/tests/system/shared/utils.py index 476fee3519..1bd1ac457c 100644 --- a/tests/system/shared/utils.py +++ b/tests/system/shared/utils.py @@ -600,6 +600,7 @@ def clickOnTab(tabBarStr, tabText, timeout=5000): if platform.system() == 'Darwin' and not tabBar.visible: test.log("Using workaround for Mac.") setWindowState(tabBar, WindowState.Normal) + tabBar = waitForObject(tabBarStr, 2000) clickTab(tabBar, tabText) waitFor("str(tabBar.tabText(tabBar.currentIndex)) == '%s'" % tabText, timeout) |