forked from qt-creator/qt-creator
Squish: Temporarily disable testing of Welcome mode
Change-Id: I9d8764d11298094c302ae3c979e3bbc23ec68e20 Reviewed-by: Christian Stenger <christian.stenger@digia.com>
This commit is contained in:
@@ -55,8 +55,7 @@ def clickItemVerifyHelpCombo(qmlItem, expectedHelpComboRegex, testDetails):
|
||||
"Verifying: Getting Started topic is being displayed.")
|
||||
|
||||
def main():
|
||||
if isQt4Build:
|
||||
test.log("Welcome mode is only available if Creator was built on Qt 5")
|
||||
test.log("Welcome mode is not scriptable at the moment")
|
||||
return
|
||||
global webPageContentLoadedValue, gettingStartedText
|
||||
# open Qt Creator
|
||||
|
@@ -31,8 +31,7 @@ source("../../shared/qtcreator.py")
|
||||
source("../../shared/suites_qtta.py")
|
||||
|
||||
def main():
|
||||
if isQt4Build:
|
||||
test.log("Welcome mode is only available if Creator was built on Qt 5")
|
||||
test.log("Welcome mode is not scriptable at the moment")
|
||||
return
|
||||
# prepare example project
|
||||
sourceExample = os.path.join(sdkPath, "Examples", "4.7", "declarative", "animation", "basics",
|
||||
|
@@ -60,8 +60,7 @@ def handlePackagingMessageBoxes():
|
||||
break
|
||||
|
||||
def main():
|
||||
if isQt4Build:
|
||||
test.log("Welcome mode is only available if Creator was built on Qt 5")
|
||||
test.log("Welcome mode is not scriptable at the moment")
|
||||
return
|
||||
global sdkPath, webPageContentLoadedValue
|
||||
# open Qt Creator
|
||||
|
@@ -31,8 +31,7 @@ source("../../shared/qtcreator.py")
|
||||
source("../../shared/suites_qtta.py")
|
||||
|
||||
def main():
|
||||
if isQt4Build:
|
||||
test.log("Welcome mode is only available if Creator was built on Qt 5")
|
||||
test.log("Welcome mode is not scriptable at the moment")
|
||||
return
|
||||
# open Qt Creator
|
||||
startApplication("qtcreator" + SettingsPath)
|
||||
|
@@ -41,8 +41,6 @@ def main():
|
||||
mainWindow = waitForObject(":Qt Creator_Core::Internal::MainWindow")
|
||||
test.verify(waitFor("sessionName in str(mainWindow.windowTitle)", 2000),
|
||||
"Verifying window title contains created session name.")
|
||||
if not isQt4Build:
|
||||
checkWelcomePage(sessionName, True)
|
||||
for project in projects:
|
||||
openQmakeProject(project)
|
||||
progressBarWait(20000)
|
||||
@@ -54,9 +52,6 @@ def main():
|
||||
switchSession("default")
|
||||
test.verify(waitFor("'Qt Creator' == str(mainWindow.windowTitle)", 2000),
|
||||
"Verifying window title is set to default.")
|
||||
if not isQt4Build:
|
||||
checkWelcomePage(sessionName, False)
|
||||
switchViewTo(ViewConstants.EDIT)
|
||||
checkNavigator(1, "Verifying that no more project is opened.")
|
||||
checkOpenDocuments(0, "Verifying whether all files have been closed.")
|
||||
switchSession(sessionName)
|
||||
|
Reference in New Issue
Block a user