diff options
author | Christian Stenger <christian.stenger@digia.com> | 2013-06-18 10:14:40 +0200 |
---|---|---|
committer | Christian Stenger <christian.stenger@digia.com> | 2013-06-18 13:13:50 +0200 |
commit | 94987b2f5b5f65514d275a309d0722bb04ccbe29 (patch) | |
tree | a4e7e3c7cfb81fd7fc2055bfadbbd16e3fe88012 /tests/system | |
parent | 88e727922ecd12a88774e9b4f3cbc2fb2a38baab (diff) | |
download | qt-creator-94987b2f5b5f65514d275a309d0722bb04ccbe29.tar.gz |
Squish: Another snooze() for selectFromFileDialog()
Change-Id: Ibc24c27a8e69ba7eb039618ea416b2e84da6e617
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
Diffstat (limited to 'tests/system')
-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 e10d1b3012..d049674a33 100644 --- a/tests/system/shared/utils.py +++ b/tests/system/shared/utils.py @@ -276,6 +276,7 @@ def selectFromFileDialog(fileName, waitForFile=False): pName = os.path.dirname(os.path.abspath(fileName)) + os.sep waitForObject("{name='QFileDialog' type='QFileDialog' visible='1'}") pathLine = waitForObject("{name='fileNameEdit' type='QLineEdit' visible='1'}") + snooze(1) replaceEditorContent(pathLine, pName) clickButton(waitForObject("{text='Open' type='QPushButton'}")) waitFor("str(pathLine.text)==''") |