diff options
author | Xisco Fauli <xiscofauli@libreoffice.org> | 2021-11-24 16:39:18 +0100 |
---|---|---|
committer | Xisco Fauli <xiscofauli@libreoffice.org> | 2021-11-24 19:40:15 +0100 |
commit | 84f8613cdd9d494c7f376420520e186b4d4ea8a1 (patch) | |
tree | fd9ac6508ac830d0d63c65a98a141baab074c972 /sw | |
parent | ec5788d893e3939bd1d911575a974674f2142b8b (diff) |
uitest: remove print leftovers
Change-Id: I9b0cef7a8a536a8db7d0b840dfe69714fdbf2cd4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125779
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/qa/uitest/classification/classification.py | 4 | ||||
-rw-r--r-- | sw/qa/uitest/findReplace/tdf106099.py | 1 | ||||
-rw-r--r-- | sw/qa/uitest/styleInspector/styleInspector.py | 1 | ||||
-rw-r--r-- | sw/qa/uitest/writer_tests2/fontworks.py | 1 | ||||
-rw-r--r-- | sw/qa/uitest/writer_tests5/titlePageWizard2.py | 2 |
5 files changed, 0 insertions, 9 deletions
diff --git a/sw/qa/uitest/classification/classification.py b/sw/qa/uitest/classification/classification.py index 429453797613..7eb6fbad4371 100644 --- a/sw/qa/uitest/classification/classification.py +++ b/sw/qa/uitest/classification/classification.py @@ -89,8 +89,6 @@ class classification(UITestCase): self.assertEqual(get_state_as_dict(internationalClassificationCB)["SelectEntryText"], "Confidential") #verify textBox Content TODO textbox not supported #self.assertEqual(get_state_as_dict(classificationEditWindow)["Text"], "Conf") - # print(get_state_as_dict(classificationEditWindow)) - self.assertEqual(document.Text.String[0:6], "(Conf)") self.assertEqual(header.String, "Confidential") @@ -114,8 +112,6 @@ class classification(UITestCase): self.assertEqual(get_state_as_dict(internationalClassificationCB)["SelectEntryText"], "Confidential") #verify textBox Content TODO - texbox not supported yet # self.assertEqual(get_state_as_dict(classificationEditWindow)["Text"], "Conf") - # print(get_state_as_dict(classificationEditWindow)) - controller = document.getCurrentController() self.assertEqual(document.Text.String[0:6], "(Conf)") diff --git a/sw/qa/uitest/findReplace/tdf106099.py b/sw/qa/uitest/findReplace/tdf106099.py index e1de17fbdc04..73ab132bbd32 100644 --- a/sw/qa/uitest/findReplace/tdf106099.py +++ b/sw/qa/uitest/findReplace/tdf106099.py @@ -28,7 +28,6 @@ class tdf106099(UITestCase): #verify label searchdesc searchdesc = xDialog.getChild("searchdesc") - print(get_state_as_dict(searchdesc)) self.assertEqual(get_state_as_dict(searchdesc)["Text"], "Single underline") noformat = xDialog.getChild("noformat") noformat.executeAction("CLICK", tuple()) #click No format button diff --git a/sw/qa/uitest/styleInspector/styleInspector.py b/sw/qa/uitest/styleInspector/styleInspector.py index acaa85d693fe..f95ca9b0cfae 100644 --- a/sw/qa/uitest/styleInspector/styleInspector.py +++ b/sw/qa/uitest/styleInspector/styleInspector.py @@ -297,7 +297,6 @@ class styleNavigator(UITestCase): self.assertEqual("Nested Text Content\tames", get_state_as_dict(xDirFormatting.getChild('1'))['Text']) xMetadata = xDirFormatting.getChild('0') - print(get_state_as_dict(xMetadata)) self.assertEqual(2, len(xMetadata.getChildren())) self.assertEqual("xml:id\tID-24478193-9630-4d03-8976-9e097c843a0b", get_state_as_dict(xMetadata.getChild('0'))['Text']) # RGB code of the custom shading color of the annotated text range is 97E1E9 (the code can be lower case, see STRtoRGB) diff --git a/sw/qa/uitest/writer_tests2/fontworks.py b/sw/qa/uitest/writer_tests2/fontworks.py index 716bc46c1993..a70fc297b71a 100644 --- a/sw/qa/uitest/writer_tests2/fontworks.py +++ b/sw/qa/uitest/writer_tests2/fontworks.py @@ -24,7 +24,6 @@ class fontWorksDialog(UITestCase): # Select element with id (3) element3 = FontWorkSelector.getChild("2") element3.executeAction("SELECT", mkPropertyValues({})) - print(get_state_as_dict(FontWorkSelector)) self.assertEqual(get_state_as_dict(FontWorkSelector)["SelectedItemPos"], "2") self.assertEqual(get_state_as_dict(FontWorkSelector)["SelectedItemId"], "3") self.assertEqual(get_state_as_dict(FontWorkSelector)["VisibleCount"], "36") diff --git a/sw/qa/uitest/writer_tests5/titlePageWizard2.py b/sw/qa/uitest/writer_tests5/titlePageWizard2.py index 313638de9eae..b13eb9606a2a 100644 --- a/sw/qa/uitest/writer_tests5/titlePageWizard2.py +++ b/sw/qa/uitest/writer_tests5/titlePageWizard2.py @@ -57,7 +57,6 @@ class tdf138907(UITestCase): #set restart page number to 1 - which is the default. #set restart title page to 1 - the current value for this document is 6. xRestartNumbering = xDialog.getChild("NF_SET_PAGE_NUMBER") - print(xDialog.getChildren()) for _ in range(0,5): xRestartNumbering.executeAction("DOWN", tuple()) # restart title numbering at 1 #Insert two title/index pages at beginning of the document. @@ -91,7 +90,6 @@ class tdf138907(UITestCase): #dialog Title Page with self.ui_test.execute_dialog_through_command(".uno:TitlePageDialog") as xDialog: - print(xDialog.getChildren()) #Convert four pages to title/index pages starting at page one. xPageCount = xDialog.getChild("NF_PAGE_COUNT") for _ in range(0,3): |