Did I find the right examples for you? yes no

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/a/t/atlas-HEAD/terrain.py   atlas(Download)
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)
 

src/a/t/atlas-HEAD/apps/storybase_user/features/add_story_to_project-steps.py   atlas(Download)
def selects (step, title):
    projectstory_form = find_last_projectstory_form()
    world.select_option_by_text("%s-story" % projectstory_form['id'], title)
 
@step(u'Then the Project\'s featured story should be "([^"]*)"')