From 89c59ab53561a47b5067668829bb19e7067cd3be Mon Sep 17 00:00:00 2001 From: Stas Vilchik Date: Mon, 9 Mar 2015 11:56:11 +0100 Subject: SONAR-6228 show dependencies details inside a modal window --- server/sonar-web/src/test/js/design-spec.js | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'server/sonar-web/src/test/js') 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 () { -- cgit v1.2.3