summaryrefslogtreecommitdiff
path: root/features/project/merge_requests/accept.feature
blob: 3e6e59a3808b379625cdd66f84d221928e83a647 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Feature: Project Merge Requests Acceptance
  Background:
    Given There is an open Merge Request
      And I am signed in as a developer of the project

  @javascript
  Scenario: Accepting the Merge Request and removing the source branch
    Given I am on the Merge Request detail page
    When I click on "Remove source branch" option
    And I click on Accept Merge Request
    Then I should not see the Remove Source Branch button

  @javascript
  Scenario: Accepting the Merge Request without removing the source branch
    Given I am on the Merge Request detail page
    When I click on Accept Merge Request
    Then I should see the Remove Source Branch button