aboutsummaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@sonarsource.com>2018-06-19 11:38:59 +0200
committersonartech <sonartech@sonarsource.com>2018-06-19 18:34:42 +0200
commit3ba09d3fb4328ee12b68c33b1b9a16824cb04a25 (patch)
tree7e06b6079875b2dbaa2246001e170709efe9a00a /server
parent335cb657544f2c01b9efdc561b42534e8dc558ee (diff)
downloadsonarqube-3ba09d3fb4328ee12b68c33b1b9a16824cb04a25.tar.gz
sonarqube-3ba09d3fb4328ee12b68c33b1b9a16824cb04a25.zip
Replace some selenium tests by selenide in LocalAuthenticationTest
Diffstat (limited to 'server')
-rw-r--r--server/sonar-qa-util/src/main/java/org/sonarqube/qa/util/pageobjects/Navigation.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/sonar-qa-util/src/main/java/org/sonarqube/qa/util/pageobjects/Navigation.java b/server/sonar-qa-util/src/main/java/org/sonarqube/qa/util/pageobjects/Navigation.java
index aff024938ee..6a26317a11a 100644
--- a/server/sonar-qa-util/src/main/java/org/sonarqube/qa/util/pageobjects/Navigation.java
+++ b/server/sonar-qa-util/src/main/java/org/sonarqube/qa/util/pageobjects/Navigation.java
@@ -325,9 +325,9 @@ public class Navigation {
}
}
- public Navigation shouldBeRedirectedToLogin() {
+ public LoginPage shouldBeRedirectedToLogin() {
Selenide.$("#login_form").should(Condition.visible);
- return this;
+ return Selenide.page(LoginPage.class);
}
}