Commit db1f435408d86db902f19e95c21df75b83fcde0f

Authored by Heitor
1 parent c6b019cf

Add acceptance test for creating a hotspot metric conf

Signed off by: Diego Araújo <diegoamc90@gmail.com>
features/hotspot_metric_configuration/create.feature 0 → 100644
... ... @@ -0,0 +1,18 @@
  1 +Feature: Hotspot Metric Configuration Creation
  2 + In order to register my metric configurations
  3 + As a regular user
  4 + I should be able to create hotspot metric configurations
  5 +
  6 + @kalibro_configuration_restart @javascript
  7 + Scenario: hotspot metric configuration creation
  8 + Given I am a regular user
  9 + And I am signed in
  10 + And I own a sample configuration
  11 + And I am at the Sample Configuration page
  12 + And I click the Add Metric link
  13 + And I click the "MetricFu" h3
  14 + And I click the Duplicate Code link
  15 + When I fill the Weight field with "2"
  16 + And I press the Save button
  17 + Then I should see "Hotspot Metrics"
  18 + And I should see "Duplicate Code"
... ...