From 30deeeb74764011308ba72f59a995b41a85a2b01 Mon Sep 17 00:00:00 2001 From: Tobias Pfeiffer Date: Sun, 26 Jan 2020 20:11:13 +0100 Subject: [PATCH] attempt at fixing flaky --- features/step_definitions/html_steps.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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