|
1 |
| -examples.test_fail.MyTestClass.test_find_army_of_robots_on_xkcd_desert_island |
2 |
| ----------------------------------------------------- |
| 1 | +test_fail.py::FailingTests::test_find_army_of_robots_on_xkcd_desert_island |
| 2 | +-------------------------------------------------------------------- |
3 | 3 | Last Page: https://xkcd.com/731/
|
4 |
| - Browser: firefox |
5 |
| -Timestamp: 1599068455 (Unix Timestamp) |
6 |
| - Date: Wednesday, September 2, 2020 |
7 |
| - Time: 1:40:55 PM (EDT, UTC-05:00) |
8 |
| ----------------------------------------------------- |
9 |
| -Traceback: File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 615, in run |
10 |
| - testMethod() |
11 |
| - File "/Users/michael/github/SeleniumBase/examples/test_fail.py", line 17, in test_find_army_of_robots_on_xkcd_desert_island |
| 4 | + Duration: 1.63s |
| 5 | + Browser: Chrome 108.0.5359.124 |
| 6 | + Driver: chromedriver 108.0.5359.71 |
| 7 | +Timestamp: 1672785363 (Unix Timestamp) |
| 8 | + Date: Tuesday, January 3, 2023 |
| 9 | + Time: 5:36:03 PM (EDT, UTC-05:00) |
| 10 | +-------------------------------------------------------------------- |
| 11 | +Traceback: File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/unittest/case.py", line 57, in testPartExecutor |
| 12 | + yield |
| 13 | + File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/unittest/case.py", line 623, in run |
| 14 | + self._callTestMethod(testMethod) |
| 15 | + File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/unittest/case.py", line 579, in _callTestMethod |
| 16 | + if method() is not None: |
| 17 | + ^^^^^^^^ |
| 18 | + File "/Users/michael/github/SeleniumBase/examples/test_fail.py", line 16, in test_find_army_of_robots_on_xkcd_desert_island |
12 | 19 | self.assert_element("div#ARMY_OF_ROBOTS", timeout=1)
|
13 |
| - File "/Users/michael/github/SeleniumBase/seleniumbase/fixtures/base_case.py", line 4931, in assert_element |
| 20 | + File "/Users/michael/github/SeleniumBase/seleniumbase/fixtures/base_case.py", line 8279, in assert_element |
14 | 21 | self.wait_for_element_visible(selector, by=by, timeout=timeout)
|
15 |
| - File "/Users/michael/github/SeleniumBase/seleniumbase/fixtures/base_case.py", line 3290, in wait_for_element_visible |
16 |
| - self.driver, selector, by, timeout) |
17 |
| - File "/Users/michael/github/SeleniumBase/seleniumbase/fixtures/page_actions.py", line 299, in wait_for_element_visible |
| 22 | + File "/Users/michael/github/SeleniumBase/seleniumbase/fixtures/base_case.py", line 7718, in wait_for_element_visible |
| 23 | + return page_actions.wait_for_element_visible( |
| 24 | + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 25 | + File "/Users/michael/github/SeleniumBase/seleniumbase/fixtures/page_actions.py", line 428, in wait_for_element_visible |
18 | 26 | timeout_exception(NoSuchElementException, message)
|
19 |
| - File "/Users/michael/github/SeleniumBase/seleniumbase/fixtures/page_actions.py", line 117, in timeout_exception |
20 |
| - raise exc(message) |
| 27 | + File "/Users/michael/github/SeleniumBase/seleniumbase/fixtures/page_actions.py", line 191, in timeout_exception |
| 28 | + raise exc(msg) |
| 29 | + |
21 | 30 | Exception: Message:
|
22 | 31 | Element {div#ARMY_OF_ROBOTS} was not present after 1 second!
|
0 commit comments