diff --git a/modules/ve-mw/test/browser/features/step_definitions/links_steps.rb b/modules/ve-mw/test/browser/features/step_definitions/links_steps.rb index e8f2529853..77b0a7460d 100644 --- a/modules/ve-mw/test/browser/features/step_definitions/links_steps.rb +++ b/modules/ve-mw/test/browser/features/step_definitions/links_steps.rb @@ -4,7 +4,7 @@ When(/^I click the Link button$/) do end Given(/^I can see the Link User Inteface$/) do - on(VisualEditorPage).ve_link_ui.should match Regexp.escape("Hyperlink") + on(VisualEditorPage).ve_link_ui.when_present.should match Regexp.escape("Hyperlink") end When(/^I click the blue text$/) do