From 6444acea6337b93d600435718b56824686310472 Mon Sep 17 00:00:00 2001 From: Ann Mwangi Date: Mon, 13 Jul 2015 17:01:40 +0300 Subject: [PATCH] correcting quality tests --- features/step_definitions/web_steps.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/step_definitions/web_steps.rb b/features/step_definitions/web_steps.rb index a999a6a9e..eb847f2ea 100644 --- a/features/step_definitions/web_steps.rb +++ b/features/step_definitions/web_steps.rb @@ -343,6 +343,6 @@ def with_scope(locator) page.driver.browser.switch_to.alert.accept end -When(/^I follow "(.*?)" for enquiry records$/) do |arg1| +When(/^I follow "(.*?)" for enquiry records$/) do |_arg| find(:xpath, "//span[@class='export']").click end