Commit 9d978800 authored by Robert Loehning's avatar Robert Loehning
Browse files

Squish: Trying to stabilize tst_CSUP04 on Mac



Looking at the screenshots, fails might be timing issues.

Change-Id: Ia17b766e332370b3392161d79c774d94f3c1b790
Reviewed-by: default avatarChristian Stenger <christian.stenger@digia.com>
parent 8d563e7b
......@@ -324,7 +324,10 @@ def validateSearchResult(expectedCount):
rect = resultTreeView.visualRect(chIndex)
doubleClick(resultTreeView, rect.x+5, rect.y+5, 0, Qt.LeftButton)
editor = getEditorForFileSuffix(itemText)
waitFor("lineUnderCursor(editor) == text", 2000)
timeout = 2000
if platform.system() == "Darwin":
timeout *= 2
waitFor("lineUnderCursor(editor) == text", timeout)
test.compare(lineUnderCursor(editor), text)
# this function invokes context menu and command from it
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment