74d73bd953
Make sure we wait till page reloads after request was merged. Otherwise we get request running which fails next test Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
19 lines
752 B
Gherkin
19 lines
752 B
Gherkin
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 see merge request merged
|
|
And 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 merge request merged
|
|
And I should see the Remove Source Branch button
|