diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2015-06-08 17:25:39 +0200 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2015-06-08 17:25:39 +0200 |
commit | ec0dc9b0b2f66b6749a44d1d1a439b553fe5c80b (patch) | |
tree | 000b1c60d3020e0f4e9b052ced3cec7133c3a140 /server/sonar-web/src/test/js | |
parent | 42c8a155eccbabdab673d8ae496ed3c615d34147 (diff) | |
download | sonarqube-ec0dc9b0b2f66b6749a44d1d1a439b553fe5c80b.tar.gz sonarqube-ec0dc9b0b2f66b6749a44d1d1a439b553fe5c80b.zip |
return backgrounds for failed analysis
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 () { |