diff options
Diffstat (limited to 'server')
-rw-r--r-- | server/sonar-qa-util/src/main/java/org/sonarqube/qa/util/pageobjects/Navigation.java | 4 |
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); } } |