diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2015-03-09 11:56:11 +0100 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2015-03-09 11:56:11 +0100 |
commit | 89c59ab53561a47b5067668829bb19e7067cd3be (patch) | |
tree | 3279c41ba933fa685ea07a2c999f32913fd90ec3 /server/sonar-web/src/test/js | |
parent | 8260aba269d3d8815d3c0e2716732b8db6db1880 (diff) | |
download | sonarqube-89c59ab53561a47b5067668829bb19e7067cd3be.tar.gz sonarqube-89c59ab53561a47b5067668829bb19e7067cd3be.zip |
SONAR-6228 show dependencies details inside a modal window
Diffstat (limited to 'server/sonar-web/src/test/js')
-rw-r--r-- | server/sonar-web/src/test/js/design-spec.js | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/server/sonar-web/src/test/js/design-spec.js b/server/sonar-web/src/test/js/design-spec.js index 08bb92138e1..7a86882d28c 100644 --- a/server/sonar-web/src/test/js/design-spec.js +++ b/server/sonar-web/src/test/js/design-spec.js @@ -49,16 +49,17 @@ casper.test.begin(testName('Base'), 9, function (test) { .then(function () { casper.mouse.doubleclick('.dsm-body-cell-cycle'); - casper.waitForSelector('.spinner', function () { - casper.waitWhileSelector('.spinner'); - }); + casper.waitForSelector('.modal'); }) .then(function () { - test.assertElementCount('.dsm-info tr', 7); - test.assertSelectorContains('.dsm-info', 'src/main/java/com/maif/sonar/cobol/api/MaifCobolMeasureProvider.java'); - test.assertSelectorContains('.dsm-info', 'src/main/java/com/maif/sonar/cobol/metrics/BusinessRuleCounter.java '); - test.assertSelectorContains('.dsm-info', 'src/main/java/com/maif/sonar/cobol/metrics/TableMetricsVisitor.java '); + test.assertElementCount('.modal .dsm-info tr', 7); + test.assertSelectorContains('.modal .dsm-info', + 'src/main/java/com/maif/sonar/cobol/api/MaifCobolMeasureProvider.java'); + test.assertSelectorContains('.modal .dsm-info', + 'src/main/java/com/maif/sonar/cobol/metrics/BusinessRuleCounter.java'); + test.assertSelectorContains('.modal .dsm-info', + 'src/main/java/com/maif/sonar/cobol/metrics/TableMetricsVisitor.java'); }) .then(function () { |