Commit 41beaa561fc924635c62c917a714bf30cc139dc1
Committed by
Paulo Meireles
1 parent
ed5f0d74
Exists in
master
and in
28 other branches
[Mezuro] added scenarios in creating_configuration feature tests
Showing
1 changed file
with
16 additions
and
3 deletions
Show diff stats
plugins/mezuro/features/creating_configuration.feature
| ... | ... | @@ -12,7 +12,14 @@ Feature: Create configuration |
| 12 | 12 | Scenario: I see Mezuro Configuration on my control panel |
| 13 | 13 | When I go to the Control panel |
| 14 | 14 | Then I should see "Mezuro configuration" |
| 15 | - | |
| 15 | + | |
| 16 | + Scenario: I see an empty set of clone configurations | |
| 17 | + When I go to the Control panel | |
| 18 | + And there is no previous configurations created | |
| 19 | + And I follow "Mezuro configuration" | |
| 20 | + Then I should see "None" | |
| 21 | + And I should not see "error" | |
| 22 | + | |
| 16 | 23 | Scenario: creating with valid attributes |
| 17 | 24 | When I go to the Control panel |
| 18 | 25 | And I create a Mezuro configuration with the following data |
| ... | ... | @@ -22,7 +29,13 @@ Feature: Create configuration |
| 22 | 29 | And I should see "Qt_Calculator" |
| 23 | 30 | And I should see "Description" |
| 24 | 31 | And I should see "A sample description" |
| 25 | - | |
| 32 | + | |
| 33 | + Scenario: I see a set of clone configurations | |
| 34 | + When I go to the Control panel | |
| 35 | + And I follow "Mezuro configuration" | |
| 36 | + Then I should see "None" | |
| 37 | + And I should not see "error" | |
| 38 | + | |
| 26 | 39 | Scenario: creating with duplicated name |
| 27 | 40 | When I go to the Control panel |
| 28 | 41 | And I create a Mezuro configuration with the following data |
| ... | ... | @@ -31,7 +44,7 @@ Feature: Create configuration |
| 31 | 44 | And I create a Mezuro configuration with the following data |
| 32 | 45 | | Title | Original Title | |
| 33 | 46 | Then I should see "1 error prohibited this article from being saved" |
| 34 | - | |
| 47 | + | |
| 35 | 48 | Scenario: creating without title |
| 36 | 49 | When I go to the Control panel |
| 37 | 50 | And I create a Mezuro configuration with the following data | ... | ... |