Commit a1f39de37f16142f3e24c7f052aa34df2d78880a
Committed by
Paulo Meireles
1 parent
8032e505
Exists in
master
and in
28 other branches
[Mezuro] Started the Repository feature.
Showing
2 changed files
with
47 additions
and
1 deletions
Show diff stats
plugins/mezuro/features/project.feature
@@ -13,7 +13,7 @@ Feature: Project | @@ -13,7 +13,7 @@ Feature: Project | ||
13 | | mycommunity | My Community | | 13 | | mycommunity | My Community | |
14 | And "Joao Silva" is admin of "My Community" | 14 | And "Joao Silva" is admin of "My Community" |
15 | 15 | ||
16 | - Scenario: I see Mezuro project's input form | 16 | + Scenario: I see the Mezuro project input form |
17 | Given I am on mycommunity's control panel | 17 | Given I am on mycommunity's control panel |
18 | When I follow "Mezuro project" | 18 | When I follow "Mezuro project" |
19 | Then I should see "Title" | 19 | Then I should see "Title" |
@@ -0,0 +1,46 @@ | @@ -0,0 +1,46 @@ | ||
1 | +Feature: Repository | ||
2 | + As a Mezuro user | ||
3 | + I want to create, edit, remove and process a repository | ||
4 | + | ||
5 | + Background: | ||
6 | + Given the following users | ||
7 | + | login | name | | ||
8 | + | joaosilva | Joao Silva | | ||
9 | + And I am logged in as "joaosilva" | ||
10 | + And "Mezuro" plugin is enabled | ||
11 | + And the following community | ||
12 | + | identifier | name | | ||
13 | + | mycommunity | My Community | | ||
14 | + And "Joao Silva" is admin of "My Community" | ||
15 | + And I have a Mezuro project with the following data | ||
16 | + | name | Sample Project | | ||
17 | + | description | Sample Description | | ||
18 | + | community | mycommunity | | ||
19 | + And I am on article "Sample Project" | ||
20 | + And I should be on /mycommunity/sample-project | ||
21 | + | ||
22 | + Scenario: I want to see the Mezuro repository input form | ||
23 | + When I follow "Add Repository" | ||
24 | + Then I should see "Name" | ||
25 | + And I should see "Description" | ||
26 | + And I should see "License" | ||
27 | + And I should see "Process Period" | ||
28 | + And I should see "Type" | ||
29 | + And I should see "Address" | ||
30 | + And I should see "Configuration" | ||
31 | + And I should see "Add" button | ||
32 | + | ||
33 | + Scenario: I want to add a repository with no name | ||
34 | + Given I follow "Add Repository" | ||
35 | + When I fill in the following | ||
36 | + | Name | | | ||
37 | + | Description | My Description | | ||
38 | + | License | ISC License (ISC) | | ||
39 | + | Process Period | Not Periodically | | ||
40 | + | Type | SUBVERSION | | ||
41 | + | Address | https://qt-calculator.svn.sourceforge.net/svnroot/qt-calculator | | ||
42 | + | Configuration | Kalibro for Java | | ||
43 | + And I press "Add" | ||
44 | + | ||
45 | + Scenario: I want to add a repository with valid attributes | ||
46 | + |