diff options
-rw-r--r-- | it/it-tests/src/test/resources/projectServices/ProjectDrilldownTest/should_display_measure_drilldown.html | 5 | ||||
-rw-r--r-- | server/sonar-web/src/main/js/apps/drilldown/app.js | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/it/it-tests/src/test/resources/projectServices/ProjectDrilldownTest/should_display_measure_drilldown.html b/it/it-tests/src/test/resources/projectServices/ProjectDrilldownTest/should_display_measure_drilldown.html index 192440c454c..f39d6888a7f 100644 --- a/it/it-tests/src/test/resources/projectServices/ProjectDrilldownTest/should_display_measure_drilldown.html +++ b/it/it-tests/src/test/resources/projectServices/ProjectDrilldownTest/should_display_measure_drilldown.html @@ -19,6 +19,11 @@ <td></td> </tr> <tr> + <td>waitForElementPresent</td> + <td>css=a.js-drilldown-link.js-ready</td> + <td></td> +</tr> +<tr> <td>click</td> <td>css=a[data-key="project-drilldown-test-project:src/main/xoo/sample/Sample.xoo"]</td> <td></td> diff --git a/server/sonar-web/src/main/js/apps/drilldown/app.js b/server/sonar-web/src/main/js/apps/drilldown/app.js index fb8c35d9b99..f3262566647 100644 --- a/server/sonar-web/src/main/js/apps/drilldown/app.js +++ b/server/sonar-web/src/main/js/apps/drilldown/app.js @@ -38,7 +38,7 @@ var App = new Marionette.Application(), viewer.filterLinesByDate(window.drilldown.period, window.drilldown.periodName); }); } - }); + }).addClass('js-ready'); }; App.on('start', function (options) { |