def press_start_button(context): return steps.send_event(context, 'input_cooking_start')
def open_the_door(context): return steps.send_event(context, 'door_opened')
def place_an_item(context): return steps.send_event(context, 'item_placed')
def increase_cooking_duration(context): return steps.send_event(context, 'input_timer_inc')
def seconds_elapsed(context, seconds): for i in range(seconds): steps.send_event(context, 'timer_tick')
def close_the_door(context): return steps.send_event(context, 'door_closed')
def stop_button(context): steps.send_event(context, 'input_cooking_stop')
def reset_power(context): steps.send_event(context, 'input_power_reset')
def decrease_power(context, time=1): for i in range(time): steps.send_event(context, 'input_power_dec')
def decrease_cooking_duration(context, time=1): for i in range(time): steps.send_event(context, 'input_timer_dec')
def remove_the_item(context): steps.send_event(context, 'item_removed')