Commit 3c114538b70d7aa5edb025cb9d89fecab88f0011

Authored by Heitor
Committed by Rafael Manzo
1 parent 3d724355

Change success message for CompoundMetricConfiguration save in features

Signed off by: Daniel Miranda <danielkza2@gmail.com>
features/compound_metric_configuration/create.feature
@@ -23,7 +23,7 @@ Feature: Compound Metric Configuration Creation @@ -23,7 +23,7 @@ Feature: Compound Metric Configuration Creation
23 And I set the select field "Scope" as "Class" 23 And I set the select field "Scope" as "Class"
24 And I set the select field "Reading Group" as "Scholar" 24 And I set the select field "Reading Group" as "Scholar"
25 And I press the Save button 25 And I press the Save button
26 - Then I should see "Compound Metric Configuration was successfully created." 26 + Then I should see "Metric Configuration was successfully created."
27 And I click the show link of "My Compound Metric" 27 And I click the show link of "My Compound Metric"
28 Then I should see "My Compound Metric" 28 Then I should see "My Compound Metric"
29 And I should see "mcm" 29 And I should see "mcm"
@@ -38,7 +38,6 @@ Feature: Compound Metric Configuration Creation @@ -38,7 +38,6 @@ Feature: Compound Metric Configuration Creation
38 And I have another compound metric configuration with code "Another_Code" within the given mezuro configuration 38 And I have another compound metric configuration with code "Another_Code" within the given mezuro configuration
39 And I am at the Sample Configuration page 39 And I am at the Sample Configuration page
40 And I click the Add Metric link 40 And I click the Add Metric link
41 - And I take a picture of the page  
42 And I click the Compound Metric link 41 And I click the Compound Metric link
43 When I fill the Name field with "My Compound Metric" 42 When I fill the Name field with "My Compound Metric"
44 And I fill the Description field with "Some description" 43 And I fill the Description field with "Some description"
features/compound_metric_configuration/edition.feature
@@ -28,7 +28,7 @@ Feature: Compound Metric Configuration edition @@ -28,7 +28,7 @@ Feature: Compound Metric Configuration edition
28 And I fill the Code field with "Another_code" 28 And I fill the Code field with "Another_code"
29 And I press the Save button 29 And I press the Save button
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 "Metric Configuration was successfully updated."
32 32
33 @kalibro_configuration_restart @javascript 33 @kalibro_configuration_restart @javascript
34 Scenario: trying to edit with blank fields 34 Scenario: trying to edit with blank fields