summaryrefslogtreecommitdiff
path: root/features/project
diff options
context:
space:
mode:
authorblackst0ne <blackst0ne.ru@gmail.com>2018-04-11 11:46:31 +0000
committerRémy Coutable <remy@rymai.me>2018-04-11 11:46:31 +0000
commit6d9f16c0aba46edd45d194e6f919896359b98a03 (patch)
tree6946a380cd79a9f74ff072d88d3c3a5cb2f6b92c /features/project
parent3efe170370c5ea6bbf68ab497339e4360af84030 (diff)
downloadgitlab-ce-6d9f16c0aba46edd45d194e6f919896359b98a03.tar.gz
Replace the `project/commits/branches.feature` spinach test with an rspec analog
Diffstat (limited to 'features/project')
-rw-r--r--features/project/commits/branches.feature42
1 files changed, 0 insertions, 42 deletions
diff --git a/features/project/commits/branches.feature b/features/project/commits/branches.feature
deleted file mode 100644
index c57376aecff..00000000000
--- a/features/project/commits/branches.feature
+++ /dev/null
@@ -1,42 +0,0 @@
-@project_commits
-Feature: Project Commits Branches
- Background:
- Given I sign in as a user
- And I own project "Shop"
- And project "Shop" has protected branches
-
- Scenario: I can see project all git branches
- Given I visit project branches page
- Then I should see "Shop" all branches list
-
- Scenario: I can see project protected git branches
- Given I visit project protected branches page
- Then I should see "Shop" protected branches list
-
- @javascript
- Scenario: I create a branch
- Given I visit project branches page
- And I click new branch link
- And I submit new branch form
- Then I should see new branch created
-
- @javascript
- Scenario: I delete a branch
- Given I visit project branches page
- And I filter for branch improve/awesome
- And I click branch 'improve/awesome' delete link
- Then I should not see branch 'improve/awesome'
-
- @javascript
- Scenario: I create a branch with invalid name
- Given I visit project branches page
- And I click new branch link
- And I submit new branch form with invalid name
- Then I should see new an error that branch is invalid
-
- @javascript
- Scenario: I create a branch that already exists
- Given I visit project branches page
- And I click new branch link
- And I submit new branch form with branch that already exists
- Then I should see new an error that branch already exists