forked from qt-creator/qt-creator
Squish: Remove outdated workaround from tst_codepasting
Change-Id: I62d236ad691c878a324a307d3e9b1ce6c183966a Reviewed-by: Christian Stenger <christian.stenger@digia.com>
This commit is contained in:
@@ -77,8 +77,6 @@ def main():
|
||||
clickButton(waitForObject(":CodePaster__Internal__PasteSelectDialog.OK_QPushButton"))
|
||||
filenameCombo = waitForObject(":Qt Creator_FilenameQComboBox")
|
||||
waitFor("not filenameCombo.currentText.isEmpty()", 20000)
|
||||
if protocol == "Pastebin.Com":
|
||||
protocol = "Pastebin.com"
|
||||
editor = waitForObject(":Qt Creator_CppEditor::Internal::CPPEditorWidget")
|
||||
test.compare(filenameCombo.currentText, "%s: %s" % (protocol, pasteId), "Verify title of editor")
|
||||
test.compare(editor.plainText, pastedText, "Verify that pasted and fetched texts are the same")
|
||||
|
||||
Reference in New Issue
Block a user