Commit f652a5d8 by JonahStanley

Small wording fix

parent 260659cf
......@@ -162,12 +162,12 @@ def dialogs_are_closed(step):
@step('I confirm all alerts')
def i_confirm_with_ok(step):
def i_confirm_all_alerts(step):
world.browser.execute_script('window.confirm = function(){return true;} ; window.alert = function(){return;}')
@step('I cancel all alerts')
def i_dismiss_with_ok(step):
def i_cancel_all_alerts(step):
world.browser.execute_script('window.confirm = function(){return false;} ; window.alert = function(){return;}')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment