def selects (step, title): projectstory_form = find_last_projectstory_form() world.select_option_by_text("%s-story" % projectstory_form['id'], title)
def select_field_option(step, option_text, field_name, model): formatted_field_name = world.format_field_name(field_name) world.select_option_by_text(formatted_field_name, option_text) world.set_changed(model, formatted_field_name)