13 lines
405 B
Python
Executable File
13 lines
405 B
Python
Executable File
""" This test was made to fail on purpose to demonstrate the
|
|
logging capabilities of the SeleniumBase Test Framework """
|
|
|
|
from seleniumbase import BaseCase
|
|
|
|
|
|
class MyTestClass(BaseCase):
|
|
|
|
def test_find_army_of_robots_on_xkcd_desert_island(self):
|
|
self.open("http://xkcd.com/731/")
|
|
print("\n(This test fails on purpose)")
|
|
self.assert_element("div#ARMY_OF_ROBOTS", timeout=1)
|