Skip to content

Commit

Permalink
Fix failed tests for links
Browse files Browse the repository at this point in the history
  • Loading branch information
bisht-richa committed Jan 3, 2025
1 parent 60aa13d commit 3e3963c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions testsuite/features/step_definitions/navigation_steps.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

#
Expand Down

0 comments on commit 3e3963c

Please sign in to comment.