diff --git a/modules/ve-mw/test/browser/features/step_definitions/shared_steps.rb b/modules/ve-mw/test/browser/features/step_definitions/shared_steps.rb index 0ca92cd96a..e320d3a263 100644 --- a/modules/ve-mw/test/browser/features/step_definitions/shared_steps.rb +++ b/modules/ve-mw/test/browser/features/step_definitions/shared_steps.rb @@ -17,7 +17,7 @@ When(/^I click Looks good to me$/) do end When(/^I click This is a minor edit$/) do - on(VisualEditorPage).minor_edit_element.when_present.click + on(VisualEditorPage).minor_edit_element.when_present(10).click end When(/^I click Save page$/) do