diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2015-06-26 14:17:53 +0200 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2015-06-26 14:17:53 +0200 |
commit | 595d5099a0f3d69907920e0509678c5e947477b9 (patch) | |
tree | 954dc552853e6d6452409704c6c7286a6d2359d9 | |
parent | 543bc8609867032eb8e4c4ecc0466ead2fa0d31e (diff) | |
download | sonarqube-595d5099a0f3d69907920e0509678c5e947477b9.tar.gz sonarqube-595d5099a0f3d69907920e0509678c5e947477b9.zip |
SONAR-6661 stabilize web tests
-rw-r--r-- | server/sonar-web/src/test/js/update-center-spec.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server/sonar-web/src/test/js/update-center-spec.js b/server/sonar-web/src/test/js/update-center-spec.js index fcf8be24457..c2bc0d9a6f5 100644 --- a/server/sonar-web/src/test/js/update-center-spec.js +++ b/server/sonar-web/src/test/js/update-center-spec.js @@ -328,7 +328,7 @@ describe('Update Center App', function () { .then(function () { casper.click('li[data-id="scmgit"] .js-update'); - casper.waitUntilVisible('li[data-id="scmgit"] .js-spinner'); + casper.waitWhileSelector('li[data-id="scmgit"] .js-spinner'); }) .then(function () { @@ -360,7 +360,7 @@ describe('Update Center App', function () { .then(function () { casper.click('li[data-id="scmgit"] .js-uninstall'); - casper.waitUntilVisible('li[data-id="scmgit"] .js-spinner'); + casper.waitWhileSelector('li[data-id="scmgit"] .js-spinner'); }) .then(function () { @@ -391,7 +391,7 @@ describe('Update Center App', function () { .then(function () { casper.click('li[data-id="abap"] .js-install'); - casper.waitUntilVisible('li[data-id="abap"] .js-spinner'); + casper.waitWhileSelector('li[data-id="abap"] .js-spinner'); }) .then(function () { |