Commit 2fceaa1b authored by Robert Loehning's avatar Robert Loehning

Squish: Test for wrong manually triggered completion

Task-number: QTCREATORBUG-16607
Change-Id: Ief65726e360db06e6110e19062f37beccc8f8548
Reviewed-by: Christian Stenger's avatarChristian Stenger <christian.stenger@qt.io>
parent d13014ee
......@@ -88,6 +88,15 @@ def main():
except:
test.compare(str(lineUnderCursor(editorWidget)), " " + lineWithFloat,
"Typing a float value does not trigger code completion")
triggerCompletion(editorWidget)
try:
waitForObject(":popupFrame_Proposal_QListView", 5000)
if useClang and JIRA.isBugStillOpen(16607):
test.xfail("User can trigger code completion manually in a float value")
else:
test.fail("User can trigger code completion manually in a float value")
except:
test.passes("User can't trigger code completion manually in a float value")
# Step 5: From "Tools -> Options -> Text Editor -> Completion" select Activate completion Manually,
# uncheck Autocomplete common prefix and press Apply and then Ok . Return to Edit mode.
test.log("Step 5: Change Code Completion settings")
......
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