diff --git a/tests/system/shared/project_explorer.py b/tests/system/shared/project_explorer.py index d35aa2dd9f3..2c23ef8c33a 100644 --- a/tests/system/shared/project_explorer.py +++ b/tests/system/shared/project_explorer.py @@ -139,7 +139,7 @@ def getQtInformationForBuildSettings(kitCount, alreadyOnProjectsBuildSettings=Fa qtLibPath = getQtInformationByQMakeCall(qtDir, QtInformation.QT_LIBPATH) qtBinPath = getQtInformationByQMakeCall(qtDir, QtInformation.QT_BINPATH) if afterSwitchTo: - if ViewConstants.WELCOME <= afterSwitchTo <= ViewConstans.LAST_AVAILABLE: + if ViewConstants.WELCOME <= afterSwitchTo <= ViewConstants.LAST_AVAILABLE: switchViewTo(afterSwitchTo) else: test.warning("Don't know where you trying to switch to (%s)" % afterSwitchTo)