summaryrefslogtreecommitdiff
path: root/tests/system/shared/project.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/system/shared/project.py')
-rw-r--r--tests/system/shared/project.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/system/shared/project.py b/tests/system/shared/project.py
index ac8a7add4a..78ffe84209 100644
--- a/tests/system/shared/project.py
+++ b/tests/system/shared/project.py
@@ -26,6 +26,10 @@ def openQmakeProject(projectPath, targets=QtQuickConstants.Targets.DESKTOP):
selectFromCombo(waitForObject(":Qt Creator.Create Build Configurations:_QComboBox", 180000),
"For Each Qt Version One Debug And One Release")
__chooseTargets__(targets)
+ if targets & QtQuickConstants.Targets.DESKTOP:
+ ensureChecked("{text='Shadow build' type='QCheckBox' unnamed='1' visible='1' "
+ "window=':Qt Creator_Core::Internal::MainWindow'}")
+
configureButton = waitForObject("{text='Configure Project' type='QPushButton' unnamed='1' visible='1'"
"window=':Qt Creator_Core::Internal::MainWindow'}", 20000)
clickButton(configureButton)
@@ -273,7 +277,8 @@ def __chooseTargets__(targets=QtQuickConstants.Targets.DESKTOP, availableTargets
available = availableTargets
else:
# following targets depend on the build environment - added for further/later tests
- available = [QtQuickConstants.Targets.MAEMO5, QtQuickConstants.Targets.EMBEDDED_LINUX,
+ available = [QtQuickConstants.Targets.DESKTOP,
+ QtQuickConstants.Targets.MAEMO5, QtQuickConstants.Targets.EMBEDDED_LINUX,
QtQuickConstants.Targets.SIMULATOR, QtQuickConstants.Targets.HARMATTAN]
if platform.system() in ('Windows', 'Microsoft'):
available += [QtQuickConstants.Targets.SYMBIAN]