aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src
diff options
context:
space:
mode:
authorGrégoire Aubert <gregoire.aubert@sonarsource.com>2018-06-04 13:34:57 +0200
committerSonarTech <sonartech@sonarsource.com>2018-06-06 20:20:50 +0200
commit20dbd44984a97b58745ddd363614c33f86339f37 (patch)
treed2fcb950b8d2485736d8e2bd3f94c31fa4f2b9bb /tests/src
parentc67e019238182ad95b341368ef6d97cabdb3d49a (diff)
downloadsonarqube-20dbd44984a97b58745ddd363614c33f86339f37.tar.gz
sonarqube-20dbd44984a97b58745ddd363614c33f86339f37.zip
SONAR-10849 Display default quality gate by default
Diffstat (limited to 'tests/src')
-rw-r--r--tests/src/test/java/org/sonarqube/tests/qualityGate/OrganizationQualityGateUiTest.java2
-rw-r--r--tests/src/test/java/org/sonarqube/tests/qualityGate/QualityGateUiTest.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/src/test/java/org/sonarqube/tests/qualityGate/OrganizationQualityGateUiTest.java b/tests/src/test/java/org/sonarqube/tests/qualityGate/OrganizationQualityGateUiTest.java
index 43bafe8510d..0658aadd6ea 100644
--- a/tests/src/test/java/org/sonarqube/tests/qualityGate/OrganizationQualityGateUiTest.java
+++ b/tests/src/test/java/org/sonarqube/tests/qualityGate/OrganizationQualityGateUiTest.java
@@ -85,7 +85,7 @@ public class OrganizationQualityGateUiTest {
QualityGatePage page = tester.openBrowser()
.logIn().submitCredentials(gateAdmin.getLogin())
.openQualityGates(organization.getKey());
- page.countQualityGates(1).displayIntro();
+ page.countQualityGates(1).displayQualityGateDetail("Sonar way");
}
@Test
diff --git a/tests/src/test/java/org/sonarqube/tests/qualityGate/QualityGateUiTest.java b/tests/src/test/java/org/sonarqube/tests/qualityGate/QualityGateUiTest.java
index 95e2a177566..29d9f115973 100644
--- a/tests/src/test/java/org/sonarqube/tests/qualityGate/QualityGateUiTest.java
+++ b/tests/src/test/java/org/sonarqube/tests/qualityGate/QualityGateUiTest.java
@@ -118,7 +118,7 @@ public class QualityGateUiTest {
.logIn().submitCredentials(admin)
.openQualityGates()
.canCreateQG()
- .displayIntro();
+ .displayQualityGateDetail("Sonar way");
}
@Test