summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorRafael Lima <rafael.palma.lima@gmail.com>2023-07-26 02:00:40 +0200
committerRafael Lima <rafael.palma.lima@gmail.com>2023-08-05 00:05:56 +0200
commit9ca60dc90958001c078ed6331bd432c36961a425 (patch)
tree48dad2f635dc674a833b829bab94a39f60b21b94 /sw
parentbe58058b0e49cceff1732535b5a9ab57aeb9aa7c (diff)
tdf#156156 Add Help button to sidebar decks
This patch adds a Help button to the sidebar deck, so that each deck has its own Help ID, which can later be used as reference to write help pages. The Help IDs of each sidebar deck is a combination of the string "SIDEBAR_" + the deck ID (as defined in Sidebar.xcu). Change-Id: Ib7f106ff917e41130bde136e1e6f04bb2af40daf Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154918 Tested-by: Jenkins Reviewed-by: Stéphane Guillou <stephane.guillou@libreoffice.org> Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Diffstat (limited to 'sw')
-rw-r--r--sw/qa/uitest/sidebar/tdf152921.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/qa/uitest/sidebar/tdf152921.py b/sw/qa/uitest/sidebar/tdf152921.py
index a313343f5690..77f0370e2de1 100644
--- a/sw/qa/uitest/sidebar/tdf152921.py
+++ b/sw/qa/uitest/sidebar/tdf152921.py
@@ -25,7 +25,7 @@ class tdf152921(UITestCase):
# make sure only the tabbar is visible, no deck
xDeckTitleToolBar = xWriterEdit.getChild('toolbar')
- xDeckTitleToolBar.executeAction("CLICK", mkPropertyValues({"POS": "0"}))
+ xDeckTitleToolBar.executeAction("CLICK", mkPropertyValues({"POS": "1"}))
# tabbar is visible, deck is not
# without the patch this assert would fail, a tab would be highlighted
self.assertFalse(len(get_state_as_dict(xTabBar)['HighlightedTabsIds']))
@@ -37,7 +37,7 @@ class tdf152921(UITestCase):
self.assertEqual(len(get_state_as_dict(xTabBar)['HighlightedTabsIds'].split(",")), 1)
# click on the 'Close Sidebar Deck' button in the deck title tool bar
- xDeckTitleToolBar.executeAction("CLICK", mkPropertyValues({"POS": "0"}))
+ xDeckTitleToolBar.executeAction("CLICK", mkPropertyValues({"POS": "1"}))
# without the patch this assert would fail, a tab would be highlighted
self.assertFalse(len(get_state_as_dict(xTabBar)['HighlightedTabsIds']))
@@ -63,7 +63,7 @@ class tdf152921(UITestCase):
self.assertEqual(len(get_state_as_dict(xTabBar)['HighlightedTabsIds'].split(",")), 1)
# click on the 'Close Sidebar Deck' button
- xDeckTitleToolBar.executeAction("CLICK", mkPropertyValues({"POS": "0"}))
+ xDeckTitleToolBar.executeAction("CLICK", mkPropertyValues({"POS": "1"}))
# without the patch this assert would fail, a tab would be highlighted
self.assertFalse(len(get_state_as_dict(xTabBar)['HighlightedTabsIds']))