uitest: remove sleeps and prints from calc demo

These sleeps are only necessary when you want to run them non-headless
and see what is actually happening.

Change-Id: I20bd80c680c8569bc3c885f261e03db494afee06
diff --git a/uitest/calc_tests/create_chart.py b/uitest/calc_tests/create_chart.py
index 6db4d58..1bd8276 100644
--- a/uitest/calc_tests/create_chart.py
+++ b/uitest/calc_tests/create_chart.py
@@ -69,14 +69,10 @@ class CalcChartUIDemo(UITestCase):
        self.ui_test.execute_dialog_through_command(".uno:InsertObjectChart")

        xChartDlg = self.xUITest.getTopFocusWindow()
        print(xChartDlg.getChildren())
        time.sleep(2)

        xOkBtn = xChartDlg.getChild("finish")
        xOkBtn.executeAction("CLICK", tuple())

        time.sleep(2)

        self.ui_test.close_doc()

    def test_create_from_second_page(self):
@@ -88,31 +84,19 @@ class CalcChartUIDemo(UITestCase):
        self.ui_test.execute_dialog_through_command(".uno:InsertObjectChart")

        xChartDlg = self.xUITest.getTopFocusWindow()
        print(xChartDlg.getChildren())
        time.sleep(2)

        xNextBtn = xChartDlg.getChild("next")
        xNextBtn.executeAction("CLICK", tuple())

        print(xChartDlg.getChildren())

        time.sleep(2)

        xDataInRows = xChartDlg.getChild("RB_DATAROWS")
        xDataInRows.executeAction("CLICK", tuple())

        time.sleep(2)

        xDataInCols = xChartDlg.getChild("RB_DATACOLS")
        xDataInCols.executeAction("CLICK", tuple())

        time.sleep(2)

        xCancelBtn = xChartDlg.getChild("finish")
        xCancelBtn.executeAction("CLICK", tuple())

        time.sleep(5)

        self.ui_test.close_doc()

    def test_deselect_chart(self):
@@ -154,13 +138,9 @@ class CalcChartUIDemo(UITestCase):

        xGridWindow.executeAction("DESELECT", mkPropertyValues({"OBJECT": ""}))

        time.sleep(2)

        xGridWindow.executeAction("SELECT", mkPropertyValues({"OBJECT": "Object 1"}))
        xGridWindow.executeAction("ACTIVATE", tuple())

        time.sleep(2)

        xGridWindow.executeAction("DESELECT", mkPropertyValues({"OBJECT": ""}))

        self.ui_test.close_doc()
@@ -187,7 +167,6 @@ class CalcChartUIDemo(UITestCase):
        xGridWindow.executeAction("ACTIVATE", tuple())

        xCalcDoc = self.xUITest.getTopFocusWindow()
        print(xCalcDoc.getChildren())
        self.ui_test.close_doc()

# vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/uitest/calc_tests/gridwindow.py b/uitest/calc_tests/gridwindow.py
index 1b63fe5..c3b2d1d 100644
--- a/uitest/calc_tests/gridwindow.py
+++ b/uitest/calc_tests/gridwindow.py
@@ -37,8 +37,6 @@ class GridWindowTest(UITestCase):
        enter_text_to_cell(xGridWindow, "C3", "=A1")
        enter_text_to_cell(xGridWindow, "A1", "2")

        time.sleep(2)

        self.ui_test.close_doc()

    def test_special_keys(self):
@@ -54,8 +52,6 @@ class GridWindowTest(UITestCase):
        typeProps = mkPropertyValues({"KEYCODE": "CTRL+DOWN"})
        xGridWindow.executeAction("TYPE", typeProps)

        time.sleep(2)

        self.ui_test.close_doc()

# vim:set shiftwidth=4 softtabstop=4 expandtab: */