diff options
author | Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de> | 2021-02-17 16:27:38 +0100 |
---|---|---|
committer | Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de> | 2021-02-22 07:39:12 +0100 |
commit | e4037a34f784cc54fba08bdac48f1660f7c2ec5f (patch) | |
tree | de88fd4af609cd268ca60d56a19124a8e056adfb /sc | |
parent | 33a193130f7643f5bab2c9369f5d700114c6fbee (diff) |
tdf#133423 Add UITest
Change-Id: Ifddcb283073796a890a374f6b5100ddc5909a23b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111075
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/qa/uitest/chart/tdf93506_trendline.py | 4 |
1 files changed, 4 insertions, 0 deletions
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") |