aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/test/js/coding-rules-page-should-show-custom-rules.js
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2015-03-11 16:41:35 +0100
committerStas Vilchik <vilchiks@gmail.com>2015-03-11 16:41:35 +0100
commitc32bc18cd69d37ee3714a4011938d7729c386ecc (patch)
tree8119936cb73d5a7e69160d41c1a3ae5ce345f873 /server/sonar-web/src/test/js/coding-rules-page-should-show-custom-rules.js
parent53eb6da9f490cf449b79965c0e88a797fcae8ae1 (diff)
downloadsonarqube-c32bc18cd69d37ee3714a4011938d7729c386ecc.tar.gz
sonarqube-c32bc18cd69d37ee3714a4011938d7729c386ecc.zip
clean up tests
Diffstat (limited to 'server/sonar-web/src/test/js/coding-rules-page-should-show-custom-rules.js')
-rw-r--r--server/sonar-web/src/test/js/coding-rules-page-should-show-custom-rules.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/server/sonar-web/src/test/js/coding-rules-page-should-show-custom-rules.js b/server/sonar-web/src/test/js/coding-rules-page-should-show-custom-rules.js
index b27a269582c..6e5648a4749 100644
--- a/server/sonar-web/src/test/js/coding-rules-page-should-show-custom-rules.js
+++ b/server/sonar-web/src/test/js/coding-rules-page-should-show-custom-rules.js
@@ -41,6 +41,12 @@ casper.test.begin('coding-rules-page-should-show-custom-rules', 3, function (tes
})
.then(function () {
+ casper.evaluate(function () {
+ require(['/js/coding-rules/app.js']);
+ });
+ })
+
+ .then(function () {
casper.waitForSelector('.coding-rule.selected', function () {
casper.click('.coding-rule.selected .js-rule');
});