Did I find the right examples for you? yes no

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

src/a/t/atlas-HEAD/apps/storybase_user/features/add_story_to_project-steps.py   atlas(Download)
def change_story_weight(step, title, weight):
    for projectstory_form in world.browser.find_by_css('.dynamic-projectstory_set'):
        projectstory_id = projectstory_form['id']
        if world.option_selected_by_text("%s-story" % projectstory_id, title):
            world.browser.fill("%s-weight" % projectstory_id, weight)
def remove_story(step, title):
    for projectstory_form in world.browser.find_by_css('.dynamic-projectstory_set'):
        projectstory_id = projectstory_form['id']
        if world.option_selected_by_text("%s-story" % projectstory_id, title):
            world.browser.check("%s-DELETE" % projectstory_id)