forked from qt-creator/qt-creator
Squish: Expect correct path when adding file
Change-Id: I46bf8399ec72a56212b631a6094b180e5da0981f Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
This commit is contained in:
@@ -37,7 +37,7 @@ def addFileToProject(projectPath, category, fileTemplate, fileName):
|
|||||||
replaceEditorContent(nameLineEdit, fileName)
|
replaceEditorContent(nameLineEdit, fileName)
|
||||||
pathLineEdit = waitForObject("{type='Utils::FancyLineEdit' unnamed='1' visible='1' "
|
pathLineEdit = waitForObject("{type='Utils::FancyLineEdit' unnamed='1' visible='1' "
|
||||||
"toolTip?='Full path: *'}")
|
"toolTip?='Full path: *'}")
|
||||||
if not test.xcompare(pathLineEdit.text, # QTCREATORBUG-13831
|
if not test.compare(pathLineEdit.text,
|
||||||
projectPath, "Verifying whether path is correct."):
|
projectPath, "Verifying whether path is correct."):
|
||||||
replaceEditorContent(pathLineEdit, projectPath)
|
replaceEditorContent(pathLineEdit, projectPath)
|
||||||
clickButton(waitForObject(":Next_QPushButton"))
|
clickButton(waitForObject(":Next_QPushButton"))
|
||||||
|
Reference in New Issue
Block a user