Use a more conventional START/END_POS range
For the content of the selection it should not make a difference if that range is "backward" or "forward", but the latter looks cleaner. Change-Id: Ibc27ac257c9338f9b17ace10fbec938b1db394eb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99932 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
This commit is contained in:
parent
bc16f329b7
commit
f86214c2a6
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ class HyperlinkDialog(UITestCase):
|
|||
# Check that the link is added
|
||||
xMainWindow = self.xUITest.getTopFocusWindow()
|
||||
xedit = xMainWindow.getChild("writer_edit")
|
||||
xedit.executeAction("SELECT", mkPropertyValues({"END_POS": "0", "START_POS": "4"}))
|
||||
xedit.executeAction("SELECT", mkPropertyValues({"START_POS": "0", "END_POS": "4"}))
|
||||
self.assertEqual(get_state_as_dict(xedit)["SelectedText"], "link")
|
||||
|
||||
self.ui_test.close_doc()
|
||||
|
|
Loading…
Reference in a new issue