summaryrefslogtreecommitdiff
path: root/sw/qa/uitest/table
diff options
context:
space:
mode:
authorXisco Fauli <xiscofauli@libreoffice.org>2022-02-08 11:26:56 +0100
committerXisco Fauli <xiscofauli@libreoffice.org>2022-02-08 13:54:59 +0100
commit2b8fbd7256c2487251fdfa811e5c67b2a21e7984 (patch)
tree1578fd96c9066fb397775a86020c9122e78dba58 /sw/qa/uitest/table
parent4df75c2a2f9abbf2621a9aacd0c4f9fe8841b051 (diff)
uitest: no need to have a document with a table, just create it
Change-Id: I06b9d5cb18379ef6fb144817db857bd36902812e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129665 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'sw/qa/uitest/table')
-rw-r--r--sw/qa/uitest/table/sheetToTable.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/sw/qa/uitest/table/sheetToTable.py b/sw/qa/uitest/table/sheetToTable.py
index cc19ca368cbd..a592ee217186 100644
--- a/sw/qa/uitest/table/sheetToTable.py
+++ b/sw/qa/uitest/table/sheetToTable.py
@@ -76,9 +76,11 @@ class sheetToTable(UITestCase):
self.xUITest.executeCommand(".uno:Copy")
- with self.ui_test.load_file(get_url_for_data_file("tdf129083.odt")) as writer_doc:
+ with self.ui_test.load_empty_file("writer") as writer_doc:
xWriterDoc = self.xUITest.getTopFocusWindow()
+ self.xUITest.executeCommand(".uno:InsertTable?Columns:short=1&Rows:short=4")
+
self.xUITest.executeCommand(".uno:Paste")
self.assertEqual(writer_doc.TextTables.getCount(), 1)