sc/qa/uitest/chart/tdf93506_trendline.py | 4 ++++ 1 file changed, 4 insertions(+)
New commits: commit e4037a34f784cc54fba08bdac48f1660f7c2ec5f Author: Samuel Mehrbrodt <samuel.mehrbr...@allotropia.de> AuthorDate: Wed Feb 17 16:27:38 2021 +0100 Commit: Samuel Mehrbrodt <samuel.mehrbr...@allotropia.de> CommitDate: Mon Feb 22 07:39:12 2021 +0100 tdf#133423 Add UITest Change-Id: Ifddcb283073796a890a374f6b5100ddc5909a23b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111075 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt <samuel.mehrbr...@allotropia.de> diff --git a/sc/qa/uitest/chart/tdf93506_trendline.py b/sc/qa/uitest/chart/tdf93506_trendline.py index 99660e76a552..5b80202d2c98 100644 --- a/sc/qa/uitest/chart/tdf93506_trendline.py +++ b/sc/qa/uitest/chart/tdf93506_trendline.py @@ -388,6 +388,7 @@ class tdf93506(UITestCase): exponential = xDialog.getChild("exponential") #type regression exponential power = xDialog.getChild("exponential") #type regression power movingAverage = xDialog.getChild("movingAverage") #type regression Moving average + movingAverageType = xDialog.getChild("combo_moving_type") #type regression Moving average type period = xDialog.getChild("period") xentryname = xDialog.getChild("entry_name") #add name extrapolateForward = xDialog.getChild("extrapolateForward") @@ -400,6 +401,7 @@ class tdf93506(UITestCase): yVarName = xDialog.getChild("entry_Yname") movingAverage.executeAction("CLICK", tuple()) #set polynomial + movingAverageType.executeAction("SELECT", mkPropertyValues({"TEXT": "Averaged Abscissa"})) period.executeAction("UP", tuple()) #Click on tab "Line". @@ -430,6 +432,7 @@ class tdf93506(UITestCase): power = xDialog.getChild("exponential") #type regression power polynomial = xDialog.getChild("polynomial") #type regression polynomial movingAverage = xDialog.getChild("movingAverage") #type regression Moving average + movingAverageType = xDialog.getChild("combo_moving_type") #type regression Moving average type degree = xDialog.getChild("degree") period = xDialog.getChild("period") xentryname = xDialog.getChild("entry_name") #add name @@ -443,6 +446,7 @@ class tdf93506(UITestCase): yVarName = xDialog.getChild("entry_Yname") self.assertEqual(get_state_as_dict(movingAverage)["Checked"], "true") + self.assertEqual(get_state_as_dict(movingAverageType)["SelectEntryText"], "Averaged Abscissa") self.assertEqual(get_state_as_dict(period)["Text"], "3") self.assertEqual(get_state_as_dict(xentryname)["Text"], "Name") _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits