summaryrefslogtreecommitdiff
path: root/features/project/create.feature
blob: 27136798e36d14f9b2b55a306f8b8bc30b189297 (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
@project-create
Feature: Project Create
  In order to get access to project sections
  A user with ability to create a project
  Should be able to create a new one

  @javascript
  Scenario: User create a project
    Given I sign in as a user
    When I visit new project page
    And I have an ssh key
    And fill project form with valid data
    Then I should see project page
    And I should see empty project instuctions

  @javascript
  Scenario: Empty project instructions
    Given I sign in as a user
    And I have an ssh key
    When I visit new project page
    And fill project form with valid data
    Then I see empty project instuctions
    And I click on HTTP
    Then Remote url should update to http link
    And If I click on SSH
    Then Remote url should update to ssh link