]> source.dussan.org Git - sonarqube.git/commitdiff
stabilize ProjectDrilldownTest
authorStas Vilchik <vilchiks@gmail.com>
Fri, 12 Feb 2016 11:36:32 +0000 (12:36 +0100)
committerStas Vilchik <vilchiks@gmail.com>
Fri, 12 Feb 2016 13:40:45 +0000 (14:40 +0100)
it/it-tests/src/test/resources/projectServices/ProjectDrilldownTest/should_display_measure_drilldown.html
server/sonar-web/src/main/js/apps/drilldown/app.js

index 192440c454cbe6eb90a2be5d65c86e3e7d92361a..f39d6888a7f0b6a9a329a051fc6557959a3a3aeb 100644 (file)
        <td>css=a[data-key=&quot;project-drilldown-test-project:src/main/xoo/sample/Sample.xoo&quot;]</td>
        <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=&quot;project-drilldown-test-project:src/main/xoo/sample/Sample.xoo&quot;]</td>
index fb8c35d9b99624d0a985a39f3ed43ecf20d88f67..f3262566647c1489ab1f471aea56c0c240f67882 100644 (file)
@@ -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) {