summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRobert Loehning <robert.loehning@digia.com>2014-08-13 15:29:45 +0200
committerRobert Loehning <robert.loehning@digia.com>2014-08-14 11:34:57 +0200
commit7e924191753a72badd07cf7e85bea41740491e79 (patch)
tree6f419f18c8e5f3666c6cbd040508bc86768feee1 /tests
parent4541173535d4a0df240636ab1a0618abc2794569 (diff)
downloadqt-creator-7e924191753a72badd07cf7e85bea41740491e79.tar.gz
Squish: Fix hack for tests opening multiple files
Change-Id: I35ff3e1cf99a8e5f171f0728f05a3b828da78293 Reviewed-by: Christian Stenger <christian.stenger@digia.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/system/shared/utils.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/system/shared/utils.py b/tests/system/shared/utils.py
index 15f53bd04e..b4770e9081 100644
--- a/tests/system/shared/utils.py
+++ b/tests/system/shared/utils.py
@@ -263,6 +263,8 @@ def selectFromFileDialog(fileName, waitForFile=False):
replaceEditorContent(pathLine, fName)
clickButton(waitForObject("{text='Open' type='QPushButton'}"))
except:
+ nativeType("<Ctrl+a>")
+ nativeType("<Delete>")
nativeType(pName + fName)
snooze(1)
nativeType("<Return>")