diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-03-07 20:46:20 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-03-09 10:07:24 +0100 |
commit | 6b0e1986a7c446cb6862f645e45c377c2a309065 (patch) | |
tree | c23ebdd0d7c40cb46c7a95ae3683c6d738af4694 /sc/qa/uitest/calc_tests8 | |
parent | a2d0741eed98db9c8b3509153a77d2e56b423d06 (diff) |
decompose ScNavigatorDlgUIObject and use sub components directly
Change-Id: I817d0e201804dce3e83d204702ff236f5689ebb8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112148
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/qa/uitest/calc_tests8')
-rw-r--r-- | sc/qa/uitest/calc_tests8/navigator.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sc/qa/uitest/calc_tests8/navigator.py b/sc/qa/uitest/calc_tests8/navigator.py index abbb8ce1cf73..5e8cb99e01e3 100644 --- a/sc/qa/uitest/calc_tests8/navigator.py +++ b/sc/qa/uitest/calc_tests8/navigator.py @@ -91,7 +91,9 @@ class navigator(UITestCase): xCalcDoc = self.xUITest.getTopFocusWindow() xNavigatorPanel = xCalcDoc.getChild("NavigatorPanelParent") - xNavigatorPanel.executeAction("ROOT", tuple()) + xToolBar = xNavigatorPanel.getChild("toolbox2") + xToolBar.executeAction("CLICK", mkPropertyValues({"POS": "0"})) # 'toggle' button + xContentBox = xNavigatorPanel.getChild('contentbox') # tdf#133079, without the fix in place, it would be 8 @@ -123,7 +125,8 @@ class navigator(UITestCase): xCalcDoc = self.xUITest.getTopFocusWindow() xNavigatorPanel = xCalcDoc.getChild("NavigatorPanelParent") - xNavigatorPanel.executeAction("ROOT", tuple()) + xToolBar = xNavigatorPanel.getChild("toolbox2") + xToolBar.executeAction("CLICK", mkPropertyValues({"POS": "0"})) # 'toggle' button xRow = xNavigatorPanel.getChild('row') xColumn = xNavigatorPanel.getChild('column') |