summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorXisco Fauli <xiscofauli@libreoffice.org>2024-07-10 13:00:14 +0200
committerXisco Fauli <xiscofauli@libreoffice.org>2024-07-10 15:39:06 +0200
commitff55c7d386a8dca90bc6e4b15cf4fd3506b7190c (patch)
treed6fa6481a65e5044eccdb06704fedca08623480d /sw
parent3374417097edcee8c8951fd1df6044e2d24b74a6 (diff)
sw: uitest for c519de2296
Change-Id: If5e03591ba4aef6a111268b32bff305e1ec6ba8c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170284 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'sw')
-rw-r--r--sw/qa/uitest/writer_dialogs/openDialogs.py3
-rwxr-xr-xsw/qa/uitest/writer_tests3/tdf124088.py4
2 files changed, 6 insertions, 1 deletions
diff --git a/sw/qa/uitest/writer_dialogs/openDialogs.py b/sw/qa/uitest/writer_dialogs/openDialogs.py
index b3b2ffcd7bad..fc6351e6fa70 100644
--- a/sw/qa/uitest/writer_dialogs/openDialogs.py
+++ b/sw/qa/uitest/writer_dialogs/openDialogs.py
@@ -99,7 +99,8 @@ dialogs = [
# tested in sw/qa/uitest/writer_tests/wordCount.py
# {"command": ".uno:AutoCorrectDlg", "closeButton": "cancel"},
# tested in sw/qa/uitest/writer_tests5/autocorrectOptions.py
- {"command": ".uno:EditGlossary", "closeButton": "close"},
+ # {"command": ".uno:EditGlossary", "closeButton": "close"},
+ # tested in sw/qa/uitest/writer_tests3/tdf124088.py
# {"command": ".uno:ChapterNumberingDialog", "closeButton": "cancel"},
# tested in sw/qa/uitest/chapterNumbering/chapterNumbering.py
# {"command": ".uno:LineNumberingDialog", "closeButton": "cancel"},
diff --git a/sw/qa/uitest/writer_tests3/tdf124088.py b/sw/qa/uitest/writer_tests3/tdf124088.py
index 6ff65dad7631..125bc30cdc6a 100755
--- a/sw/qa/uitest/writer_tests3/tdf124088.py
+++ b/sw/qa/uitest/writer_tests3/tdf124088.py
@@ -24,6 +24,10 @@ class tdf124088(UITestCase):
with self.ui_test.execute_dialog_through_command(".uno:EditGlossary") as xEditGlossaryDlg:
xName = xEditGlossaryDlg.getChild("name")
self.assertEqual(get_state_as_dict(xName)["Text"], "This is a sample")
+
+ xShortName = xEditGlossaryDlg.getChild("shortname")
+ self.assertEqual("Tias", get_state_as_dict(xShortName)["Text"])
+
# Click on a group entry, proposed auto text should remain
xCategory = xEditGlossaryDlg.getChild("category")
xMyAutoText = xCategory.getChild("2")