aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-qa-util
diff options
context:
space:
mode:
authorStas Vilchik <stas.vilchik@sonarsource.com>2018-05-09 10:35:25 +0200
committerSonarTech <sonartech@sonarsource.com>2018-05-09 20:20:47 +0200
commit56f312c22751268126bc3a5e60cd3c7a83b0c696 (patch)
tree21f8cd286316c0fbc8d22deb5cbf834cd4e11a86 /server/sonar-qa-util
parentbcc7e60fb6f54662c40d152fb9a72d564f2b5d8c (diff)
downloadsonarqube-56f312c22751268126bc3a5e60cd3c7a83b0c696.tar.gz
sonarqube-56f312c22751268126bc3a5e60cd3c7a83b0c696.zip
fix QualityGateUiTest
Diffstat (limited to 'server/sonar-qa-util')
-rw-r--r--server/sonar-qa-util/src/main/java/org/sonarqube/qa/util/pageobjects/QualityGatePage.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-qa-util/src/main/java/org/sonarqube/qa/util/pageobjects/QualityGatePage.java b/server/sonar-qa-util/src/main/java/org/sonarqube/qa/util/pageobjects/QualityGatePage.java
index 94e73a0451c..88184259707 100644
--- a/server/sonar-qa-util/src/main/java/org/sonarqube/qa/util/pageobjects/QualityGatePage.java
+++ b/server/sonar-qa-util/src/main/java/org/sonarqube/qa/util/pageobjects/QualityGatePage.java
@@ -44,7 +44,7 @@ public class QualityGatePage {
$("#quality-gate-add").click();
$(".modal-head").should(exist).shouldHave(text("Create Quality Gate"));
$("#quality-gate-form-name").sendKeys(name);
- $(".js-confirm").click();
+ $(".modal form").submit();
return this;
}