Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
24 lines (21 sloc) 771 Bytes
Feature: Edit Profile
In order to keep their information up-to-date
A user
Should be able to edit their profile
Scenario: Edit Handle
Given I have signed in with "john@example.com"
And my handle is "johndoe"
And I am on my edit profile page
When I fill in "Handle" with "john_doe"
And I press "Update"
Then I should see "john_doe"
And I should not see "johndoe"
Scenario: Update with existing handle
Given the following user exists:
| email | handle |
| janedoe@example.com | some_doe |
And I have signed in with "johndoe@example.com"
And I am on my edit profile page
When I fill in "Handle" with "some_doe"
And I press "Update"
Then I should see "Handle has already been taken"
Something went wrong with that request. Please try again.