summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorChristian Stenger <christian.stenger@nokia.com>2012-07-27 10:00:03 +0200
committerChristian Stenger <christian.stenger@nokia.com>2012-07-31 15:36:23 +0200
commit7f962aeb6b93273793e22364940ec90935a3f1c9 (patch)
tree1788363c063c3ea42fe0d4957383469e49a8e00c /tests
parentd0f06357316e947b6fe488adc54222dfee9f1ae6 (diff)
downloadqt-creator-7f962aeb6b93273793e22364940ec90935a3f1c9.tar.gz
Squish: Fix setRunInTerminal for 1-target-projects
This fix just removes the dependency to the scrollArea that exists when there are more than 1 targets but is missing when there's only 1 target available. Change-Id: I02594aa5226f53ffaa5e3693b8075f5ef88c5f88 Reviewed-by: Robert Löhning <robert.loehning@nokia.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/system/shared/project_explorer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/system/shared/project_explorer.py b/tests/system/shared/project_explorer.py
index 02a45e9722..022727b312 100644
--- a/tests/system/shared/project_explorer.py
+++ b/tests/system/shared/project_explorer.py
@@ -114,6 +114,6 @@ def switchToBuildOrRunSettingsFor(targetCount, currentTarget, projectSettings, i
def setRunInTerminal(targetCount, currentTarget, runInTerminal=True):
switchViewTo(ViewConstants.PROJECTS)
switchToBuildOrRunSettingsFor(targetCount, currentTarget, ProjectSettings.RUN)
- ensureChecked("{container=':Qt Creator.scrollArea_QScrollArea' text='Run in terminal'\
+ ensureChecked("{window=':Qt Creator_Core::Internal::MainWindow' text='Run in terminal'\
type='QCheckBox' unnamed='1' visible='1'}", runInTerminal)
switchViewTo(ViewConstants.EDIT)