Beispiel #1
0
def step_impl(context):
    driver = tm.setup_webdriver()
    tm.load_heroku(driver)
    tm.login(driver)
    context.driver = driver
    tm.select_task(context.driver, "staff")
    pass
Beispiel #2
0
def step_impl(context):
    driver = tm.setup_webdriver()
    tm.load_heroku(driver)
    tm.login(driver)
    context.driver = driver
    tm.select_task(context.driver, "customer")
    tm.select_table(context.driver)
    pass
Beispiel #3
0
def step_impl(context):
    context.driver.quit()
    driver = tm.setup_webdriver()
    context.driver = driver
    tm.load_heroku(context.driver)
    tm.login(context.driver)
    tm.select_task(context.driver, "staff")
    assert (tm.verify_new_order(context.driver))
Beispiel #4
0
def step_impl(context):
    driver = tm.setup_webdriver()
    tm.load_heroku(driver)
    tm.login(driver)
    context.driver = driver
    context.task = "manager"
    tm.select_task(context.driver, context.task)
    assert True is not False
Beispiel #5
0
def step_impl(context):
    driver = tm.setup_webdriver()
    tm.load_heroku(driver)
    tm.login(driver)
    context.driver = driver
    context.task = "customer"
    tm.select_task(context.driver, context.task)
    tm.select_table(context.driver)
    assert (tm.select_category(context.driver))
Beispiel #6
0
def step_impl(context):
    tm.back_to_log_in(context.driver)
    tm.login(context.driver)
    tm.select_task(context.driver, "staff")
    assert (tm.check_help_requests(context.driver))
Beispiel #7
0
def step_impl(context):
    driver = tm.setup_webdriver()
    tm.load_heroku(driver)
    tm.login(driver)
    context.driver = driver
    pass