Refactor reports
- Refactor reports
--> (See below for an example in the new format) - Refresh Python dependencies
-->rich==12.6.0
Here's an example of a basic_test_info.txt
report in the new format:
test_fail.py::FailingTests::test_find_army_of_robots_on_xkcd_desert_island
--------------------------------------------------------------------
Last Page: https://xkcd.com/731/
Duration: 1.59s
Browser: Chrome 105.0.5195.125 / headless
Driver: chromedriver 105.0.5195.52
Timestamp: 1664724374 (Unix Timestamp)
Date: Sunday, October 2, 2022
Time: 11:26:14 AM (EDT, UTC-05:00)
--------------------------------------------------------------------
Traceback: File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/unittest/case.py", line 591, in run
self._callTestMethod(testMethod)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/unittest/case.py", line 549, in _callTestMethod
method()
File "/Users/michael/github/SeleniumBase/examples/test_fail.py", line 16, in test_find_army_of_robots_on_xkcd_desert_island
self.assert_element("div#ARMY_OF_ROBOTS", timeout=1)
File "/Users/michael/github/SeleniumBase/seleniumbase/fixtures/base_case.py", line 10414, in assert_element
self.wait_for_element_visible(selector, by=by, timeout=timeout)
File "/Users/michael/github/SeleniumBase/seleniumbase/fixtures/base_case.py", line 7786, in wait_for_element_visible
return page_actions.wait_for_element_visible(
File "/Users/michael/github/SeleniumBase/seleniumbase/fixtures/page_actions.py", line 420, in wait_for_element_visible
timeout_exception(NoSuchElementException, message)
File "/Users/michael/github/SeleniumBase/seleniumbase/fixtures/page_actions.py", line 189, in timeout_exception
raise exc(msg)
Exception: Message:
Element {div#ARMY_OF_ROBOTS} was not present after 1 second!