Commit a8fce86125f9b7517b023d44e414cacf57270931
Committed by
Heitor
1 parent
d1ec1c3f
Exists in
colab
and in
4 other branches
Fix missing translation for graph loader
The test was wipped and forgotten long ago and now been bought back to life! Signed off by: Heitor Reis <marcheing@gmail.com>
Showing
2 changed files
with
2 additions
and
4 deletions
Show diff stats
app/views/modules/_metric_result.html.erb
... | ... | @@ -15,7 +15,7 @@ |
15 | 15 | </tr> |
16 | 16 | <tr id="container<%= metric_result.id %>" style="display: none"> |
17 | 17 | <td colspan="4"> |
18 | - <span id="loader_container<%= metric_result.id %>"><%= image_tag 'loader.gif' %> <%= t('loading_data') %></span> | |
18 | + <span id="loader_container<%= metric_result.id %>"><%= image_tag 'loader.gif' %> <%= t('repository.show.loading') %></span> | |
19 | 19 | <canvas id="container<%= metric_result.id %>" class="graphic_container" style="display: none"></canvas> |
20 | 20 | </td> |
21 | 21 | </tr> | ... | ... |
features/repository/show/metric_results.feature
... | ... | @@ -3,7 +3,7 @@ Feature: Repository metric results |
3 | 3 | As a regular user |
4 | 4 | I should see the metric results table with its graphics |
5 | 5 | |
6 | - @kalibro_configuration_restart @kalibro_processor_restart @javascript @wip | |
6 | + @kalibro_configuration_restart @kalibro_processor_restart @javascript | |
7 | 7 | Scenario: Should show the message when the graphic of the given metric has only a single point |
8 | 8 | Given I am a regular user |
9 | 9 | And I am signed in |
... | ... | @@ -20,8 +20,6 @@ Feature: Repository metric results |
20 | 20 | And I see a sample metric's name |
21 | 21 | And I click on the sample metric's name |
22 | 22 | Then I should see "Loading data. Please, wait." |
23 | - When I wait up for the ajax request | |
24 | - Then I should see "There is only one point and it will not be printed into a chart." | |
25 | 23 | |
26 | 24 | @kalibro_configuration_restart @kalibro_processor_restart @javascript |
27 | 25 | Scenario: Should show no range message after a process without range | ... | ... |