debian-mirror-gitlab/features/project/merge_requests/revert.feature

30 lines
1,019 B
Gherkin
Raw Normal View History

2016-04-02 18:10:28 +05:30
@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-08-17 22:00:37 +05:30
And I am on the Merge Request detail page
2016-04-02 18:10:28 +05:30
@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