summaryrefslogtreecommitdiff
path: root/features/project
diff options
context:
space:
mode:
authorVitaliy @blackst0ne Klachkov <blackst0ne.ru@gmail.com>2017-09-18 16:15:42 +1100
committerVitaliy @blackst0ne Klachkov <blackst0ne.ru@gmail.com>2017-09-18 16:15:42 +1100
commitb5a091e3a4c01374138b3b327ec8cde3c23bef69 (patch)
treee4ced1f34035158a6d4e73d86bb39b6b30ea7451 /features/project
parent2defc7b931ac46603780944907d7e19233ad1e97 (diff)
downloadgitlab-ce-b5a091e3a4c01374138b3b327ec8cde3c23bef69.tar.gz
Replace the 'project/commits/revert.feature' spinach test with an rspec analog
Diffstat (limited to 'features/project')
-rw-r--r--features/project/commits/revert.feature31
1 files changed, 0 insertions, 31 deletions
diff --git a/features/project/commits/revert.feature b/features/project/commits/revert.feature
deleted file mode 100644
index 7ee1d717d80..00000000000
--- a/features/project/commits/revert.feature
+++ /dev/null
@@ -1,31 +0,0 @@
-@project_commits
-Feature: Revert Commits
- Background:
- Given I sign in as a user
- And I own a project
- And I visit my project's commits page
-
- @javascript
- Scenario: I revert a commit
- Given I click on commit link
- And I click on the revert button
- And I revert the changes directly
- Then I should see the revert commit notice
-
- @javascript
- Scenario: I revert a commit that was previously reverted
- Given I click on commit link
- And I click on the revert button
- And I revert the changes directly
- And I visit my project's commits page
- And I click on commit link
- 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 commit in a new merge request
- Given I click on commit link
- And 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