Welcome to mirror list, hosted at ThFree Co, Russian Federation.

branches.feature « commits « project « features - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 65d8e48b9b3978c7b4d88a38ed0ecb571b859ca5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
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

  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 click branch 'improve/awesome' delete link
    Then I should not see branch 'improve/awesome'

  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

  Scenario: I create a branch with invalid reference
    Given I visit project branches page
    And I click new branch link
    And I submit new branch form with invalid reference
    Then I should see new an error that ref is invalid

  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