2015-12-05 05:11:53 +08:00
|
|
|
""" 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):
|
2016-04-30 08:41:03 +08:00
|
|
|
self.open("http://xkcd.com/731/")
|
2016-05-31 05:08:32 +08:00
|
|
|
self.assert_element("div#ARMY_OF_ROBOTS", timeout=0.7)
|