Kaydet (Commit) 6e63f40d authored tarafından Xisco Fauli's avatar Xisco Fauli Kaydeden (comit) Xisco Faulí

Check number of columns and row in the inserted table

Change-Id: I6c6c9b38a9eb1a2912373008564b4838bd3fc3f8
Reviewed-on: https://gerrit.libreoffice.org/33067Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarXisco Faulí <xiscofauli@libreoffice.org>
üst 597e02e6
......@@ -19,6 +19,12 @@ class tdf104158(UITestCase):
xOkBtn = xInsertDlg.getChild("ok")
xOkBtn.executeAction("CLICK", tuple())
document = self.ui_test.get_component()
tables = document.getTextTables()
self.assertEqual(len(tables[0].getRows()), 2)
self.assertEqual(len(tables[0].getColumns()), 2)
self.ui_test.execute_dialog_through_command(".uno:TableNumberFormatDialog")
xNumberFormatDlg = self.xUITest.getTopFocusWindow()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment