Commit c10013d04aed50226a1a3ffd651995c8569942ec

Authored by Rafael Manzo
1 parent bbc16580

CompoundMetricConfiguration edition with invalid parameters acceptance test fixed

Signed off by: Diego Araújo <diegoamc90@gmail.com>
features/compound_metric_configuration/edition.feature
@@ -30,7 +30,7 @@ Feature: Compound Metric Configuration edition @@ -30,7 +30,7 @@ Feature: Compound Metric Configuration edition
30 Then I should see "Another_code" 30 Then I should see "Another_code"
31 And I should see "Compound Metric Configuration was successfully updated." 31 And I should see "Compound Metric Configuration was successfully updated."
32 32
33 - @kalibro_configuration_restart 33 + @kalibro_configuration_restart @javascript
34 Scenario: trying to edit with blank fields 34 Scenario: trying to edit with blank fields
35 Given I am a regular user 35 Given I am a regular user
36 And I am signed in 36 And I am signed in
@@ -48,7 +48,7 @@ Feature: Compound Metric Configuration edition @@ -48,7 +48,7 @@ Feature: Compound Metric Configuration edition
48 And I should see "Name can't be blank" 48 And I should see "Name can't be blank"
49 And I should see "Script can't be blank" 49 And I should see "Script can't be blank"
50 And I should see "Code can't be blank" 50 And I should see "Code can't be blank"
51 - And I should see "Weight can't be blank" 51 + And I should see "Weight must be greater than 0"
52 52
53 53
54 @kalibro_configuration_restart @javascript 54 @kalibro_configuration_restart @javascript