aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Löhning <robert.loehning@qt.io>2021-08-11 22:28:35 +0200
committerRobert Löhning <robert.loehning@qt.io>2021-08-12 10:19:27 +0000
commite9f53752ee29ff7d52622251b291a1f4e299925d (patch)
tree2330f2ee0872955b7dc7174a6e6a4a0cdd5bc4bd
parent9521d22758d6767c436e18e60240217aa0e82f1f (diff)
Squish: Update tst_codepastingqds/v2.2-beta1
Change-Id: I7929a97dea0a362f07eff46a37d84b65fa546bbc Reviewed-by: Christian Stenger <christian.stenger@qt.io>
-rw-r--r--tests/system/suite_tools/tst_codepasting/test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/system/suite_tools/tst_codepasting/test.py b/tests/system/suite_tools/tst_codepasting/test.py
index 37b9832c3a..76dbb7ca09 100644
--- a/tests/system/suite_tools/tst_codepasting/test.py
+++ b/tests/system/suite_tools/tst_codepasting/test.py
@@ -239,7 +239,7 @@ def main():
clickButton(waitForObject(":*Qt Creator.Clear_QToolButton"))
continue
test.compare(filenameCombo.currentText, "%s: %s" % (protocol, pasteId), "Verify title of editor")
- if protocol in (NAME_DPCOM) and pastedText.endswith("\n"):
+ if protocol in (NAME_DPCOM, NAME_PBCOM) and pastedText.endswith("\n"):
pastedText = pastedText[:-1]
test.compare(editor.plainText, pastedText, "Verify that pasted and fetched texts are the same")