From 56e45f23303005ec505c1215a6018301d366573f Mon Sep 17 00:00:00 2001 From: Heitor Reis Date: Mon, 30 Mar 2015 13:42:06 -0300 Subject: [PATCH] Added acceptance test for creating a metric fu metric configuration --- features/metric_configuration/create.feature | 17 +++++++++++++++++ 1 file changed, 17 insertions(+), 0 deletions(-) diff --git a/features/metric_configuration/create.feature b/features/metric_configuration/create.feature index 0392db2..3859c7f 100644 --- a/features/metric_configuration/create.feature +++ b/features/metric_configuration/create.feature @@ -27,6 +27,23 @@ Feature: Metric Configuration Creation Then I should see "2" @kalibro_configuration_restart @javascript + Scenario: ruby metric configuration creation + Given I am a regular user + And I am signed in + And I own a sample configuration + And I have a reading group named "Scholar" + And I am at the Sample Configuration page + And I click the Add Metric link + And I click the "MetricFu" h3 + And I click the Pain link + And I fill the Weight field with "2" + And I set the select field "Aggregation Form" as "Average" + And I set the select field "Reading Group" as "Scholar" + When I press the Save button + Then I should see "Pain" + Then I should see "2" + + @kalibro_configuration_restart @javascript Scenario: metric configuration creation Given I am a regular user And I am signed in -- libgit2 0.21.2