diff --git a/features/step_definitions/selenium_steps.rb b/features/step_definitions/selenium_steps.rb index ab1226ef..26963e12 100644 --- a/features/step_definitions/selenium_steps.rb +++ b/features/step_definitions/selenium_steps.rb @@ -25,7 +25,7 @@ end When /^I press order$/ do - selenium.click "order_icon" + selenium.click "css=button.order_icon" end When /^I hover over the "([^\"]*)" link$/ do |link|