Commit f93a1850c140f5d4344f2dece1c4a82437768611
1 parent
5a23c85f
Exists in
colab
and in
4 other branches
Repository creation acceptance tests reviwed
Scenarios regarding Project show moved to its place Some unmenaningful scenarios were removed
Showing
2 changed files
with
20 additions
and
17 deletions
Show diff stats
features/project/show.feature
... | ... | @@ -4,6 +4,26 @@ Feature: Show Project |
4 | 4 | I should be able to see each of them |
5 | 5 | |
6 | 6 | @kalibro_restart |
7 | +Scenario: Should not show the create repository link to user that doesn't own the projetct | |
8 | + Given I am a regular user | |
9 | + And I have a sample project | |
10 | + And I have a sample configuration with native metrics | |
11 | + And I have a sample repository within the sample project | |
12 | + When I am at the Sample Project page | |
13 | + Then I should not see New Repository | |
14 | + And I should not see Destroy project | |
15 | + And I should not see Edit | |
16 | + | |
17 | +@kalibro_restart | |
18 | +Scenario: Should show the create repository link the project owner | |
19 | + Given I am a regular user | |
20 | + And I am signed in | |
21 | + And I own a sample project | |
22 | + When I am at the Sample Project page | |
23 | + Then I should see "New Repository" | |
24 | + | |
25 | + | |
26 | +@kalibro_restart | |
7 | 27 | Scenario: Considering the project has no repositories |
8 | 28 | Given I have a sample project |
9 | 29 | When I am at the Sample Project page | ... | ... |
features/repository/create.feature
... | ... | @@ -4,23 +4,6 @@ Feature: Repository Creation |
4 | 4 | I should be able to create repositories |
5 | 5 | |
6 | 6 | @kalibro_restart |
7 | -Scenario: should exist the repository create page | |
8 | - Given I am a regular user | |
9 | - And I am signed in | |
10 | - And I own a sample project | |
11 | - And I am at the Sample Project page | |
12 | - When I click the New Repository link | |
13 | - Then I should see "New Repository" | |
14 | - | |
15 | -@kalibro_restart | |
16 | -Scenario: Should not show the create repository link to a nom project owner | |
17 | - Given I am a regular user | |
18 | - And I am signed in | |
19 | - And I have a sample project | |
20 | - When I am at the Sample Project page | |
21 | - Then I should not see New Repository | |
22 | - | |
23 | -@kalibro_restart | |
24 | 7 | Scenario: repository creation |
25 | 8 | Given I am a regular user |
26 | 9 | And I am signed in | ... | ... |