diff --git a/testsuite/features/step_definitions/navigation_steps.rb b/testsuite/features/step_definitions/navigation_steps.rb index fa9474ac30a..fc83167be52 100644 --- a/testsuite/features/step_definitions/navigation_steps.rb +++ b/testsuite/features/step_definitions/navigation_steps.rb @@ -678,8 +678,8 @@ # # Test for a visible link in the whole page # -Then(/^I should see a "([^"]*)" text$/) do |text| - raise ScriptError, "Link #{text} is not visible" unless check_text_and_catch_request_timeout_popup?(text) +Then(/^I should see a "([^"]*)" link$/) do |text| + raise ScriptError, "Link #{text} is not visible" unless has_link?(text) end #