summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorChristian Stenger <christian.stenger@qt.io>2022-06-30 08:40:54 +0200
committerChristian Stenger <christian.stenger@qt.io>2022-06-30 08:51:21 +0000
commit450f4abe745210d949c569926372858284f43ef7 (patch)
treedf55800f770f270346f0db5c763effe059b7964e /tests
parentd09081d07cef5b3ab06fe86e2530e13f8d5fed28 (diff)
downloadqt-creator-450f4abe745210d949c569926372858284f43ef7.tar.gz
Squish: Adapt to changed ui
...and modified minimum requirements inside wizards. Change-Id: I32d2dea0dc0ccff273ebf32f5aa713829330eb01 Reviewed-by: Robert Löhning <robert.loehning@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/system/objects.map2
-rw-r--r--tests/system/suite_general/tst_create_proj_wizard/test.py9
2 files changed, 8 insertions, 3 deletions
diff --git a/tests/system/objects.map b/tests/system/objects.map
index 81120f9496..7922cacca2 100644
--- a/tests/system/objects.map
+++ b/tests/system/objects.map
@@ -89,7 +89,7 @@
:JsonWizard_ProjectExplorer::JsonFieldPage {type='ProjectExplorer::JsonFieldPage' unnamed='1' visible='1' window=':New_ProjectExplorer::JsonWizard'}
:Kits_QtVersion_QComboBox {container=':qt_tabwidget_stackedwidget_QWidget' leftWidget=':QtVersionLabel_KitPage' type='QComboBox' unnamed='1' visible='1'}
:Locals and Expressions_Debugger::Internal::WatchTreeView {container=':Debugger.Docks.LocalsAndWatchersDockWidget.Inspector_QFrame' name='WatchWindow' type='Debugger::Internal::WatchTreeView' visible='1'}
-:Minimal required Qt version:_QLabel {text='Minimal required Qt version:' type='QLabel' unnamed='1' visible='1' window=':New_ProjectExplorer::JsonWizard'}
+:Minimal required Qt version:_QLabel {text='Minimum required Qt version:' type='QLabel' unnamed='1' visible='1' window=':New_ProjectExplorer::JsonWizard'}
:New Text File.Add to project:_QLabel {name='projectLabel' text='Add to project:' type='QLabel' visible='1' window=':New_ProjectExplorer::JsonWizard'}
:New Text File.nameLineEdit_Utils::FileNameValidatingLineEdit {name='nameLineEdit' type='Utils::FileNameValidatingLineEdit' visible='1' window=':New_ProjectExplorer::JsonWizard'}
:New.comboBox_QComboBox {name='comboBox' type='QComboBox' visible='1' window=':New_Core::Internal::NewDialog'}
diff --git a/tests/system/suite_general/tst_create_proj_wizard/test.py b/tests/system/suite_general/tst_create_proj_wizard/test.py
index 38550a96af..00bccc8625 100644
--- a/tests/system/suite_general/tst_create_proj_wizard/test.py
+++ b/tests/system/suite_general/tst_create_proj_wizard/test.py
@@ -55,14 +55,19 @@ def main():
# skip non-configurable
if "Import" in category:
continue
+ # FIXME
+ if "Qt for Python" in category:
+ continue
mouseClick(waitForObjectItem(categoriesView, "Projects." + category))
templatesView = waitForObject("{name='templatesView' type='QListView' visible='1'}")
# needed because categoriesView and templatesView using same model
for template in dumpItems(templatesView.model(), templatesView.rootIndex()):
template = template.replace(".", "\\.")
+ # FIXME this needs Qt6.2+
+ if template == "Qt Quick 2 Extension Plugin":
+ continue
# skip non-configurable
- if (template not in ["Qt Quick UI Prototype", "Auto Test Project", "Qt Creator Plugin"]
- and "Qt for Python - " not in template): # FIXME
+ if template not in ["Qt Quick UI Prototype", "Auto Test Project", "Qt Creator Plugin"]:
availableProjectTypes.append({category:template})
safeClickButton("Cancel")
for current in availableProjectTypes: