Cucumber:

* Profile
* Browse code
* Sceleton for main features
* Wiki
* Commits
This commit is contained in:
Dmitriy Zaporozhets 2012-06-15 07:15:28 +03:00 committed by randx
parent 6ff99fe945
commit 5bbf3ccf05
37 changed files with 560 additions and 62 deletions

View file

@ -0,0 +1,13 @@
Feature: Browse branches
Background:
Given I signin as a user
And I own project "Shop"
Given I visit project branches page
Scenario: I can see all git branches
Scenario: I can download project by branch
Scenario: I can view protected branches
Scenario: I can manage protected branches

View file

@ -0,0 +1,7 @@
Feature: Comment commit
Background:
Given I signin as a user
And I own project "Shop"
Given I visit project commit page
Scenario: I leave a comment for commit

View file

@ -0,0 +1,22 @@
Feature: Browse commits
Background:
Given I signin as a user
And I own project "Shop"
Given I visit project commits page
Scenario: I browse commits list for master branch
Then I see project commits
Scenario: I browse atom feed of commits list for master branch
Given I click atom feed link
Then I see commits atom feed
Scenario: I browse commit from list
Given I click on commit link
Then I see commit info
Scenario: I compare refs
Given I visit compare refs page
And I fill compare fields with refs
And I see compared refs

View file

@ -0,0 +1,11 @@
Feature: Browse tags
Background:
Given I signin as a user
And I own project "Shop"
Given I visit project tags page
Scenario: I can see all git tags
Scenario: I can download project by tag

View file

@ -0,0 +1,11 @@
Feature: Create Project
In order to get access to project sections
A user with ability to create a project
Should be able to create a new one
Scenario: User create a project
Given I signin as a user
When I visit new project page
And fill project form with valid data
Then I should see project page
And I should see empty project instuctions

View file

View file

View file

View file

View file

View file

@ -0,0 +1,23 @@
Feature: Browse git repo
Background:
Given I signin as a user
And I own project "Shop"
Given I visit project source page
Scenario: I browse files from master branch
Then I should see files from repository
Scenario: I browse files for specific ref
Given I visit project source page for "8470d70"
Then I should see files from repository for "8470d70"
Scenario: I browse file content
Given I click on file from repo
Then I should see it content
Scenario: I browse raw file
Given I visit blob file from repo
And I click on raw button
Then I should see raw file content

View file

@ -0,0 +1,17 @@
@javascript
Feature: Project Wall
In order to use Project Wall
A user
Should be able to read & write messages
Background:
Given I signin as a user
And I own project "Shop"
And I visit project "Shop" wall page
Scenario: Write comment
Given I write new comment "my special test message"
Then I should see project wall note "my special test message"
Then I visit project "Shop" wall page
And I should see project wall note "my special test message"

View file

View file

@ -0,0 +1,9 @@
Feature: Wiki
Background:
Given I signin as a user
And I own project "Shop"
Given I visit project wiki page
Scenario: Add new page
Given I create Wiki page
Then I should see newly created wiki page