summaryrefslogtreecommitdiff
path: root/sw/qa/uitest/table/tdf99334.py
diff options
context:
space:
mode:
authorXisco Fauli <xiscofauli@libreoffice.org>2021-06-23 16:16:58 +0200
committerXisco Fauli <xiscofauli@libreoffice.org>2021-06-27 21:45:32 +0200
commiteef1a5f3aa0f1b11024aa6760cf92181b9bf0a96 (patch)
treed4e46ce25ba5214a6e5820712c84e55035e8874e /sw/qa/uitest/table/tdf99334.py
parent241c37a6ad2a444ddf2eb48385041318d4e7e8ee (diff)
uitest: remove duplicated calls to get_component()
after 8298aa62726312eee6f8fbb64a9fc9b12680447f < uitest: guard execute_blocking_action > Change-Id: I954c11c42620660afd48a585f5c59ff2196f4b6a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117738 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'sw/qa/uitest/table/tdf99334.py')
-rw-r--r--sw/qa/uitest/table/tdf99334.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/qa/uitest/table/tdf99334.py b/sw/qa/uitest/table/tdf99334.py
index 9e1b649becbe..a696c0be06ca 100644
--- a/sw/qa/uitest/table/tdf99334.py
+++ b/sw/qa/uitest/table/tdf99334.py
@@ -13,7 +13,6 @@ class tdf99334(UITestCase):
def test_tdf99334_table_sort_umlauts(self):
with self.ui_test.load_file(get_url_for_data_file("tdf99334.odt")) as writer_doc:
- document = self.ui_test.get_component()
xWriterDoc = self.xUITest.getTopFocusWindow()
#select whole table
self.xUITest.executeCommand(".uno:SelectTable")
@@ -25,7 +24,7 @@ class tdf99334(UITestCase):
xOK = xDialog.getChild("ok")
self.ui_test.close_dialog_through_button(xOK)
#verify
- tables = document.getTextTables()
+ tables = writer_doc.getTextTables()
table = tables[0]
tableText = table.getCellByName("B1")
b1 = tableText.getString()