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