forked from qt-creator/qt-creator
Squish: Update tst_codepasting after fix
Change-Id: Iff1c90abf424513941de947ae3e9f994a633d67d Reviewed-by: Christian Stenger <christian.stenger@digia.com>
This commit is contained in:
@@ -50,8 +50,7 @@ def main():
|
|||||||
pasteEditor = waitForObject(":stackedWidget.plainTextEdit_QPlainTextEdit")
|
pasteEditor = waitForObject(":stackedWidget.plainTextEdit_QPlainTextEdit")
|
||||||
test.compare(pasteEditor.plainText, sourceText, "Verify that dialog shows text from the editor")
|
test.compare(pasteEditor.plainText, sourceText, "Verify that dialog shows text from the editor")
|
||||||
description = "Description %s" % datetime.utcnow()
|
description = "Description %s" % datetime.utcnow()
|
||||||
if protocol != "Paste.KDE.Org": # QTCREATORBUG-11065
|
type(waitForObject(":uiDescription_QLineEdit"), description)
|
||||||
type(waitForObject(":uiDescription_QLineEdit"), description)
|
|
||||||
typeLines(pasteEditor, "// tst_codepasting %s" % datetime.utcnow())
|
typeLines(pasteEditor, "// tst_codepasting %s" % datetime.utcnow())
|
||||||
pastedText = pasteEditor.plainText
|
pastedText = pasteEditor.plainText
|
||||||
clickButton(waitForObject(":Send to Codepaster.Paste_QPushButton"))
|
clickButton(waitForObject(":Send to Codepaster.Paste_QPushButton"))
|
||||||
|
Reference in New Issue
Block a user