Squish: Fix for running inside Jenkins

Change-Id: I443864e41e227e2d5638f668de272c6c7b9a5229
Reviewed-by: Robert Löhning <robert.loehning@nokia.com>
This commit is contained in:
Christian Stenger
2012-02-22 16:30:39 +01:00
committed by Robert Löhning
parent c0b814e879
commit c9999a9382

View File

@@ -19,7 +19,7 @@ def main():
categoriesView = waitForObject("{type='QTreeView' name='templateCategoryView' visible='1'}", 20000)
catModel = categoriesView.model()
projects = catModel.index(0, 0)
test.compare("Projects", projects.data())
test.compare("Projects", str(projects.data()))
comboBox = waitForObject("{name='comboBox' type='QComboBox' visible='1' "
"window=':New_Core::Internal::NewDialog'}")
test.compare(comboBox.currentText, "All templates")