aboutsummaryrefslogtreecommitdiffstats
path: root/tests/system/suite_WELP
diff options
context:
space:
mode:
authorRobert Loehning <robert.loehning@qt.io>2016-10-12 12:48:20 +0200
committerRobert Loehning <robert.loehning@qt.io>2016-10-12 11:02:49 +0000
commitb729d6da7f6e4953aa7230ca340e9a1cc1fdea77 (patch)
tree5a2da04610c958139f86fa3eeb495f9a04c79f1a /tests/system/suite_WELP
parent646b3bd55364f6f5a5052da1f13f668b3fecbff0 (diff)
Squish: Update tst_git_clone
Change-Id: Ie775ae993651b51699ebfedbe6b37c823392435e Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'tests/system/suite_WELP')
-rw-r--r--tests/system/suite_WELP/tst_WELP03/test.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/system/suite_WELP/tst_WELP03/test.py b/tests/system/suite_WELP/tst_WELP03/test.py
index 97e40d3700..8ba0263e0a 100644
--- a/tests/system/suite_WELP/tst_WELP03/test.py
+++ b/tests/system/suite_WELP/tst_WELP03/test.py
@@ -90,8 +90,7 @@ def main():
"Verifying: The example application is opened inside Help.")
sendEvent("QCloseEvent", helpWidget)
# assume the correct kit is selected, hit Configure Project
- clickButton(waitForObject("{text='Configure Project' type='QPushButton' unnamed='1' visible='1'"
- "window=':Qt Creator_Core::Internal::MainWindow'}"))
+ clickButton(waitForObject(":Qt Creator.Configure Project_QPushButton"))
test.verify(checkIfObjectExists("{column='0' container=':Qt Creator_Utils::NavigationTreeView'"
" text='2dpainting' type='QModelIndex'}"),
"Verifying: The project is shown in 'Edit' mode.")
@@ -124,8 +123,7 @@ def main():
"Verifying: The example application is opened inside Help.")
sendEvent("QCloseEvent", helpWidget)
# assume the correct kit is selected, hit Configure Project
- clickButton(waitForObject("{text='Configure Project' type='QPushButton' unnamed='1' visible='1'"
- "window=':Qt Creator_Core::Internal::MainWindow'}"))
+ clickButton(waitForObject(":Qt Creator.Configure Project_QPushButton"))
# close second example application
test.verify(checkIfObjectExists("{column='0' container=':Qt Creator_Utils::NavigationTreeView'"
" text='propertyanimation' type='QModelIndex'}", False) and