From d87c0a9b4460b44e0ecca80dc69ece3b8b70a175 Mon Sep 17 00:00:00 2001 From: Pistos Date: Thu, 10 Nov 2011 11:20:31 -0500 Subject: [PATCH] Don't assume specific translation for aspects title. --- features/posts_from_main_page.feature | 2 +- features/step_definitions/custom_web_steps.rb | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/features/posts_from_main_page.feature b/features/posts_from_main_page.feature index b72c2fbd2..41bcddf12 100644 --- a/features/posts_from_main_page.feature +++ b/features/posts_from_main_page.feature @@ -199,7 +199,7 @@ Feature: posting from the main page And I press "Share" And I wait for the ajax to finish - When I follow "Your Aspects" + When I click the aspects title And I hover over the ".stream_element" And I preemptively reject the alert And I click to delete the first post diff --git a/features/step_definitions/custom_web_steps.rb b/features/step_definitions/custom_web_steps.rb index d909fde24..77e5f7e23 100644 --- a/features/step_definitions/custom_web_steps.rb +++ b/features/step_definitions/custom_web_steps.rb @@ -11,6 +11,10 @@ And /^I expand the publisher$/ do ') end +When 'I click the aspects title' do + find('.home_selector').click +end + When /^I press the aspect dropdown$/ do find('.dropdown .button').click end