Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Milan
diaspora
Commits
30baff22
Commit
30baff22
authored
Jan 26, 2011
by
Dan Goldenberg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added close_account feature and added scenarios to other features
parent
0ba98890
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
58 additions
and
4 deletions
+58
-4
features/change_password.feature
features/change_password.feature
+1
-2
features/close_account.feature
features/close_account.feature
+17
-0
features/edits_profile.feature
features/edits_profile.feature
+30
-1
features/manages_aspects.feature
features/manages_aspects.feature
+9
-1
features/signs_up.feature
features/signs_up.feature
+1
-0
No files found.
features/change_password.feature
View file @
30baff22
...
@@ -15,5 +15,4 @@ Feature: Change password
...
@@ -15,5 +15,4 @@ Feature: Change password
And
I follow
"logout"
And
I follow
"logout"
Then
I should be on the home page
Then
I should be on the home page
And
I sign in with password
"newsecret"
And
I sign in with password
"newsecret"
Then
I should be on the aspects page
Then
I should be on the aspects page
\ No newline at end of file
features/close_account.feature
0 → 100644
View file @
30baff22
@javascript
Feature
:
close_account
In order to remove my diaspora account
As a User
I want to close my account
Scenario
:
close my account
Given
I am signed in
And
I click on my name in the header
And
I follow
"account settings"
And
I preemptively confirm the alert
And
I follow
"Close Account"
Then
I should be on the home page
features/edits_profile.feature
View file @
30baff22
@javascript
@javascript
Feature
:
editing your profile
Feature
:
editing your profile
Scenario
:
editing gender with a textbox
Background
:
Given
I am signed in
Given
I am signed in
And
I click on my name in the header
And
I click on my name in the header
And
I follow
"edit profile"
And
I follow
"edit profile"
Then
I should be on my edit profile page
Then
I should be on my edit profile page
Scenario
:
editing gender with a textbox
When
I fill in
"profile_gender"
with
"F"
When
I fill in
"profile_gender"
with
"F"
And
I press
"Update Profile"
And
I press
"Update Profile"
Then
I should be on my edit profile page
Then
I should be on my edit profile page
And
I should see
"Profile updated"
And
I should see
"Profile updated"
And
the
"profile_gender"
field should contain
"F"
And
the
"profile_gender"
field should contain
"F"
Scenario
:
editing name
When
I fill in
"profile_first_name"
with
"Boba"
And
I fill in
"profile_last_name"
with
"Fett"
And
I press
"Update Profile"
Then
I should be on my edit profile page
And
I should see
"Profile updated"
And
the
"profile_first_name"
field should contain
"Boba"
And
the
"profile_last_name"
field should contain
"Fett"
Scenario
:
edit bio
When
I fill in
"profile_bio"
with
"This is a bio"
And
I press
"Update Profile"
Then
I should be on my edit profile page
And
I should see
"Profile updated"
And
the
"profile_bio"
field should contain
"This is a bio"
Scenario
:
change birthday
When
I select
"1986"
from
"profile_date_year"
And
I select
"November"
from
"profile_date_month"
And
I select
"30"
from
"profile_date_day"
And
I press
"Update Profile"
Then
I should be on my edit profile page
And
I should see
"Profile updated"
And
I click on my name in the header
And
I follow
"view profile"
Then
I should see
"November 30 1986"
\ No newline at end of file
features/manages_aspects.feature
View file @
30baff22
...
@@ -4,7 +4,7 @@ Feature: User manages aspects
...
@@ -4,7 +4,7 @@ Feature: User manages aspects
As a User
As a User
I want to create new aspects
I want to create new aspects
Scenario
:
creating an aspect
Scenario
:
creating an aspect
from manage aspects page
Given
I am signed in
Given
I am signed in
When
I follow
"Home"
in the header
When
I follow
"Home"
in the header
And
I follow
"Manage aspects"
And
I follow
"Manage aspects"
...
@@ -12,3 +12,11 @@ Feature: User manages aspects
...
@@ -12,3 +12,11 @@ Feature: User manages aspects
And
I fill in
"Name"
with
"Dorm Mates"
in the modal window
And
I fill in
"Name"
with
"Dorm Mates"
in the modal window
And
I press
"Create"
in the modal window
And
I press
"Create"
in the modal window
Then
I should see
"Dorm Mates"
in the header
Then
I should see
"Dorm Mates"
in the header
Scenario
:
creating an aspect from homepage
Given
I am signed in
When
I follow
"Home"
in the header
And
I follow
"+"
in the header
And
I fill in
"Name"
with
"losers"
in the modal window
And
I press
"Create"
in the modal window
Then
I should see
"losers"
in the header
features/signs_up.feature
View file @
30baff22
...
@@ -18,6 +18,7 @@ Feature: new user registration
...
@@ -18,6 +18,7 @@ Feature: new user registration
And
I press
"Save and continue"
And
I press
"Save and continue"
Then
I should see
"Profile updated"
Then
I should see
"Profile updated"
And
I should see
"Your aspects"
And
I should see
"Your aspects"
# Not working with selenium - it thinks the aspect name field is hidden
# Not working with selenium - it thinks the aspect name field is hidden
# When I fill in "Aspect name" with "cheez friends"
# When I fill in "Aspect name" with "cheez friends"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment