diff --git a/features/step_definitions/html_steps.rb b/features/step_definitions/html_steps.rb index 1df820a6..14b69d7a 100644 --- a/features/step_definitions/html_steps.rb +++ b/features/step_definitions/html_steps.rb @@ -58,7 +58,7 @@ end When /^I open the detailed view for "(.+)"$/ do |file_path| - click_on(file_path) + click_link(file_path, class: "src_link", title: file_path) expect(page).to have_css(".header h3", visible: true, text: file_path) end