Commit 37bbc8a4 authored by Robert Loehning's avatar Robert Loehning
Browse files

Squish: Expect correct path when adding file



Change-Id: I46bf8399ec72a56212b631a6094b180e5da0981f
Reviewed-by: default avatarChristian Stenger <christian.stenger@theqtcompany.com>
parent c5c229b4
......@@ -37,8 +37,8 @@ def addFileToProject(projectPath, category, fileTemplate, fileName):
replaceEditorContent(nameLineEdit, fileName)
pathLineEdit = waitForObject("{type='Utils::FancyLineEdit' unnamed='1' visible='1' "
"toolTip?='Full path: *'}")
if not test.xcompare(pathLineEdit.text, # QTCREATORBUG-13831
projectPath, "Verifying whether path is correct."):
if not test.compare(pathLineEdit.text,
projectPath, "Verifying whether path is correct."):
replaceEditorContent(pathLineEdit, projectPath)
clickButton(waitForObject(":Next_QPushButton"))
projCombo = waitForObject("{buddy={name='projectLabel' text='Add to project:' type='QLabel' "
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment