From 93c70f0649066ef7f90282ffab36cb84d5211899 Mon Sep 17 00:00:00 2001 From: danielgrippi Date: Sun, 23 Oct 2011 19:05:31 -0700 Subject: [PATCH] one cuke failing in changes_password.feature --- features/accepts_invitation.feature | 4 ++-- features/change_password.feature | 2 +- features/infinite_scroll.feature | 1 + features/notifications.feature | 4 ++-- features/reshare.feature | 19 ++++++++++++++++++- features/signs_up.feature | 4 ++-- 6 files changed, 26 insertions(+), 8 deletions(-) diff --git a/features/accepts_invitation.feature b/features/accepts_invitation.feature index c9055a0c5..e4cea64c0 100644 --- a/features/accepts_invitation.feature +++ b/features/accepts_invitation.feature @@ -22,7 +22,7 @@ Feature: invitation acceptance And I press "Update Profile" And I should see "Welcome" When I follow "Finished" - Then I should be on the aspects page + Then I should be on the multi page Scenario: accept invitation from user Given I have been invited by a user @@ -46,7 +46,7 @@ Feature: invitation acceptance And I press "Update Profile" And I should see "Welcome" When I follow "Finished" - Then I should be on the aspects page + Then I should be on the multi page Scenario: sends an invitation Given a user with email "bob@bob.bob" diff --git a/features/change_password.feature b/features/change_password.feature index 9f11263e7..6299756d4 100644 --- a/features/change_password.feature +++ b/features/change_password.feature @@ -13,7 +13,7 @@ Feature: Change password Then I should see "Password changed" Then I should be on the new user session page When I sign in with password "newsecret" - Then I should be on the aspects page + Then I should be on the mutli page Scenario: Reset my password Given a user with email "forgetful@users.net" diff --git a/features/infinite_scroll.feature b/features/infinite_scroll.feature index 323c6bea2..81425e55a 100644 --- a/features/infinite_scroll.feature +++ b/features/infinite_scroll.feature @@ -8,6 +8,7 @@ Feature: infinite scroll Given many posts from alice for bob And I resize my window to 800x600 And I sign in as "bob@bob.bob" + And I follow "Your Aspects" And I wait for the ajax to finish Scenario: on the main stream by activity diff --git a/features/notifications.feature b/features/notifications.feature index ec1d96f93..67f364aac 100644 --- a/features/notifications.feature +++ b/features/notifications.feature @@ -55,9 +55,9 @@ Feature: Notifications And I wait for the ajax to finish Then the notification dropdown should be visible And I wait for the ajax to finish - Then I should see "just liked your post" + Then I should see "liked your post" When I follow "View all" - Then I should see "just liked your post" + Then I should see "liked your post" And I should have 1 email delivery Scenario: someone comments on my post diff --git a/features/reshare.feature b/features/reshare.feature index 980a70348..5f709c5a1 100644 --- a/features/reshare.feature +++ b/features/reshare.feature @@ -39,7 +39,11 @@ Feature: public repost When I go to the destroy user session page And I sign in as "bob@bob.bob" + + # NOTE(why do we need this to make this work?) + And I wait for 2 seconds And I go to the home page + Then I should see "reshare this!" And I should not see "Reshare original" @@ -50,7 +54,10 @@ Feature: public repost And I follow "Reshare" And I wait for the ajax to finish + # NOTE(why do we need this to make this work?) + And I wait for 2 seconds And I go to the home page + Then I should see a ".reshare" And I should see "reshare this!" And I should see "Bob" @@ -77,7 +84,10 @@ Feature: public repost And I follow "Reshare" And I wait for the ajax to finish + # NOTE(why do we need this to make this work?) + And I wait for 2 seconds And I go to the home page + And I wait for the ajax to finish Then I should see a ".reshare" And I should see "reshare this!" @@ -90,7 +100,10 @@ Feature: public repost And I follow "Reshare" And I wait for the ajax to finish + # NOTE(why do we need this to make this work?) + And I wait for 2 seconds And I go to the home page + Then I should see a ".reshare" And I should see "reshare this!" And I should see "Bob" @@ -110,12 +123,16 @@ Feature: public repost And I wait for the ajax to finish And I preemptively confirm the alert And I follow "Reshare" - And I wait for the ajax to finish + # NOTE(why do we need this to make this work?) + And I wait for 2 seconds When I go to the home page + Then I should see a ".reshare" And I should see "reshare this!" And I should see "Bob" + # NOTE(why do we need this to make this work?) + And I wait for 2 seconds When I go to the home page Then I should see "1 reshare" diff --git a/features/signs_up.feature b/features/signs_up.feature index 3149f729e..a6fd97077 100644 --- a/features/signs_up.feature +++ b/features/signs_up.feature @@ -27,9 +27,9 @@ Feature: new user registration And I should see "Welcome" And I follow "Finished" - Then I should be on the aspects page + Then I should be on the multi page And I should not see "Finished" Scenario: new user skips the setup wizard When I follow "Finished" - Then I should be on the aspects page + Then I should be on the multi page