dev/null                           |binary
 sw/qa/uitest/table/sheetToTable.py |    4 +++-
 2 files changed, 3 insertions(+), 1 deletion(-)

New commits:
commit 2b8fbd7256c2487251fdfa811e5c67b2a21e7984
Author:     Xisco Fauli <xiscofa...@libreoffice.org>
AuthorDate: Tue Feb 8 11:26:56 2022 +0100
Commit:     Xisco Fauli <xiscofa...@libreoffice.org>
CommitDate: Tue Feb 8 13:54:59 2022 +0100

    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 <xiscofa...@libreoffice.org>

diff --git a/sw/qa/uitest/data/tdf129083.odt b/sw/qa/uitest/data/tdf129083.odt
deleted file mode 100644
index 3de65273e8a1..000000000000
Binary files a/sw/qa/uitest/data/tdf129083.odt and /dev/null differ
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)

Reply via email to