Commit bbf75a42486cf13343939a7cad91b2bd11495423
1 parent
fc3487de
Exists in
colab
and in
4 other branches
Gave up on graphic tests
Showing
1 changed file
with
3 additions
and
19 deletions
Show diff stats
features/repository/show/metric_results.feature
| @@ -23,22 +23,6 @@ Feature: Repository metric results | @@ -23,22 +23,6 @@ Feature: Repository metric results | ||
| 23 | When I wait up for the ajax request | 23 | When I wait up for the ajax request |
| 24 | Then I should see "There is just a point and it should not be printed into a chart." | 24 | Then I should see "There is just a point and it should not be printed into a chart." |
| 25 | 25 | ||
| 26 | - @kalibro_restart @javascript @wip | ||
| 27 | - Scenario: Should show the graphic of a given metric | ||
| 28 | - Given I am a regular user | ||
| 29 | - And I am signed in | ||
| 30 | - And I have a sample project | ||
| 31 | - And I have a sample configuration with native metrics | ||
| 32 | - And I have a sample repository within the sample project | ||
| 33 | - And I start to process that repository | ||
| 34 | - And I wait up for a ready processing | ||
| 35 | - And I ask for the last ready processing of the given repository | ||
| 36 | - And I ask for the module result of the given processing | ||
| 37 | - And I ask for the metric results of the given module result | ||
| 38 | - When I visit the repository show page | ||
| 39 | - And I click the "Metric Results" h3 | ||
| 40 | - And I see a sample metric's name | ||
| 41 | - When I click on the sample metric's name | ||
| 42 | - Then I should see "Loading data. Please, wait." | ||
| 43 | - When I wait up for the ajax request | ||
| 44 | - Then I should see a loaded graphic for the sample metric | ||
| 45 | \ No newline at end of file | 26 | \ No newline at end of file |
| 27 | + # TODO: Scenario: Should show the graphic of a given metric | ||
| 28 | + # It was getting really difficult to test this because of Poltergeist's timeouts | ||
| 29 | + # so we gave up on this for now | ||
| 46 | \ No newline at end of file | 30 | \ No newline at end of file |