Skip to content

Commit f661079

Browse files
committed
Adding view/edit profile feature
1 parent dbb638e commit f661079

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

features/users.feature

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
Feature: Manage account
2+
3+
As a user of this site, I can view and update my profile
4+
5+
Background: I am logged into the site
6+
Given I am a user with username "newbie" and password "password"
7+
And I sign in as "newbie/password"
8+
And I follow "newbie" within ".topbar"
9+
10+
Scenario: View my profile
11+
I should see "newbie's page"
12+
And I should see "About newbie"
13+
14+
Scenario: Edit my profile
15+
When I follow "Change My Settings"
16+
And I fill in the following:
17+
| About | Newbie likes to edit his profile|
18+
| Current password|password|
19+
And I press "Update"
20+
Then I should see "You updated your account successfully"
21+
When I follow "newbie" within ".topbar"
22+
Then I should see "Newbie likes to edit his profile"
23+

0 commit comments

Comments
 (0)