Commit 1bbed9baa30a67ecd2a4474b3b0faeb277d4770b
Committed by
Rafael Manzo
1 parent
c4677b12
Exists in
colab
and in
4 other branches
[wip] Fixing kalibro range create feature
Signed off by: Daniel Paulino Alves <danpaulalves@gmail.com>
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
features/kalibro_range/create.feature
| @@ -103,7 +103,6 @@ Feature: Create Kalibro Range | @@ -103,7 +103,6 @@ Feature: Create Kalibro Range | ||
| 103 | And I fill the Comments field with "My Comment" | 103 | And I fill the Comments field with "My Comment" |
| 104 | And I set the select field "Reading" as "My Reading" | 104 | And I set the select field "Reading" as "My Reading" |
| 105 | When I press the Save button | 105 | When I press the Save button |
| 106 | - And I take a picture of the page | ||
| 107 | Then I should be at the New Range page | 106 | Then I should be at the New Range page |
| 108 | And I should see "1 error prohibited this KalibroRange from being saved" | 107 | And I should see "1 error prohibited this KalibroRange from being saved" |
| 109 | And I should see "Beginning is not a number" | 108 | And I should see "Beginning is not a number" |
| @@ -117,12 +116,13 @@ Feature: Create Kalibro Range | @@ -117,12 +116,13 @@ Feature: Create Kalibro Range | ||
| 117 | And I have a sample metric configuration within the given mezuro configuration | 116 | And I have a sample metric configuration within the given mezuro configuration |
| 118 | And I have a sample reading within the sample reading group labeled "My Reading" | 117 | And I have a sample reading within the sample reading group labeled "My Reading" |
| 119 | And I am at the New Range page | 118 | And I am at the New Range page |
| 120 | - And I fill the Beginning field with "42" | 119 | + And I fill the Beginning field with "-1" |
| 121 | And I fill the End field with "z" | 120 | And I fill the End field with "z" |
| 122 | And I fill the Comments field with "My Comment" | 121 | And I fill the Comments field with "My Comment" |
| 123 | And I set the select field "Reading" as "My Reading" | 122 | And I set the select field "Reading" as "My Reading" |
| 124 | When I press the Save button | 123 | When I press the Save button |
| 125 | Then I should see "1 error prohibited this KalibroRange from being saved" | 124 | Then I should see "1 error prohibited this KalibroRange from being saved" |
| 125 | + And I should see "End is not a number" | ||
| 126 | And I should be at the New Range page | 126 | And I should be at the New Range page |
| 127 | 127 | ||
| 128 | @kalibro_configuration_restart | 128 | @kalibro_configuration_restart |