summaryrefslogtreecommitdiff
path: root/sw/qa
diff options
context:
space:
mode:
authorVasily Melenchuk <vasily.melenchuk@cib.de>2021-11-15 12:29:06 +0300
committerVasily Melenchuk <vasily.melenchuk@cib.de>2021-11-15 14:59:20 +0100
commite140caf2638b7718cd0bebdaaf86373f0828cbf4 (patch)
tree0114e6ef1f5046fa39ad97388e584339b4a74168 /sw/qa
parenta00fab4e6b7b62a2d9447127a0454da06c83ed54 (diff)
UITest: refresh fields for test to ensure we check calculated value
Change-Id: I696d24ba087c2e7d19e9818f4f653e09eca7f32e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125222 Tested-by: Jenkins Reviewed-by: Vasily Melenchuk <vasily.melenchuk@cib.de>
Diffstat (limited to 'sw/qa')
-rw-r--r--sw/qa/uitest/chapterNumbering/tdf145215.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/qa/uitest/chapterNumbering/tdf145215.py b/sw/qa/uitest/chapterNumbering/tdf145215.py
index 74d473fc7287..21cdedf554a2 100644
--- a/sw/qa/uitest/chapterNumbering/tdf145215.py
+++ b/sw/qa/uitest/chapterNumbering/tdf145215.py
@@ -27,6 +27,7 @@ class Tdf145215(UITestCase):
# Check field value (there is only one field)
textfields = writer_doc.getTextFields()
+ textfields.refresh()
for textfield in textfields:
self.assertTrue(textfield.supportsService("com.sun.star.text.TextField.GetReference"))
self.assertEqual(textfield.CurrentPresentation, "1.2.1(i)")