diff options
author | Julien Lancelot <julien.lancelot@sonarsource.com> | 2017-06-14 10:24:40 +0200 |
---|---|---|
committer | Julien Lancelot <julien.lancelot@sonarsource.com> | 2017-06-14 14:43:10 +0200 |
commit | b574c7546423b082bcaab131594e875eb615c173 (patch) | |
tree | 96dcbe653b8b8936bee17833106b0693531ff851 /it/it-tests/src/test | |
parent | 75f327a6a5fae38e2d1ccf1e5ee83555da7953dc (diff) | |
download | sonarqube-b574c7546423b082bcaab131594e875eb615c173.tar.gz sonarqube-b574c7546423b082bcaab131594e875eb615c173.zip |
Improve NotificationsPage reliability
Diffstat (limited to 'it/it-tests/src/test')
-rw-r--r-- | it/it-tests/src/test/java/pageobjects/NotificationsPage.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/it/it-tests/src/test/java/pageobjects/NotificationsPage.java b/it/it-tests/src/test/java/pageobjects/NotificationsPage.java index 553e6d8a5c3..82f4b4d3f4a 100644 --- a/it/it-tests/src/test/java/pageobjects/NotificationsPage.java +++ b/it/it-tests/src/test/java/pageobjects/NotificationsPage.java @@ -20,6 +20,7 @@ package pageobjects; import static com.codeborne.selenide.Condition.cssClass; +import static com.codeborne.selenide.Condition.text; import static com.codeborne.selenide.Condition.visible; import static com.codeborne.selenide.Selenide.$; @@ -28,6 +29,7 @@ public class NotificationsPage { private final String EMAIL = "EmailNotificationChannel"; public NotificationsPage() { + $("#account-page").shouldHave(text("Overall notifications")); } public NotificationsPage shouldHaveGlobalNotification(String type) { |