From c952913b6b20e5eed3f3bf060a02c2b77bdcbe4b Mon Sep 17 00:00:00 2001 From: Tamas Levente Kiss <tamas.levente.kiss@ericsson.com> Date: Tue, 20 Mar 2018 15:55:54 +0100 Subject: [PATCH] [master] detailed unittest info requested from selenium tests Signed-off-by: Tamas Levente Kiss <tamas.levente.kiss@ericsson.com> --- test/Selenium/BaseTestCase.py | 2 +- test/Selenium/Framework_LoadingWebApps.py | 2 +- test/Selenium/GuiEditor_ConnectionTests.py | 2 +- test/Selenium/GuiEditor_EditorTests.py | 2 +- test/Selenium/GuiEditor_SetupHandlingTests.py | 2 +- test/Selenium/RequestConsole_Tests.py | 2 +- test/Selenium/runTests.py | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/test/Selenium/BaseTestCase.py b/test/Selenium/BaseTestCase.py index 2cf73e0..034bce6 100644 --- a/test/Selenium/BaseTestCase.py +++ b/test/Selenium/BaseTestCase.py @@ -43,4 +43,4 @@ class BaseTestCase(unittest.TestCase): self.driver.quit() if __name__ == "__main__": - unittest.main(catchbreak=True) \ No newline at end of file + unittest.main(catchbreak=True, verbosity=2) \ No newline at end of file diff --git a/test/Selenium/Framework_LoadingWebApps.py b/test/Selenium/Framework_LoadingWebApps.py index f3563ba..1bd6658 100644 --- a/test/Selenium/Framework_LoadingWebApps.py +++ b/test/Selenium/Framework_LoadingWebApps.py @@ -90,4 +90,4 @@ class Framework_LoadingWebApps(BaseTestCase): self.checkApplicationSwitch("RequestConsole_MainView", "customAppMainview") if __name__ == "__main__": - unittest.main(catchbreak=True) \ No newline at end of file + unittest.main(catchbreak=True, verbosity=2) \ No newline at end of file diff --git a/test/Selenium/GuiEditor_ConnectionTests.py b/test/Selenium/GuiEditor_ConnectionTests.py index 2a1635e..7f23e42 100644 --- a/test/Selenium/GuiEditor_ConnectionTests.py +++ b/test/Selenium/GuiEditor_ConnectionTests.py @@ -125,4 +125,4 @@ class GuiEditor_ConnectionTests(BaseTestCase): self.assertIsNone(getNodeFromTreeByPath(self.driver, "GuiEditor_ViewEditor_0_Tree", [0, 0]), 'Deleted viewmodel-view connections is still present') if __name__ == "__main__": - unittest.main(catchbreak=True) \ No newline at end of file + unittest.main(catchbreak=True, verbosity=2) \ No newline at end of file diff --git a/test/Selenium/GuiEditor_EditorTests.py b/test/Selenium/GuiEditor_EditorTests.py index 6043bc3..15c8627 100644 --- a/test/Selenium/GuiEditor_EditorTests.py +++ b/test/Selenium/GuiEditor_EditorTests.py @@ -123,4 +123,4 @@ class GuiEditor_EditorTests(BaseTestCase): self.assertFalse(editorTypeExists(self.driver, "GuiEditor_ViewEditor"), "ViewEditor element found after it was deleted") if __name__ == "__main__": - unittest.main(catchbreak=True) \ No newline at end of file + unittest.main(catchbreak=True, verbosity=2) \ No newline at end of file diff --git a/test/Selenium/GuiEditor_SetupHandlingTests.py b/test/Selenium/GuiEditor_SetupHandlingTests.py index 9cfe51f..4ad17ff 100644 --- a/test/Selenium/GuiEditor_SetupHandlingTests.py +++ b/test/Selenium/GuiEditor_SetupHandlingTests.py @@ -115,4 +115,4 @@ class GuiEditor_SetupHandlingTests(BaseTestCase): self.assertTrue(saveSetupAs(self.driver, "Test2", True, False), "SaveAs overwrite checking is not ok") if __name__ == "__main__": - unittest.main(catchbreak=True) \ No newline at end of file + unittest.main(catchbreak=True, verbosity=2) \ No newline at end of file diff --git a/test/Selenium/RequestConsole_Tests.py b/test/Selenium/RequestConsole_Tests.py index d675f3f..a279e3e 100644 --- a/test/Selenium/RequestConsole_Tests.py +++ b/test/Selenium/RequestConsole_Tests.py @@ -346,4 +346,4 @@ class RequestConsole_SetupHandlingTests(BaseTestCase): self.assertEqual(expectedResponse, textInEditor, "sendData is not returning the expexted result") if __name__ == "__main__": - unittest.main(catchbreak=True) \ No newline at end of file + unittest.main(catchbreak=True, verbosity=2) \ No newline at end of file diff --git a/test/Selenium/runTests.py b/test/Selenium/runTests.py index 04f64c4..6aae24d 100755 --- a/test/Selenium/runTests.py +++ b/test/Selenium/runTests.py @@ -16,4 +16,4 @@ from GuiEditor_ConnectionTests import * from RequestConsole_Tests import * if __name__ == "__main__": - unittest.main(catchbreak=True) \ No newline at end of file + unittest.main(catchbreak=True, verbosity=2) \ No newline at end of file -- GitLab