def assert_single_selected(step, option_name, select_name): option_box = find_option(world.browser, select_name, option_name) assert_true(step, option_box.is_selected())
def select_single_item(step, option_name, select_name): with AssertContextManager(step): option_box = find_option(world.browser, select_name, option_name) option_box.click()
def select_single_item(step, option_name, select_name): option_box = find_option(world.browser, select_name, option_name) option_box.select()