CMS acceptance tests now should not get stale element exception errors

This commit is contained in:
JonahStanley
2013-07-08 10:51:51 -04:00
parent f1dd81a67a
commit c53aac4596
13 changed files with 46 additions and 34 deletions

View File

@@ -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))