[Libreoffice-commits] core.git: sc/qa

Zdeněk Crhonek (via logerrit) logerrit at kemper.freedesktop.org
Tue Jun 25 15:16:41 UTC 2019


 sc/qa/uitest/calc_tests/rows.py |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 4d23907d5850d96e4c81ffa5332e7fb4cf4cccca
Author:     Zdeněk Crhonek <zcrhonek at gmail.com>
AuthorDate: Mon Jun 24 17:38:48 2019 +0200
Commit:     Zdenek Crhonek <zcrhonek at gmail.com>
CommitDate: Tue Jun 25 17:15:54 2019 +0200

    uitest Tweak calc RowHeight test - add cancel button press
    
    Change-Id: I95a9a150a4c3a8a6e890305f95807bde7b6568da
    Reviewed-on: https://gerrit.libreoffice.org/74654
    Tested-by: Jenkins
    Reviewed-by: Zdenek Crhonek <zcrhonek at gmail.com>

diff --git a/sc/qa/uitest/calc_tests/rows.py b/sc/qa/uitest/calc_tests/rows.py
index 52a71768d963..00b04e5f9d6e 100644
--- a/sc/qa/uitest/calc_tests/rows.py
+++ b/sc/qa/uitest/calc_tests/rows.py
@@ -62,8 +62,8 @@ class CalcRows(UITestCase):
         xDialog = self.xUITest.getTopFocusWindow()
         xvalue = xDialog.getChild("value")
         self.assertEqual(get_state_as_dict(xvalue)["Text"], "1.00 cm")
-        xOK = xDialog.getChild("ok")
-        self.ui_test.close_dialog_through_button(xOK)
+        xCancel = xDialog.getChild("cancel")
+        self.ui_test.close_dialog_through_button(xCancel)
 
         self.ui_test.close_doc()
 
@@ -301,4 +301,4 @@ class CalcRows(UITestCase):
         self.assertEqual(get_cell_by_position(document, 0, 0, 1).getValue(), 4)
 
         self.ui_test.close_doc()
-# vim: set shiftwidth=4 softtabstop=4 expandtab:
\ No newline at end of file
+# vim: set shiftwidth=4 softtabstop=4 expandtab:


More information about the Libreoffice-commits mailing list