diff --git a/modules/ve-mw/tests/browser/features/step_definitions/shared_steps.rb b/modules/ve-mw/tests/browser/features/step_definitions/shared_steps.rb index 7b403895ab..5c18e84e6e 100644 --- a/modules/ve-mw/tests/browser/features/step_definitions/shared_steps.rb +++ b/modules/ve-mw/tests/browser/features/step_definitions/shared_steps.rb @@ -4,7 +4,7 @@ Given(/^I am on the (.+) page$/) do |article| end Given(/^I click in the editable part$/) do - on(VisualEditorPage).content_element.send_keys('') + on(VisualEditorPage).content_element.when_present.send_keys('') end Given(/^I go to the browser specific edit page page$/) do