Esempio n. 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')
Esempio n. 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)
    )
Esempio n. 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)
    )
Esempio n. 5
0
def i_should_see_that_the_path_is(step, path):
    assert world.url_equals(path)
Esempio n. 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))
Esempio n. 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)
    )