From 38685de8942d35e7fe24cc3b32dfab85392eeac0 Mon Sep 17 00:00:00 2001 From: Robert Loehning Date: Mon, 24 Jun 2019 14:14:24 +0200 Subject: [PATCH] Squish: Update openCmakeProject Change-Id: I17f1a271eafbcff24987fbd7e31dc6cc8c789b84 Reviewed-by: Christian Stenger --- tests/system/shared/project.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/system/shared/project.py b/tests/system/shared/project.py index a52c9e5b79b..a0eea63b82a 100644 --- a/tests/system/shared/project.py +++ b/tests/system/shared/project.py @@ -53,17 +53,17 @@ def openQmakeProject(projectPath, targets=Targets.desktopTargetClasses(), fromWe def openCmakeProject(projectPath, buildDir): def additionalFunction(): - pChooser = waitForObject("{leftWidget={text='Default' type='QCheckBox' unnamed='1' " + pChooser = waitForObject("{leftWidget={text='Debug' type='QCheckBox' unnamed='1' " "visible='1'} type='Utils::PathChooser' unnamed='1' visible='1'}") lineEdit = getChildByClass(pChooser, "Utils::FancyLineEdit") replaceEditorContent(lineEdit, buildDir) - # disable all build configurations except "Default" - configs = ['Debug', 'Release', 'Release with Debug Information', 'Minimum Size Release'] + # disable all build configurations except "Debug" + configs = ['Release', 'Release with Debug Information', 'Minimum Size Release'] for checkbox in configs: ensureChecked(waitForObject("{text='%s' type='QCheckBox' unnamed='1' visible='1' " "window=':Qt Creator_Core::Internal::MainWindow'}" % checkbox), False) - ensureChecked(waitForObject("{text='Default' type='QCheckBox' unnamed='1' visible='1' " + ensureChecked(waitForObject("{text='Debug' type='QCheckBox' unnamed='1' visible='1' " "window=':Qt Creator_Core::Internal::MainWindow'}"), True) invokeMenuItem("File", "Open File or Project...")