[Libreoffice-commits] core.git: sc/qa
Xisco Fauli (via logerrit)
logerrit at kemper.freedesktop.org
Tue Mar 16 11:11:07 UTC 2021
sc/qa/uitest/calc_tests3/tdf79983.py | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
New commits:
commit bada1d6abac201e28d470d1c4e18ab77672fdf01
Author: Xisco Fauli <xiscofauli at libreoffice.org>
AuthorDate: Tue Mar 16 10:31:45 2021 +0100
Commit: Xisco Fauli <xiscofauli at libreoffice.org>
CommitDate: Tue Mar 16 12:10:23 2021 +0100
uitest: sc: assert text in entries
Change-Id: Iabb83856f3362efd23408688b239637729fc48e0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112564
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli at libreoffice.org>
diff --git a/sc/qa/uitest/calc_tests3/tdf79983.py b/sc/qa/uitest/calc_tests3/tdf79983.py
index f4afc77eaf26..f674897c8b14 100644
--- a/sc/qa/uitest/calc_tests3/tdf79983.py
+++ b/sc/qa/uitest/calc_tests3/tdf79983.py
@@ -6,11 +6,10 @@
#
from uitest.framework import UITestCase
from uitest.uihelper.common import get_state_as_dict
-from uitest.uihelper.common import select_pos
from uitest.uihelper.calc import enter_text_to_cell
from libreoffice.calc.document import get_cell_by_position
from libreoffice.uno.propertyvalue import mkPropertyValues
-from uitest.debug import sleep
+
#Bug 79983 - Calc sort lists aren't case sensitive
class tdf79983(UITestCase):
@@ -38,6 +37,9 @@ class tdf79983(UITestCase):
#copy new list from selected cells
xcopy = xDialogOpt.getChild("copy")
xcopy.executeAction("CLICK", tuple())
+
+ self.assertEqual("AAA\nBBB\nCCC\nDDD", get_state_as_dict(xDialogOpt.getChild("entries"))['Text'])
+
xOKBtn = xDialogOpt.getChild("ok")
self.ui_test.close_dialog_through_button(xOKBtn)
More information about the Libreoffice-commits
mailing list