Commit 49487ecd3cffbaa7370ce1c7c65ce08ac314e495

Authored by Rafael Manzo
Committed by Heitor
1 parent 22318402

Reproduce HotspotMetricResult error on acceptance

The previous test was creating the MetricConfiguration directly through
factories/kalibro_client. While there is a bug on the
MetricConfiguration creation form that saves hotspot as tree ones.

Signed off by: Diego Araújo <diegoamc90@gmail.com>
features/repository/show/hotspot_metric_results.feature
@@ -3,12 +3,18 @@ Feature: Repository hotspot metric results @@ -3,12 +3,18 @@ Feature: Repository hotspot metric results
3 As a regular user 3 As a regular user
4 I should see the hotspot metric results list 4 I should see the hotspot metric results list
5 5
6 - @kalibro_configuration_restart @kalibro_processor_restart @javascript 6 + @kalibro_configuration_restart @kalibro_processor_restart @javascript @wip
7 Scenario: Should show the message when the graphic of the given metric has only a single point 7 Scenario: Should show the message when the graphic of the given metric has only a single point
8 Given I am a regular user 8 Given I am a regular user
9 And I am signed in 9 And I am signed in
10 - And I have a sample project  
11 - And I have a sample configuration with hotspot metrics 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 + Given I have a sample project
12 And I have a sample ruby repository within the sample project 18 And I have a sample ruby repository within the sample project
13 And I start to process that repository 19 And I start to process that repository
14 And I wait up for a ready processing 20 And I wait up for a ready processing