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\.")
|
||||
switchViewTo(ViewConstants.PROJECTS)
|
||||
switchToBuildOrRunSettingsFor(currentKit, ProjectSettings.RUN)
|
||||
selectFromCombo(":EnableQMLDebugger_ComboBox", "Enabled" if enableQml else "Disabled")
|
||||
selectFromCombo(":EnableQMLDebugger_ComboBox", "Enable" if enableQml else "Disable")
|
||||
switchViewTo(ViewConstants.EDIT)
|
||||
if not __startDebugger__(currentKit, currentConfigName):
|
||||
return False
|
||||
|
@@ -114,7 +114,7 @@ def main():
|
||||
# make sure QML Debugging is enabled
|
||||
switchViewTo(ViewConstants.PROJECTS)
|
||||
switchToBuildOrRunSettingsFor(Targets.getDefaultKit(), ProjectSettings.RUN)
|
||||
selectFromCombo(":EnableQMLDebugger_ComboBox", "Enabled")
|
||||
selectFromCombo(":EnableQMLDebugger_ComboBox", "Enable")
|
||||
switchViewTo(ViewConstants.EDIT)
|
||||
# start debugging
|
||||
clickButton(fancyDebugButton)
|
||||
|
@@ -35,7 +35,7 @@ def main():
|
||||
return
|
||||
switchViewTo(ViewConstants.PROJECTS)
|
||||
switchToBuildOrRunSettingsFor(Targets.getDefaultKit(), ProjectSettings.RUN)
|
||||
selectFromCombo(":EnableQMLDebugger_ComboBox", "Enabled")
|
||||
selectFromCombo(":EnableQMLDebugger_ComboBox", "Enable")
|
||||
switchViewTo(ViewConstants.EDIT)
|
||||
clickButton(fancyDebugButton)
|
||||
locAndExprTV = waitForObject(":Locals and Expressions_Debugger::Internal::WatchTreeView")
|
||||
|
Reference in New Issue
Block a user