From 0ec4d44cb42a763a619c9e972c11eaaf7042e722 Mon Sep 17 00:00:00 2001 From: Sarah Mei Date: Mon, 5 Sep 2011 17:10:58 -0700 Subject: [PATCH] Wait for aspect toggles in mention feature too --- features/mentions_from_profile_page.feature | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/features/mentions_from_profile_page.feature b/features/mentions_from_profile_page.feature index b286780c1..fb9bb3b12 100644 --- a/features/mentions_from_profile_page.feature +++ b/features/mentions_from_profile_page.feature @@ -28,10 +28,12 @@ Feature: mentioning a contact from their profile page When I am on the aspects page And I follow "PostTo" within "#aspect_nav" + And I wait for the ajax to finish Then I should see "I am eating a yogurt" When I am on the aspects page And I follow "DidntPostTo" within "#aspect_nav" + And I wait for the ajax to finish Then I should see "I am eating a yogurt" Scenario: mentioning while posting to just one aspect @@ -46,8 +48,10 @@ Feature: mentioning a contact from their profile page When I am on the aspects page And I follow "PostTo" within "#aspect_nav" + And I wait for the ajax to finish Then I should see "I am eating a yogurt" When I am on the aspects page And I follow "DidntPostTo" within "#aspect_nav" + And I wait for the ajax to finish Then I should not see "I am eating a yogurt"