forked from qt-creator/qt-creator
SquishTests: Adapt combo box values
Change-Id: I4ca2cf10ff1fe1c6fde2835f04d954527232b658 Reviewed-by: Robert Löhning <robert.loehning@qt.io>
This commit is contained in:
@@ -126,7 +126,7 @@ def doSimpleDebugging(currentKit, currentConfigName, expectedBPOrder=[], enableQ
|
|||||||
expectedLabelTexts.append("Running\.")
|
expectedLabelTexts.append("Running\.")
|
||||||
switchViewTo(ViewConstants.PROJECTS)
|
switchViewTo(ViewConstants.PROJECTS)
|
||||||
switchToBuildOrRunSettingsFor(currentKit, ProjectSettings.RUN)
|
switchToBuildOrRunSettingsFor(currentKit, ProjectSettings.RUN)
|
||||||
selectFromCombo(":EnableQMLDebugger_ComboBox", "Enabled" if enableQml else "Disabled")
|
selectFromCombo(":EnableQMLDebugger_ComboBox", "Enable" if enableQml else "Disable")
|
||||||
switchViewTo(ViewConstants.EDIT)
|
switchViewTo(ViewConstants.EDIT)
|
||||||
if not __startDebugger__(currentKit, currentConfigName):
|
if not __startDebugger__(currentKit, currentConfigName):
|
||||||
return False
|
return False
|
||||||
|
@@ -114,7 +114,7 @@ def main():
|
|||||||
# make sure QML Debugging is enabled
|
# make sure QML Debugging is enabled
|
||||||
switchViewTo(ViewConstants.PROJECTS)
|
switchViewTo(ViewConstants.PROJECTS)
|
||||||
switchToBuildOrRunSettingsFor(Targets.getDefaultKit(), ProjectSettings.RUN)
|
switchToBuildOrRunSettingsFor(Targets.getDefaultKit(), ProjectSettings.RUN)
|
||||||
selectFromCombo(":EnableQMLDebugger_ComboBox", "Enabled")
|
selectFromCombo(":EnableQMLDebugger_ComboBox", "Enable")
|
||||||
switchViewTo(ViewConstants.EDIT)
|
switchViewTo(ViewConstants.EDIT)
|
||||||
# start debugging
|
# start debugging
|
||||||
clickButton(fancyDebugButton)
|
clickButton(fancyDebugButton)
|
||||||
|
@@ -35,7 +35,7 @@ def main():
|
|||||||
return
|
return
|
||||||
switchViewTo(ViewConstants.PROJECTS)
|
switchViewTo(ViewConstants.PROJECTS)
|
||||||
switchToBuildOrRunSettingsFor(Targets.getDefaultKit(), ProjectSettings.RUN)
|
switchToBuildOrRunSettingsFor(Targets.getDefaultKit(), ProjectSettings.RUN)
|
||||||
selectFromCombo(":EnableQMLDebugger_ComboBox", "Enabled")
|
selectFromCombo(":EnableQMLDebugger_ComboBox", "Enable")
|
||||||
switchViewTo(ViewConstants.EDIT)
|
switchViewTo(ViewConstants.EDIT)
|
||||||
clickButton(fancyDebugButton)
|
clickButton(fancyDebugButton)
|
||||||
locAndExprTV = waitForObject(":Locals and Expressions_Debugger::Internal::WatchTreeView")
|
locAndExprTV = waitForObject(":Locals and Expressions_Debugger::Internal::WatchTreeView")
|
||||||
|
Reference in New Issue
Block a user