add some unittest options for xmlrunner
This commit is contained in:
parent
e453befab6
commit
2b8e344532
|
@ -69,4 +69,4 @@ class SeleniumTest(unittest.TestCase):
|
||||||
assert self.driver.find_element(by=By.CSS_SELECTOR, value="#feedTree").is_displayed()
|
assert self.driver.find_element(by=By.CSS_SELECTOR, value="#feedTree").is_displayed()
|
||||||
|
|
||||||
with open('selenium-report.xml', 'wb') as output:
|
with open('selenium-report.xml', 'wb') as output:
|
||||||
unittest.main(testRunner=xmlrunner.XMLTestRunner(output=output))
|
unittest.main(testRunner=xmlrunner.XMLTestRunner(output=output), failfast=False, buffer=False, catchbreak=False)
|
||||||
|
|
Loading…
Reference in New Issue