gitlab-org--gitlab-foss/features/project/merge_requests/revert.feature

30 lines
1,019 B
Gherkin
Raw Normal View History

2016-02-16 21:15:08 -05:00
@project_merge_requests
Feature: Revert Merge Requests
Background:
Given There is an open Merge Request
And I am signed in as a developer of the project
And I am on the Merge Request detail page
And I click on Accept Merge Request
2017-02-20 17:26:42 -05:00
And I am on the Merge Request detail page
2016-02-16 21:15:08 -05:00
@javascript
Scenario: I revert a merge request
Given I click on the revert button
And I revert the changes directly
Then I should see the revert merge request notice
@javascript
Scenario: I revert a merge request that was previously reverted
Given I click on the revert button
And I revert the changes directly
And I am on the Merge Request detail page
And I click on the revert button
And I revert the changes directly
Then I should see a revert error
@javascript
Scenario: I revert a merge request in a new merge request
Given I click on the revert button
And I revert the changes in a new merge request
Then I should see the new merge request notice