Cucumber:
* Profile * Browse code * Sceleton for main features * Wiki * Commits
This commit is contained in:
parent
6ff99fe945
commit
5bbf3ccf05
37 changed files with 560 additions and 62 deletions
13
features/projects/commits/branches.feature
Normal file
13
features/projects/commits/branches.feature
Normal 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
|
7
features/projects/commits/commit_comments.feature
Normal file
7
features/projects/commits/commit_comments.feature
Normal 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
|
22
features/projects/commits/commits.feature
Normal file
22
features/projects/commits/commits.feature
Normal 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
|
||||
|
11
features/projects/commits/tags.feature
Normal file
11
features/projects/commits/tags.feature
Normal 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
|
||||
|
||||
|
11
features/projects/create_project.feature
Normal file
11
features/projects/create_project.feature
Normal 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
|
0
features/projects/deploy_keys.feature
Normal file
0
features/projects/deploy_keys.feature
Normal file
0
features/projects/issues/issues.feature
Normal file
0
features/projects/issues/issues.feature
Normal file
0
features/projects/issues/milestones.feature
Normal file
0
features/projects/issues/milestones.feature
Normal file
0
features/projects/merge_requests.feature
Normal file
0
features/projects/merge_requests.feature
Normal file
0
features/projects/network.feature
Normal file
0
features/projects/network.feature
Normal file
0
features/projects/snippets.feature
Normal file
0
features/projects/snippets.feature
Normal file
23
features/projects/source/browse_files.feature
Normal file
23
features/projects/source/browse_files.feature
Normal 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
|
||||
|
||||
|
0
features/projects/source/git_blame.feature
Normal file
0
features/projects/source/git_blame.feature
Normal file
0
features/projects/team_management.feature
Normal file
0
features/projects/team_management.feature
Normal file
17
features/projects/wall.feature
Normal file
17
features/projects/wall.feature
Normal 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"
|
0
features/projects/web_hooks.feature
Normal file
0
features/projects/web_hooks.feature
Normal file
9
features/projects/wiki.feature
Normal file
9
features/projects/wiki.feature
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue