aboutsummaryrefslogtreecommitdiffstats
path: root/it
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2016-01-26 14:34:51 +0100
committerStas Vilchik <vilchiks@gmail.com>2016-01-28 16:14:24 +0100
commitde0b07fffd01cc2552c9a4a50ebbc994fb684400 (patch)
treec66be7f9c8ae4761ef7b4cc64f96f7e51cd954b4 /it
parent2a981676b2f034933c01b7fd7b745a61263690ac (diff)
downloadsonarqube-de0b07fffd01cc2552c9a4a50ebbc994fb684400.tar.gz
sonarqube-de0b07fffd01cc2552c9a4a50ebbc994fb684400.zip
SONAR-7230 Move user notifications into separate page of "My Account" space
Diffstat (limited to 'it')
-rw-r--r--it/it-tests/src/test/java/it/qualityGate/QualityGateNotificationTest.java1
-rw-r--r--it/it-tests/src/test/resources/qualityGate/notifications/activate_notification_channels.html11
2 files changed, 8 insertions, 4 deletions
diff --git a/it/it-tests/src/test/java/it/qualityGate/QualityGateNotificationTest.java b/it/it-tests/src/test/java/it/qualityGate/QualityGateNotificationTest.java
index 37271141fbe..5920d677138 100644
--- a/it/it-tests/src/test/java/it/qualityGate/QualityGateNotificationTest.java
+++ b/it/it-tests/src/test/java/it/qualityGate/QualityGateNotificationTest.java
@@ -70,7 +70,6 @@ public class QualityGateNotificationTest {
}
@Test
- @Ignore("waiting for SONAR-7230")
public void status_on_metric_variation_and_send_notifications() throws Exception {
Wiser smtpServer = new Wiser(NetworkUtils.getNextAvailablePort());
try {
diff --git a/it/it-tests/src/test/resources/qualityGate/notifications/activate_notification_channels.html b/it/it-tests/src/test/resources/qualityGate/notifications/activate_notification_channels.html
index b72649cf564..fc1b770918e 100644
--- a/it/it-tests/src/test/resources/qualityGate/notifications/activate_notification_channels.html
+++ b/it/it-tests/src/test/resources/qualityGate/notifications/activate_notification_channels.html
@@ -35,17 +35,22 @@
</tr>
<tr>
<td>open</td>
- <td>/account/index</td>
+ <td>/sonar/account/notifications</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>id=global_notifs_NewAlerts_EmailNotificationChannel</td>
<td></td>
</tr>
<tr>
<td>check</td>
- <td>global_notifs_NewAlerts.EmailNotificationChannel</td>
+ <td>id=global_notifs_NewAlerts_EmailNotificationChannel</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
- <td>//input[@value='Save changes']</td>
+ <td>id=submit-notifications</td>
<td></td>
</tr>
</tbody>