aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/test/js/coding-rules-page-rule-should-have-permalink.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-rule-should-have-permalink.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-rule-should-have-permalink.js')
-rw-r--r--server/sonar-web/src/test/js/coding-rules-page-rule-should-have-permalink.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/server/sonar-web/src/test/js/coding-rules-page-rule-should-have-permalink.js b/server/sonar-web/src/test/js/coding-rules-page-rule-should-have-permalink.js
index 053050f5414..5f09d634260 100644
--- a/server/sonar-web/src/test/js/coding-rules-page-rule-should-have-permalink.js
+++ b/server/sonar-web/src/test/js/coding-rules-page-rule-should-have-permalink.js
@@ -39,6 +39,12 @@ casper.test.begin('coding-rules-page-rule-permalink', 1, function (test) {
})
.then(function () {
+ casper.evaluate(function () {
+ require(['/js/coding-rules/app.js']);
+ });
+ })
+
+ .then(function () {
casper.waitForSelector('.coding-rule.selected');
})