summaryrefslogtreecommitdiff
path: root/sc/qa/uitest/pasteSpecial/tdf65856.py
diff options
context:
space:
mode:
Diffstat (limited to 'sc/qa/uitest/pasteSpecial/tdf65856.py')
-rw-r--r--sc/qa/uitest/pasteSpecial/tdf65856.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/qa/uitest/pasteSpecial/tdf65856.py b/sc/qa/uitest/pasteSpecial/tdf65856.py
index 7a3b1f90e21b..6b9e928b4255 100644
--- a/sc/qa/uitest/pasteSpecial/tdf65856.py
+++ b/sc/qa/uitest/pasteSpecial/tdf65856.py
@@ -7,7 +7,7 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
from uitest.framework import UITestCase
-from uitest.uihelper.common import get_url_for_data_file
+from uitest.uihelper.common import get_url_for_data_file, get_state_as_dict
from libreoffice.uno.propertyvalue import mkPropertyValues
from libreoffice.calc.document import get_cell_by_position
from libreoffice.calc.paste_special import reset_default_values
@@ -57,10 +57,10 @@ class tdf65856(UITestCase):
#mark cell B2
gridwin.executeAction("SELECT", mkPropertyValues({"CELL": "B2"}))
with self.ui_test.execute_dialog_through_command(".uno:PasteSpecial") as xDialog:
- reset_default_values(self, xDialog)
-
xmove_right = xDialog.getChild("move_right")
- xmove_right.executeAction("CLICK", tuple())
+
+ # tdf#69750: Without the fix in place, this test would have failed here
+ self.assertEqual("true", get_state_as_dict(xmove_right)["Checked"])
#check
self.assertEqual(get_cell_by_position(calc_doc, 0, 1, 1).getString(), "1")