Commit 1bbed9baa30a67ecd2a4474b3b0faeb277d4770b

Authored by Heitor
Committed by Rafael Manzo
1 parent c4677b12

[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 103 And I fill the Comments field with "My Comment"
104 104 And I set the select field "Reading" as "My Reading"
105 105 When I press the Save button
106   - And I take a picture of the page
107 106 Then I should be at the New Range page
108 107 And I should see "1 error prohibited this KalibroRange from being saved"
109 108 And I should see "Beginning is not a number"
... ... @@ -117,12 +116,13 @@ Feature: Create Kalibro Range
117 116 And I have a sample metric configuration within the given mezuro configuration
118 117 And I have a sample reading within the sample reading group labeled "My Reading"
119 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 120 And I fill the End field with "z"
122 121 And I fill the Comments field with "My Comment"
123 122 And I set the select field "Reading" as "My Reading"
124 123 When I press the Save button
125 124 Then I should see "1 error prohibited this KalibroRange from being saved"
  125 + And I should see "End is not a number"
126 126 And I should be at the New Range page
127 127  
128 128 @kalibro_configuration_restart
... ...