summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXisco Fauli <xiscofauli@libreoffice.org>2021-11-24 16:39:18 +0100
committerXisco Fauli <xiscofauli@libreoffice.org>2021-11-24 19:40:15 +0100
commit84f8613cdd9d494c7f376420520e186b4d4ea8a1 (patch)
treefd9ac6508ac830d0d63c65a98a141baab074c972
parentec5788d893e3939bd1d911575a974674f2142b8b (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>
-rw-r--r--sc/qa/uitest/calc_tests3/clearCells.py5
-rw-r--r--sc/qa/uitest/search_replace/tdf39959.py1
-rw-r--r--sc/qa/uitest/textToColumns/textToColumns.py4
-rw-r--r--sc/qa/uitest/validity/validity.py1
-rw-r--r--sd/qa/uitest/impress_tests/customSlideShow.py2
-rw-r--r--sw/qa/uitest/classification/classification.py4
-rw-r--r--sw/qa/uitest/findReplace/tdf106099.py1
-rw-r--r--sw/qa/uitest/styleInspector/styleInspector.py1
-rw-r--r--sw/qa/uitest/writer_tests2/fontworks.py1
-rw-r--r--sw/qa/uitest/writer_tests5/titlePageWizard2.py2
10 files changed, 0 insertions, 22 deletions
diff --git a/sc/qa/uitest/calc_tests3/clearCells.py b/sc/qa/uitest/calc_tests3/clearCells.py
index 179111eb6469..e4c9d5fe162f 100644
--- a/sc/qa/uitest/calc_tests3/clearCells.py
+++ b/sc/qa/uitest/calc_tests3/clearCells.py
@@ -215,13 +215,8 @@ class clearCells(UITestCase):
select_pos(xTabs, "1") #tab Font
xstylelb = xDialog.getChild("weststylelb-cjk")
- print(get_state_as_dict(xstylelb))
-
-
self.assertEqual(get_state_as_dict(xstylelb)["Text"], "Regular")
-
-
def test_clear_cells_all(self):
with self.ui_test.create_doc_in_start_center("calc") as document:
xCalcDoc = self.xUITest.getTopFocusWindow()
diff --git a/sc/qa/uitest/search_replace/tdf39959.py b/sc/qa/uitest/search_replace/tdf39959.py
index f9280614b436..042096f39146 100644
--- a/sc/qa/uitest/search_replace/tdf39959.py
+++ b/sc/qa/uitest/search_replace/tdf39959.py
@@ -36,7 +36,6 @@ class tdf39959(UITestCase):
allsheets.executeAction("CLICK", tuple())
replaceall = xDialog.getChild("replaceall")
replaceall.executeAction("CLICK", tuple())
- # print(xDialog.getChildren())
#verify Sheet2.A1 = "bbb"
self.assertEqual(get_cell_by_position(calc_doc, 1, 0, 0).getString(), "bbb ")
diff --git a/sc/qa/uitest/textToColumns/textToColumns.py b/sc/qa/uitest/textToColumns/textToColumns.py
index e31c0d99dcc5..a5ddd72477a4 100644
--- a/sc/qa/uitest/textToColumns/textToColumns.py
+++ b/sc/qa/uitest/textToColumns/textToColumns.py
@@ -27,10 +27,8 @@ class CalcTextToColumns(UITestCase):
xWriterGeneralEntry = xWriterEntry.getChild('0')
xWriterGeneralEntry.executeAction("SELECT", tuple()) #General / replwarncb
xreplwarncb = xDialogOpt.getChild("replwarncb")
- print(get_state_as_dict(xreplwarncb)["Selected"])
if (get_state_as_dict(xreplwarncb)["Selected"]) == "false":
xreplwarncb.executeAction("CLICK", tuple())
- print(get_state_as_dict(xreplwarncb)["Selected"])
#Select A1:A5 on Sheet 'Dot_as_Separator'
gridwin.executeAction("SELECT", mkPropertyValues({"RANGE": "A1:A5"}))
@@ -117,10 +115,8 @@ class CalcTextToColumns(UITestCase):
xWriterGeneralEntry = xWriterEntry.getChild('0')
xWriterGeneralEntry.executeAction("SELECT", tuple()) #General / replwarncb
xreplwarncb = xDialogOpt.getChild("replwarncb")
- print(get_state_as_dict(xreplwarncb)["Selected"])
if (get_state_as_dict(xreplwarncb)["Selected"]) == "false":
xreplwarncb.executeAction("CLICK", tuple())
- print(get_state_as_dict(xreplwarncb)["Selected"])
# Select A1:A5
gridwin.executeAction("SELECT", mkPropertyValues({"RANGE": "A1:A5"}))
diff --git a/sc/qa/uitest/validity/validity.py b/sc/qa/uitest/validity/validity.py
index 7d1315fdd016..e92821079ea0 100644
--- a/sc/qa/uitest/validity/validity.py
+++ b/sc/qa/uitest/validity/validity.py
@@ -71,7 +71,6 @@ class validity(UITestCase):
xtsbhelp = xDialog.getChild("tsbhelp")
xtitle = xDialog.getChild("title")
xinputhelp = xDialog.getChild("inputhelp")
- # print(get_state_as_dict(xtsbhelp))
select_pos(xTabs, "1")
self.assertEqual(get_state_as_dict(xtsbhelp)["Selected"], "true")
self.assertEqual(get_state_as_dict(xtitle)["Text"], "A")
diff --git a/sd/qa/uitest/impress_tests/customSlideShow.py b/sd/qa/uitest/impress_tests/customSlideShow.py
index 4915dce68800..de7a17d70c35 100644
--- a/sd/qa/uitest/impress_tests/customSlideShow.py
+++ b/sd/qa/uitest/impress_tests/customSlideShow.py
@@ -37,11 +37,9 @@ class customSlideShow(UITestCase):
with self.ui_test.execute_blocking_action(edit.executeAction, args=('CLICK', ()), close_button="cancel") as DefineCustomSlideShow:
customname = DefineCustomSlideShow.getChild("customname")
self.assertEqual(get_state_as_dict(customname)["Text"], "aa")
-# print(DefineCustomSlideShow.getChildren())
custompages = DefineCustomSlideShow.getChild("custompages")
pages = DefineCustomSlideShow.getChild("pages")
remove = DefineCustomSlideShow.getChild("remove")
-# print(get_state_as_dict(custompages))
self.assertEqual(get_state_as_dict(custompages)["Children"], "1")
self.assertEqual(get_state_as_dict(pages)["Children"], "1")
xEntry = custompages.getChild("0")
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):