create.feature 797 Bytes
Newer Older
1
@project-create
2
Feature: Project Create
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
3 4 5 6
  In order to get access to project sections
  A user with ability to create a project
  Should be able to create a new one

7
  @javascript
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
8
  Scenario: User create a project
Nihad Abbasov's avatar
Nihad Abbasov committed
9
    Given I sign in as a user
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
10
    When I visit new project page
11
    And I have an ssh key
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
12 13 14
    And fill project form with valid data
    Then I should see project page
    And I should see empty project instuctions
Marin Jankovski's avatar
Test.  
Marin Jankovski committed
15 16 17 18

  @javascript
  Scenario: Empty project instructions
    Given I sign in as a user
19
    And I have an ssh key
Marin Jankovski's avatar
Test.  
Marin Jankovski committed
20 21 22 23 24 25
    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
26
    Then Remote url should update to ssh link