diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2015-03-16 15:41:16 +0100 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2015-03-16 15:41:16 +0100 |
commit | 3ca885f38cd9fee24961846c15a4ef5fa200796e (patch) | |
tree | f46af2474ad143a11b84b24a3998f56dccc24d6d /server/sonar-web/src/test/js | |
parent | d9c779b75f539efd0861bf8147e88d4456369448 (diff) | |
download | sonarqube-3ca885f38cd9fee24961846c15a4ef5fa200796e.tar.gz sonarqube-3ca885f38cd9fee24961846c15a4ef5fa200796e.zip |
fix web test
Diffstat (limited to 'server/sonar-web/src/test/js')
-rw-r--r-- | server/sonar-web/src/test/js/issues-page-spec.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/server/sonar-web/src/test/js/issues-page-spec.js b/server/sonar-web/src/test/js/issues-page-spec.js index 5aca02d5ad5..c184e8262f7 100644 --- a/server/sonar-web/src/test/js/issues-page-spec.js +++ b/server/sonar-web/src/test/js/issues-page-spec.js @@ -324,7 +324,7 @@ casper.test.begin(testName('Bulk Change'), function (test) { lib.mockRequestFromFile('/api/issue_filters/app', 'app.json'); lib.mockRequestFromFile('/api/issues/search', 'search.json'); - lib.mockRequest('/issues/bulk_change_form?resolved=false', + lib.mockRequest('/issues/bulk_change_form*', '<div id="bulk-change-form">bulk change form</div>', { contentType: 'text/plain' }); }) @@ -335,9 +335,7 @@ casper.test.begin(testName('Bulk Change'), function (test) { }) .then(function () { - casper.waitForSelector('.issue', function () { - casper.waitForSelector('#issues-bulk-change'); - }); + casper.waitForSelector('#issues-bulk-change'); }) .then(function () { |