summaryrefslogtreecommitdiff
path: root/features/projects
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dzaporozhets@sphereconsultinginc.com>2012-08-03 19:59:55 +0300
committerrandx <dmitriy.zaporozhets@gmail.com>2012-08-03 19:59:55 +0300
commit9844ddd43f20e84754759688fea39e1a0241bb06 (patch)
treed9b2f3a1a99424f88498caa4a640960f180686c0 /features/projects
parent1281c122c7a4edf2873aad13c22ea09ce6dc57c3 (diff)
downloadgitlab-ce-9844ddd43f20e84754759688fea39e1a0241bb06.tar.gz
Comments cucumber. More refactoring. Cucumber -> branches, tags
Diffstat (limited to 'features/projects')
-rw-r--r--features/projects/commits/branches.feature12
-rw-r--r--features/projects/commits/commit_comments.feature5
-rw-r--r--features/projects/commits/tags.feature3
-rw-r--r--features/projects/issues/issues.feature2
-rw-r--r--features/projects/project.feature11
-rw-r--r--features/projects/wiki.feature6
6 files changed, 34 insertions, 5 deletions
diff --git a/features/projects/commits/branches.feature b/features/projects/commits/branches.feature
index 2b136e1b582..74575c51c5a 100644
--- a/features/projects/commits/branches.feature
+++ b/features/projects/commits/branches.feature
@@ -2,9 +2,19 @@ Feature: Browse branches
Background:
Given I signin as a user
And I own project "Shop"
+ And project "Shop" has protected branches
Given I visit project branches page
- Scenario: I can see all git branches
+ Scenario: I can see project recent git branches
+ Then I should see "Shop" recent branches list
+
+ Scenario: I can see project all git branches
+ Given I click link "All"
+ Then I should see "Shop" all branches list
+
+ Scenario: I can see project protected git branches
+ Given I click link "Protected"
+ Then I should see "Shop" protected branches list
Scenario: I can download project by branch
diff --git a/features/projects/commits/commit_comments.feature b/features/projects/commits/commit_comments.feature
index bdf47b88fc3..9bd56d29f1e 100644
--- a/features/projects/commits/commit_comments.feature
+++ b/features/projects/commits/commit_comments.feature
@@ -4,4 +4,7 @@ Feature: Comment commit
And I own project "Shop"
Given I visit project commit page
- Scenario: I leave a comment for commit
+ @javascript
+ Scenario: I comment commit
+ Given I leave a comment like "XML attached"
+ Then I should see comment "XML attached"
diff --git a/features/projects/commits/tags.feature b/features/projects/commits/tags.feature
index 81221748500..f7899fc3ce0 100644
--- a/features/projects/commits/tags.feature
+++ b/features/projects/commits/tags.feature
@@ -5,7 +5,6 @@ Feature: Browse tags
Given I visit project tags page
Scenario: I can see all git tags
+ Then I should see "Shop" all tags list
Scenario: I can download project by tag
-
-
diff --git a/features/projects/issues/issues.feature b/features/projects/issues/issues.feature
index a45dd801696..180710cf6bc 100644
--- a/features/projects/issues/issues.feature
+++ b/features/projects/issues/issues.feature
@@ -35,4 +35,4 @@ Feature: Issues
Scenario: I comment issue
Given I visit issue page "Release 0.4"
And I leave a comment like "XML attached"
- Then I should see commetn "XML attached"
+ Then I should see comment "XML attached"
diff --git a/features/projects/project.feature b/features/projects/project.feature
new file mode 100644
index 00000000000..895a928ff81
--- /dev/null
+++ b/features/projects/project.feature
@@ -0,0 +1,11 @@
+Feature: Project
+ Background:
+ Given I signin as a user
+ And I own project "Shop"
+ And I visit project "Shop" page
+
+ Scenario: I should see project activity
+
+ Scenario: I edit project
+
+ Scenario: I visit attachments
diff --git a/features/projects/wiki.feature b/features/projects/wiki.feature
index ed69e87c91a..4441ada2847 100644
--- a/features/projects/wiki.feature
+++ b/features/projects/wiki.feature
@@ -7,3 +7,9 @@ Feature: Wiki
Scenario: Add new page
Given I create Wiki page
Then I should see newly created wiki page
+
+ @javascript
+ Scenario: I comment wiki page
+ Given I create Wiki page
+ And I leave a comment like "XML attached"
+ Then I should see comment "XML attached"