diff options
Diffstat (limited to 'server/sonar-web/src/test/js')
-rw-r--r-- | server/sonar-web/src/test/js/computation-spec.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/server/sonar-web/src/test/js/computation-spec.js b/server/sonar-web/src/test/js/computation-spec.js index 0922feb52b9..d73a5d14e0e 100644 --- a/server/sonar-web/src/test/js/computation-spec.js +++ b/server/sonar-web/src/test/js/computation-spec.js @@ -6,7 +6,7 @@ lib.initMessages(); lib.changeWorkingDirectory('computation-spec'); lib.configureCasper(); -casper.test.begin(testName('List'), 8, function (test) { +casper.test.begin(testName('List'), 9, function (test) { casper .start(lib.buildUrl('computation'), function () { lib.setDefaultViewport(); @@ -42,6 +42,7 @@ casper.test.begin(testName('List'), 8, function (test) { test.assertElementCount('#computation-list li[data-id]', 3); test.assertSelectorContains('#computation-list', 'Duration'); test.assertExists('.js-history.selected'); + test.assertExists('.panel-danger[data-id="3"]'); }) .then(function () { |