summaryrefslogtreecommitdiff
path: root/features/projects
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dzaporozhets@sphereconsultinginc.com>2012-08-03 19:49:54 +0300
committerDmitriy Zaporozhets <dzaporozhets@sphereconsultinginc.com>2012-08-03 19:49:54 +0300
commit1281c122c7a4edf2873aad13c22ea09ce6dc57c3 (patch)
tree12bfd6b27c27919787d65f0a93551e652a894915 /features/projects
parentb846ac10597d832bd4b03ee65a026fcf4f9480f2 (diff)
downloadgitlab-ce-1281c122c7a4edf2873aad13c22ea09ce6dc57c3.tar.gz
Issues cucumber. refactored step_definitoons
Diffstat (limited to 'features/projects')
-rw-r--r--features/projects/issues/issues.feature30
1 files changed, 28 insertions, 2 deletions
diff --git a/features/projects/issues/issues.feature b/features/projects/issues/issues.feature
index 0ca0792dd8a..a45dd801696 100644
--- a/features/projects/issues/issues.feature
+++ b/features/projects/issues/issues.feature
@@ -7,6 +7,32 @@ Feature: Issues
And I visit project "Shop" issues page
Scenario: I should see open issues
- Given I should see "Release 0.4" open issue
- And I should not see "Release 0.3" closed issue
+ Given I should see "Release 0.4" in issues
+ And I should not see "Release 0.3" in issues
+ Scenario: I should see closed issues
+ Given I click link "Closed"
+ Then I should see "Release 0.3" in issues
+ And I should not see "Release 0.4" in issues
+
+ Scenario: I should see all issues
+ Given I click link "All"
+ Then I should see "Release 0.3" in issues
+ And I should see "Release 0.4" in issues
+
+ Scenario: I visit issue page
+ Given I click link "Release 0.4"
+ Then I should see issue "Release 0.4"
+
+ @javascript
+ Scenario: I submit new unassigned issue
+ Given I click link "New Issue"
+ And I submit new issue "500 error on profile"
+ Given I click link "500 error on profile"
+ Then I should see issue "500 error on profile"
+
+ @javascript
+ 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"