tdf#69750: sc: Add UItest

Change-Id: I4039da64a069af74046f95abacd3476122d9a542
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/136232
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
diff --git a/sc/qa/uitest/pasteSpecial/tdf65856.py b/sc/qa/uitest/pasteSpecial/tdf65856.py
index 7a3b1f9..6b9e928 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")