Beispiel #1
0
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')
Beispiel #3
0
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)
    )
Beispiel #4
0
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)
    )
Beispiel #5
0
def i_should_see_that_the_path_is(step, path):
    assert world.url_equals(path)
Beispiel #6
0
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))
Beispiel #7
0
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)
    )