[Libreoffice-commits] core.git: sw/qa
Xisco Fauli (via logerrit)
logerrit at kemper.freedesktop.org
Wed Dec 23 20:17:56 UTC 2020
sw/qa/uitest/writer_tests4/tdf136578.py | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit 8652f3cd55e3baa40a28d0d50b710b9bde7acc04
Author: Xisco Fauli <xiscofauli at libreoffice.org>
AuthorDate: Wed Dec 23 20:06:16 2020 +0100
Commit: Xisco Fauli <xiscofauli at libreoffice.org>
CommitDate: Wed Dec 23 21:17:08 2020 +0100
uitest: check undo works when deleting a pagebreak
Change-Id: I197a04a889ba24e21143414da50145891566ea94
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108243
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli at libreoffice.org>
diff --git a/sw/qa/uitest/writer_tests4/tdf136578.py b/sw/qa/uitest/writer_tests4/tdf136578.py
index ae609f30becb..2ed8ff039bed 100644
--- a/sw/qa/uitest/writer_tests4/tdf136578.py
+++ b/sw/qa/uitest/writer_tests4/tdf136578.py
@@ -33,6 +33,10 @@ class tdf136578(UITestCase):
# AssertionError: 1 != 2
self.assertEqual(document.CurrentController.PageCount, 1)
+ self.xUITest.executeCommand(".uno:Undo")
+
+ self.assertEqual(document.CurrentController.PageCount, 2)
+
self.ui_test.close_doc()
# vim: set shiftwidth=4 softtabstop=4 expandtab:
More information about the Libreoffice-commits
mailing list