sc/qa/uitest/conditional_format/tdf105466.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)
New commits: commit ff387f848d1695535ad33de6eef2577bcd91c9d0 Author: Markus Mohrhard <markus.mohrh...@googlemail.com> Date: Mon Mar 27 00:08:04 2017 +0200 improve the test by introducing sub tests Change-Id: I414da64f55348973a8f60c7518d26a835385125d diff --git a/sc/qa/uitest/conditional_format/tdf105466.py b/sc/qa/uitest/conditional_format/tdf105466.py index e1cfd2d0a27e..fb0a872702b9 100644 --- a/sc/qa/uitest/conditional_format/tdf105466.py +++ b/sc/qa/uitest/conditional_format/tdf105466.py @@ -17,9 +17,10 @@ class tdf105466(UITestCase): self.ui_test.execute_modeless_dialog_through_command(".uno:ConditionalFormatDialog") for i in range(0,4): - xCondFormatDlg = self.xUITest.getTopFocusWindow() - xTypeLstBox = xCondFormatDlg.getChild("type") - xTypeLstBox.executeAction("SELECT", mkPropertyValues({"POS": str(i)})) + with self.subTest(i = i): + xCondFormatDlg = self.xUITest.getTopFocusWindow() + xTypeLstBox = xCondFormatDlg.getChild("type") + xTypeLstBox.executeAction("SELECT", mkPropertyValues({"POS": str(i)})) xCondFormatDlg = self.xUITest.getTopFocusWindow() xOkBtn = xCondFormatDlg.getChild("ok") _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits