def i_should_see_that_the_path_is(step, path): assert world.url_equals(path)
def i_am_on_the_dashboard_page(step): assert world.is_css_present('section.courses') assert world.url_equals('/dashboard')
def i_should_see_that_the_path_is(step, path): if 'COURSE' in world.scenario_dict: path = path.format(world.scenario_dict['COURSE'].id) assert world.url_equals(path), ( "path should be {!r} but is {!r}".format(path, world.browser.url) )
def i_should_see_that_the_path_is(step, path): assert world.url_equals(path), ("path should be {!r} but is {!r}".format( path, world.browser.url))
def i_should_see_that_the_path_is(step, path): assert world.url_equals(path), ( "path should be {!r} but is {!r}".format(path, world.browser.url) )