summaryrefslogtreecommitdiff
path: root/features/project
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2017-09-18 08:44:01 +0000
committerRémy Coutable <remy@rymai.me>2017-09-18 08:44:01 +0000
commitfffae7a0bfeb0eea9167bb87c3ecd1d557cb327a (patch)
tree14e95c93b92a5d42bc84946f9295f55e5ee8662d /features/project
parentd73eb894ca5ab0978cdd2bd942f734af8461767e (diff)
parentb5a091e3a4c01374138b3b327ec8cde3c23bef69 (diff)
downloadgitlab-ce-fffae7a0bfeb0eea9167bb87c3ecd1d557cb327a.tar.gz
Merge branch 'replace_project_commits_revert.feature' into 'master'
Replace the 'project/commits/revert.feature' spinach test with an rspec analog See merge request gitlab-org/gitlab-ce!14325
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