gitlab-org--gitlab-foss/features/project/commits/branches.feature
Phil Hughes cd5bee0d44 Removed jQuery UI highlight & autocomplete
In an effort to tackle #18437 this removes 2 of the jQuery UI plugins. Highlight & autocomplete, both used once in our code. Highlight was just removed easily, autocomplete was replaced with GL dropdown
2017-02-09 09:16:52 +00:00

42 lines
1.4 KiB
Gherkin

@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