aboutsummaryrefslogtreecommitdiffstats
path: root/tests/system/shared
diff options
context:
space:
mode:
authorChristian Stenger <christian.stenger@qt.io>2019-11-15 09:02:12 +0100
committerRobert Loehning <robert.loehning@qt.io>2019-11-15 15:48:33 +0000
commita08a5499e930989a4eb8584fb6b4a9232d31d591 (patch)
tree9d9b073722577447181c5f96fda5a55f19a01622 /tests/system/shared
parent65cfdf569921d4b2b70a03feb2005b0078563ac4 (diff)
Squish: Fix expected ui elements and page order
The wizard had been transformed to use the JsonWizard nowadays. Order of wizard pages has slightly changed to be consistent with the rest of the wizards. Change-Id: I841349d3b20dbc03a56a3dc4d15f717d0d21acdb Reviewed-by: Robert Loehning <robert.loehning@qt.io>
Diffstat (limited to 'tests/system/shared')
-rw-r--r--tests/system/shared/project.py12
1 files changed, 5 insertions, 7 deletions
diff --git a/tests/system/shared/project.py b/tests/system/shared/project.py
index fc2f9f887e..471abd8a1e 100644
--- a/tests/system/shared/project.py
+++ b/tests/system/shared/project.py
@@ -321,15 +321,13 @@ def createNewQmlExtension(workingDir, targets=[Targets.DESKTOP_5_6_1_DEFAULT]):
if workingDir == None:
workingDir = tempDir()
__createProjectSetNameAndPath__(workingDir)
- __chooseTargets__(targets, available)
- nextButton = waitForObject(":Next_QPushButton")
- clickButton(nextButton)
- nameLineEd = waitForObject("{buddy={type='QLabel' text='Object class-name:' unnamed='1' visible='1'} "
- "type='QLineEdit' unnamed='1' visible='1'}")
+ nameLineEd = waitForObject("{name='ObjectName' type='Utils::FancyLineEdit' visible='1'}")
replaceEditorContent(nameLineEd, "TestItem")
- uriLineEd = waitForObject("{buddy={type='QLabel' text='URI:' unnamed='1' visible='1'} "
- "type='QLineEdit' unnamed='1' visible='1'}")
+ uriLineEd = waitForObject("{name='Uri' type='Utils::FancyLineEdit' visible='1'}")
replaceEditorContent(uriLineEd, "org.qt-project.test.qmlcomponents")
+ nextButton = waitForObject(":Next_QPushButton")
+ clickButton(nextButton)
+ __chooseTargets__(targets, available)
clickButton(nextButton)
__createProjectHandleLastPage__()