diff options
Diffstat (limited to 'server/sonar-web/src/test/js/source-viewer-create-manual-issue.js')
-rw-r--r-- | server/sonar-web/src/test/js/source-viewer-create-manual-issue.js | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/server/sonar-web/src/test/js/source-viewer-create-manual-issue.js b/server/sonar-web/src/test/js/source-viewer-create-manual-issue.js index 554af8b9268..f897c471bf8 100644 --- a/server/sonar-web/src/test/js/source-viewer-create-manual-issue.js +++ b/server/sonar-web/src/test/js/source-viewer-create-manual-issue.js @@ -62,10 +62,11 @@ casper.test.begin(testName('source-viewer-create-manual-issue'), function (test) }) .then(function () { - casper.fill('.js-manual-issue-form', { - rule: 'manual:api', - message: 'An issue message' - }, true); + casper.evaluate(function () { + jQuery('.js-manual-issue-form [name="rule"]').val('manual:api'); + jQuery('.js-manual-issue-form [name="message"]').val('An issue message'); + jQuery('.js-manual-issue-form input[type="submit"]').click(); + }); }) .then(function () { |