def step_impl(context, resume, comments): context.page.resume.send_keys(get_full_path(resume)) context.page.clear_send_keys('comments', {'comments': modify_value(comments)}) context.fc_data['comments'] = comments
def step_impl(context): context.customer_information = {head: modify_value(row[head]) for head in context.table.headings for row in context.table.rows} context.page.register_with(context.customer_information)
def step_impl(context, goals): context.page.clear_send_keys('goals', {'goals': modify_value(goals)}) context.fc_data['goals'] = goals
def step_impl(context, username, email, password): user = {} user.update(username=modify_value(username)) user.update(email=modify_value(email)) user.update(password=modify_value(password)) context.page.create_new_user(**user)