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,7 +12,14 @@ Feature: Create configuration | ||
| 12 | Scenario: I see Mezuro Configuration on my control panel | 12 | Scenario: I see Mezuro Configuration on my control panel |
| 13 | When I go to the Control panel | 13 | When I go to the Control panel |
| 14 | Then I should see "Mezuro configuration" | 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 | Scenario: creating with valid attributes | 23 | Scenario: creating with valid attributes |
| 17 | When I go to the Control panel | 24 | When I go to the Control panel |
| 18 | And I create a Mezuro configuration with the following data | 25 | And I create a Mezuro configuration with the following data |
| @@ -22,7 +29,13 @@ Feature: Create configuration | @@ -22,7 +29,13 @@ Feature: Create configuration | ||
| 22 | And I should see "Qt_Calculator" | 29 | And I should see "Qt_Calculator" |
| 23 | And I should see "Description" | 30 | And I should see "Description" |
| 24 | And I should see "A sample description" | 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 | Scenario: creating with duplicated name | 39 | Scenario: creating with duplicated name |
| 27 | When I go to the Control panel | 40 | When I go to the Control panel |
| 28 | And I create a Mezuro configuration with the following data | 41 | And I create a Mezuro configuration with the following data |
| @@ -31,7 +44,7 @@ Feature: Create configuration | @@ -31,7 +44,7 @@ Feature: Create configuration | ||
| 31 | And I create a Mezuro configuration with the following data | 44 | And I create a Mezuro configuration with the following data |
| 32 | | Title | Original Title | | 45 | | Title | Original Title | |
| 33 | Then I should see "1 error prohibited this article from being saved" | 46 | Then I should see "1 error prohibited this article from being saved" |
| 34 | - | 47 | + |
| 35 | Scenario: creating without title | 48 | Scenario: creating without title |
| 36 | When I go to the Control panel | 49 | When I go to the Control panel |
| 37 | And I create a Mezuro configuration with the following data | 50 | And I create a Mezuro configuration with the following data |