summaryrefslogtreecommitdiff
path: root/features/project
diff options
context:
space:
mode:
authorBryce Johnson <bryce@gitlab.com>2017-05-23 12:08:50 -0400
committerBryce Johnson <bryce@gitlab.com>2017-05-23 12:08:50 -0400
commitff5044d8e9f856d4398795618103ce6206b9afee (patch)
tree33f99aca0aebe9fdf0af1ebe2d507028023b883c /features/project
parent21fe8f3646618455514e9888dae913be1e14b15b (diff)
downloadgitlab-ce-ff5044d8e9f856d4398795618103ce6206b9afee.tar.gz
Update spinach specs to explicitly check Remove Source Branch.
Diffstat (limited to 'features/project')
-rw-r--r--features/project/merge_requests/accept.feature3
1 files changed, 2 insertions, 1 deletions
diff --git a/features/project/merge_requests/accept.feature b/features/project/merge_requests/accept.feature
index c45ed9ea68b..2ab1c19f452 100644
--- a/features/project/merge_requests/accept.feature
+++ b/features/project/merge_requests/accept.feature
@@ -7,6 +7,7 @@ Feature: Project Merge Requests Acceptance
@javascript
Scenario: Accepting the Merge Request and removing the source branch
Given I am on the Merge Request detail page
+ When I check the "Remove source branch" option
And I click on Accept Merge Request
Then I should see merge request merged
And I should not see the Remove Source Branch button
@@ -14,6 +15,7 @@ Feature: Project Merge Requests Acceptance
@javascript
Scenario: Accepting the Merge Request when URL has an anchor
Given I am on the Merge Request detail with note anchor page
+ When I check the "Remove source branch" option
And I click on Accept Merge Request
Then I should see merge request merged
And I should not see the Remove Source Branch button
@@ -21,7 +23,6 @@ Feature: Project Merge Requests Acceptance
@javascript
Scenario: Accepting the Merge Request without removing the source branch
Given I am on the Merge Request detail page
- When I click on "Remove source branch" option
When I click on Accept Merge Request
Then I should see merge request merged
And I should see the Remove Source Branch button