diff --git a/features/change_email.feature b/features/change_email.feature index 14b6d5bbe..a5eb2389b 100644 --- a/features/change_email.feature +++ b/features/change_email.feature @@ -4,7 +4,7 @@ Feature: Change email Scenario: Change my email Given I am signed in And I click on my name in the header - And I follow "settings" + And I follow "Settings" Then I should be on my account settings page When I fill in "user_email" with "new_email@newplac.es" And I press "Change email" diff --git a/features/change_password.feature b/features/change_password.feature index 979cf3b2a..9f11263e7 100644 --- a/features/change_password.feature +++ b/features/change_password.feature @@ -4,7 +4,7 @@ Feature: Change password Scenario: Change my password Given I am signed in And I click on my name in the header - And I follow "settings" + And I follow "Settings" Then I should be on my account settings page When I put in my password in "user_current_password" And I fill in "user_password" with "newsecret" diff --git a/features/closes_account.feature b/features/closes_account.feature index 589f15be6..c0ccfcc1d 100644 --- a/features/closes_account.feature +++ b/features/closes_account.feature @@ -7,7 +7,7 @@ Feature: Close Account Scenario: user closes account Given I am signed in When I click on my name in the header - And I follow "settings" + And I follow "Settings" And I preemptively confirm the alert And I follow "Close Account" Then I should be on the home page @@ -30,7 +30,7 @@ Feature: Close Account And I log out Then I sign in as "bob@bob.bob" When I click on my name in the header - And I follow "settings" + And I follow "Settings" And I preemptively confirm the alert And I follow "Close Account" Then I sign in as "alice@alice.alice" diff --git a/features/edits_profile.feature b/features/edits_profile.feature index 0a9789615..d225efd76 100644 --- a/features/edits_profile.feature +++ b/features/edits_profile.feature @@ -4,7 +4,7 @@ Feature: editing your profile Background: Given I am signed in And I click on my name in the header - And I follow "profile" + And I follow "Profile" And I follow "Edit my profile" Then I should be on my edit profile page diff --git a/features/logs_in_and_out.feature b/features/logs_in_and_out.feature index 77f62a170..61f1c4021 100644 --- a/features/logs_in_and_out.feature +++ b/features/logs_in_and_out.feature @@ -12,7 +12,7 @@ Feature: user authentication Scenario: user logs out Given I am signed in And I click on my name in the header - And I follow "log out" + And I follow "Log out" Then I should be on the logged out page And I should see "Now go mobile." diff --git a/features/manages_aspects.feature b/features/manages_aspects.feature index 1f4d0c7c0..590a4c26f 100644 --- a/features/manages_aspects.feature +++ b/features/manages_aspects.feature @@ -76,6 +76,7 @@ Feature: User manages contacts And I have 0 contacts And I am on the home page + And I click on my name in the header When I follow "Contacts" Then I should see "Featured Users" within ".span-18" @@ -92,5 +93,6 @@ Feature: User manages contacts And I have 2 contacts And I am on the home page + And I click on my name in the header When I follow "Contacts" Then I should not see "Featured Users" within "#section_header" diff --git a/features/step_definitions/session_steps.rb b/features/step_definitions/session_steps.rb index 6ca42600a..a58407d3e 100644 --- a/features/step_definitions/session_steps.rb +++ b/features/step_definitions/session_steps.rb @@ -39,5 +39,5 @@ end When /^I (?:log|sign) out$/ do When 'I click on my name in the header' - And 'I follow "log out"' + And 'I follow "Log out"' end diff --git a/features/stops_following_users.feature b/features/stops_following_users.feature index 3f6d54119..b2d38635d 100644 --- a/features/stops_following_users.feature +++ b/features/stops_following_users.feature @@ -27,6 +27,7 @@ Feature: Unfollowing Scenario: stop following someone while on the aspect edit page When I go to the home page + And I click on my name in the header And I follow "Contacts" And I follow "Besties" And I follow "Add contacts to Besties"