summaryrefslogtreecommitdiffstats
path: root/server/sonar-web
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2015-09-18 16:01:40 +0200
committerStas Vilchik <vilchiks@gmail.com>2015-09-18 16:02:48 +0200
commitcb204155dcba2f4be13877f31ad312bed1779782 (patch)
treec6c58777f2a2b9897fe57c947909771322ec3e5b /server/sonar-web
parentf1fe6abd05f4e619c67043d0b76d452bcb812347 (diff)
downloadsonarqube-cb204155dcba2f4be13877f31ad312bed1779782.tar.gz
sonarqube-cb204155dcba2f4be13877f31ad312bed1779782.zip
try to fix selenium FP
Diffstat (limited to 'server/sonar-web')
-rw-r--r--server/sonar-web/test/helpers/test-page.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/sonar-web/test/helpers/test-page.js b/server/sonar-web/test/helpers/test-page.js
index 1679f4d1733..aaa5e5b56dd 100644
--- a/server/sonar-web/test/helpers/test-page.js
+++ b/server/sonar-web/test/helpers/test-page.js
@@ -93,6 +93,8 @@ define(function (require) {
Command.prototype.clickElement = function (selector) {
return new this.constructor(this, function () {
return this.parent
+ .checkElementExist(selector)
+ .sleep(250)
.findByCssSelector(selector)
.click()
.end()