CMS acceptance tests now should not get stale element exception errors
This commit is contained in:
@@ -61,7 +61,7 @@ def i_select_a_link_to_the_course_outline(step):
|
||||
|
||||
@step('I am brought to the course outline page$')
|
||||
def i_am_brought_to_course_outline(step):
|
||||
assert_in('Course Outline', world.css_find('.outline .page-header')[0].text)
|
||||
assert_in('Course Outline', world.css_text('.outline .page-header'))
|
||||
assert_equal(1, len(world.browser.windows))
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user