From 1f12b3444eb8995b3792dcc946021bfcdf4df586 Mon Sep 17 00:00:00 2001 From: Christian Stenger Date: Wed, 8 Dec 2021 11:32:23 +0100 Subject: [PATCH] Squish: Adapt to removed wizard templates MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I56b0bd7000fdc73cce759ca743da543ecc715453 Reviewed-by: Robert Löhning --- tests/system/suite_general/tst_create_proj_wizard/test.py | 2 +- tests/system/suite_qtquick/tst_qtquick_creation/test.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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 dd1397f3c1e..076a2d7ca61 100644 --- a/tests/system/suite_general/tst_create_proj_wizard/test.py +++ b/tests/system/suite_general/tst_create_proj_wizard/test.py @@ -70,7 +70,7 @@ def main(): template = current.values()[0] with TestSection("Testing project template %s -> %s" % (category, template)): displayedPlatforms = __createProject__(category, template) - if template.startswith("Qt Quick Application - "): + if template == "Qt Quick Application": qtVersionsForQuick = ["5.14"] for counter, qtVersion in enumerate(qtVersionsForQuick): def additionalFunc(displayedPlatforms, qtVersion): diff --git a/tests/system/suite_qtquick/tst_qtquick_creation/test.py b/tests/system/suite_qtquick/tst_qtquick_creation/test.py index a7ff1801d22..370d8357095 100644 --- a/tests/system/suite_qtquick/tst_qtquick_creation/test.py +++ b/tests/system/suite_qtquick/tst_qtquick_creation/test.py @@ -30,8 +30,8 @@ def main(): if not startedWithoutPluginError(): return - available = [("5.14", "Qt Quick Application - Empty", Targets.DESKTOP_5_14_1_DEFAULT), - ("5.14", "Qt Quick Application - Swipe", Targets.DESKTOP_5_14_1_DEFAULT)] + available = [("5.14", "Qt Quick Application", Targets.DESKTOP_5_14_1_DEFAULT), + ] for qtVersion, appTemplate, targ in available: # using a temporary directory won't mess up a potentially existing