summaryrefslogtreecommitdiff
path: root/features
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2016-03-18 12:42:30 +0000
committerPhil Hughes <me@iamphill.com>2016-03-18 12:42:30 +0000
commit195ef985f3271e5c64010f192bfe5ee1c78e2ba8 (patch)
tree880ef0a282180888338f813399d812fbedf6de00 /features
parent4885423feadb563a8474b8c01415527a28c8ef9b (diff)
downloadgitlab-ce-195ef985f3271e5c64010f192bfe5ee1c78e2ba8.tar.gz
Added test
Diffstat (limited to 'features')
-rw-r--r--features/project/merge_requests.feature8
1 files changed, 8 insertions, 0 deletions
diff --git a/features/project/merge_requests.feature b/features/project/merge_requests.feature
index 74685d24a7d..823658b4f24 100644
--- a/features/project/merge_requests.feature
+++ b/features/project/merge_requests.feature
@@ -325,3 +325,11 @@ Feature: Project Merge Requests
When I click the "Target branch" dropdown
And I select a new target branch
Then I should see new target branch changes
+
+ @javascript
+ Scenario: I can close merge request after commenting
+ Given I visit merge request page "Bug NS-04"
+ And I leave a comment like "XML attached"
+ Then I should see comment "XML attached"
+ And I click link "Close"
+ Then I should see closed merge request "Bug NS-04"