summaryrefslogtreecommitdiff
path: root/cui/qa
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-11-05 15:08:47 +0000
committerCaolán McNamara <caolanm@redhat.com>2018-11-07 22:01:20 +0100
commita977098f59a4c931c6f8a1d423720e682f5ed047 (patch)
treed865c854cc2e6c0151b0b4aea4b7865cc1822585 /cui/qa
parent6311f7ffce8f64b0773d2ad3ea7be3be683924c0 (diff)
map GtkTreeView to SvTreeViewBox now it is in vcl
Change-Id: I8ab8421354a296cb6382f28fd3bd40372e0665df Reviewed-on: https://gerrit.libreoffice.org/62908 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'cui/qa')
-rw-r--r--cui/qa/uitest/dialogs/pastedlg.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/cui/qa/uitest/dialogs/pastedlg.py b/cui/qa/uitest/dialogs/pastedlg.py
index 4c17adac33d3..ccd33e02d11e 100644
--- a/cui/qa/uitest/dialogs/pastedlg.py
+++ b/cui/qa/uitest/dialogs/pastedlg.py
@@ -29,10 +29,11 @@ class Test(UITestCase):
self.ui_test.execute_dialog_through_command(".uno:PasteSpecial")
pasteSpecial = self.xUITest.getTopFocusWindow()
formats = pasteSpecial.getChild("list")
- entryCount = int(get_state_as_dict(formats)["EntryCount"])
+ entryCount = int(get_state_as_dict(formats)["Children"])
items = []
for index in range(entryCount):
- formats.executeAction("SELECT", mkPropertyValues({"POS": str(index)}))
+ entry = formats.getChild(str(index))
+ entry.executeAction("SELECT", tuple())
items.append(get_state_as_dict(formats)["SelectEntryText"])
# Make sure there is no RTF vs Richtext duplication.