summaryrefslogtreecommitdiff
path: root/features/dashboard/new_project.feature
blob: 046e2815d4ea8d3735c1f5c94c712d21ea701454 (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
@dashboard
Feature: New Project
Background:
  Given I sign in as a user
  And I own project "Shop"
  And I visit dashboard page
  And I click "New project" link

  @javascript
  Scenario: I should see New Projects page
  Then I see "New Project" page
  Then I see all possible import options

  @javascript
  Scenario: I should see instructions on how to import from Git URL
  Given I see "New Project" page
  When I click on "Repo by URL"
  Then I see instructions on how to import from Git URL

  @javascript
  Scenario: I should see instructions on how to import from GitHub
  Given I see "New Project" page
  When I click on "Import project from GitHub"
  Then I am redirected to the GitHub import page

  @javascript
  Scenario: I should see Google Code import page
  Given I see "New Project" page
  When I click on "Google Code"
  Then I redirected to Google Code import page