add spinach steps for remaining features

This commit is contained in:
Nihad Abbasov 2012-09-10 06:35:23 -07:00
parent 698500dd78
commit b58155113b
16 changed files with 357 additions and 24 deletions

View file

@ -1,10 +1,10 @@
Feature: Merge Requests
Feature: Project Merge Requests
Background:
Given I signin as a user
Given I sign in as a user
And I own project "Shop"
And project "Shop" have "Bug NS-04" open merge request
And project "Shop" have "Feature NS-03" closed merge request
And I visit project "Shop" merge requests page
And I visit project "Shop" merge requests page
Scenario: I should see open merge requests
Then I should see "Bug NS-04" in merge requests

View file

@ -1,10 +1,9 @@
@javascript
Feature: Project Network Graph
Background:
Given I signin as a user
Given I sign in as a user
And I own project "Shop"
And I visit project "Shop" network page
@javascript
Scenario: I should see project network
Then page should have network graph

View file

@ -1,11 +1,14 @@
Feature: Project
Feature: Projects
Background:
Given I signin as a user
And I own project "Shop"
And I visit project "Shop" page
And I visit project "Shop" page
Scenario: I should see project activity
# @wip
# Scenario: I should see project activity
Scenario: I edit project
# @wip
# Scenario: I edit project
Scenario: I visit attachments
# @wip
# Scenario: I visit attachments

View file

@ -1,11 +1,11 @@
Feature: Project Team management
Background:
Given I signin as a user
Background:
Given I sign in as a user
And I own project "Shop"
And gitlab user "Mike"
And gitlab user "Sam"
And gitlab user "Mike"
And gitlab user "Sam"
And "Sam" is "Shop" developer
And I visit project "Shop" team page
And I visit project "Shop" team page
Scenario: See all team members
Then I should be able to see myself in team
@ -20,7 +20,7 @@ Feature: Project Team management
Scenario: Update user access
Given I should see "Sam" in team list as "Developer"
And I change "Sam" role to "Reporter"
Then I visit project "Shop" team page
Then I visit project "Shop" team page
And I should see "Sam" in team list as "Reporter"
Scenario: View team member profile
@ -30,6 +30,5 @@ Feature: Project Team management
Scenario: Cancel team member
Given I click link "Sam"
And I click link "Remove from team"
Then I visit project "Shop" team page
Then I visit project "Shop" team page
And I should not see "Sam" in team list

View file

@ -7,11 +7,12 @@ Feature: Project Wall
Background:
Given I signin as a user
And I own project "Shop"
And I visit project "Shop" wall page
And I visit project "Shop" wall page
@javascript
Scenario: Write comment
Given I write new comment "my special test message"
Then I should see project wall note "my special test message"
Then I visit project "Shop" wall page
Then I visit project "Shop" wall page
And I should see project wall note "my special test message"

View file

@ -1,6 +1,6 @@
Feature: Wiki
Background:
Given I signin as a user
Feature: Project Wiki
Background:
Given I sign in as a user
And I own project "Shop"
Given I visit project wiki page