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
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
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))
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
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))
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))
def step_impl(context): context.task = "customer" tm.select_task(context.driver, context.task) assert True is not False