fixed all cukes except features/closes_account_feature:21
This commit is contained in:
parent
cd2647c029
commit
94e6120714
8 changed files with 10 additions and 7 deletions
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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."
|
||||
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in a new issue