From fca01047026f5f973a9bc661e5e7c5c98ddf4e2c Mon Sep 17 00:00:00 2001 From: jwollert Date: Mon, 16 Jan 2012 17:23:18 +0100 Subject: [PATCH] deleting fake-hover steps, as they've moved to cucumber plugin --- features/step_definitions/_when_steps.rb | 8 -------- 1 file changed, 8 deletions(-) diff --git a/features/step_definitions/_when_steps.rb b/features/step_definitions/_when_steps.rb index 896c71227c..280c51c898 100644 --- a/features/step_definitions/_when_steps.rb +++ b/features/step_definitions/_when_steps.rb @@ -138,14 +138,6 @@ When /^I click on the text "(.+?)"$/ do |locator| page.all(:xpath, %Q{//*[contains(., "#{locator}")]}, :message => msg).last.click end -When /^I hover over "([^"]+)"$/ do |selector| - page.execute_script "jQuery(#{selector.inspect}).addClass('hover');" -end - -When /^I stop hovering over "([^"]*)"$/ do |selector| - page.execute_script "jQuery(#{selector.inspect}).removeClass('hover');" -end - When /^I confirm the story form$/ do find(:xpath, XPath::HTML.fillable_field("subject")).native.send_key :return step 'I wait for AJAX requests to finish'