diff options
author | Jim Raykowski <raykowj@gmail.com> | 2024-08-03 12:57:22 -0800 |
---|---|---|
committer | Jim Raykowski <raykowj@gmail.com> | 2024-08-26 01:04:57 +0200 |
commit | 7ae0542f7208573b18dadb0dee550f34ce8e41f4 (patch) | |
tree | 1da5b20cd21cd88a1e7d1c0739adc0e4837e6df4 /sw/qa/uitest/writer_tests | |
parent | d1c5ed30d1128c0500d3fab72bb5505f81a1bdc1 (diff) |
resolves: tdf#162337 Initial selection of tracked change when Manage
Changes dialog is initially opened
Restores behavior of tracked change selection in the document and tree
entry selection in the Manage Changes dialog on opening to that of
commit
d9466e9e09f8aa618f722d9d7bef7469aa51dc14 with the exception that the
tracked change selected when the cursor is after the last tracked change
in the document is now wrapped to the first tracked change in the
document, see commit 8e6203bd8f4390698f83a74a04f901437a9a61a3.
Change-Id: Ic1be06bb99787393d7962bd19fc791959408956e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171451
Tested-by: Jenkins
Reviewed-by: Jim Raykowski <raykowj@gmail.com>
Diffstat (limited to 'sw/qa/uitest/writer_tests')
-rw-r--r-- | sw/qa/uitest/writer_tests/trackedChanges.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sw/qa/uitest/writer_tests/trackedChanges.py b/sw/qa/uitest/writer_tests/trackedChanges.py index d013be0343e3..a256889a8a8b 100644 --- a/sw/qa/uitest/writer_tests/trackedChanges.py +++ b/sw/qa/uitest/writer_tests/trackedChanges.py @@ -279,7 +279,9 @@ class trackedchanges(UITestCase): self.assertEqual(3, len(tables)) # goto to the start of the document to reject from the first tracked table row change - self.xUITest.executeCommand(".uno:GoToStartOfDoc") + self.xUITest.executeCommand(".uno:GoToStartOfDoc") # start of cell + self.xUITest.executeCommand(".uno:GoToStartOfDoc") # start of table + self.xUITest.executeCommand(".uno:GoToStartOfDoc") # start of document # Reject with self.ui_test.execute_modeless_dialog_through_command(".uno:AcceptTrackedChanges", close_button="close") as xTrackDlg: @@ -291,9 +293,6 @@ class trackedchanges(UITestCase): changesList.getChild(0).executeAction("SELECT", tuple()) - # jump to the parent to allow rejecting the table change - changesList.executeAction("TYPE", mkPropertyValues({"KEYCODE": "LEFT"})) - # Without the fix in place, it would have crashed here for i in (3, 2, 1, 0): xAccBtn = xTrackDlg.getChild("reject") |