aboutsummaryrefslogtreecommitdiffstats
path: root/it
diff options
context:
space:
mode:
authorTeryk Bellahsene <teryk.bellahsene@sonarsource.com>2016-07-25 11:24:22 +0200
committerTeryk Bellahsene <teryk.bellahsene@sonarsource.com>2016-07-25 15:21:54 +0200
commit298b3f58af36a48512dedd058ddc4f4d1c122715 (patch)
tree6dad510d1d4633f1631611a54c9b5ee229c51cc4 /it
parentbf0b1f78b38bdbff570232764135698e9e290e59 (diff)
downloadsonarqube-298b3f58af36a48512dedd058ddc4f4d1c122715.tar.gz
sonarqube-298b3f58af36a48512dedd058ddc4f4d1c122715.zip
SONAR-7916 Remove built-in default project dashboard
Diffstat (limited to 'it')
-rw-r--r--it/it-tests/src/test/java/it/componentDashboard/DashboardTest.java3
-rw-r--r--it/it-tests/src/test/resources/componentDashboard/DashboardTest/global_dashboard/default-dashboards.html45
-rw-r--r--it/it-tests/src/test/resources/componentDashboard/DashboardTest/global_dashboard/order-project-default-dashboards.html89
3 files changed, 0 insertions, 137 deletions
diff --git a/it/it-tests/src/test/java/it/componentDashboard/DashboardTest.java b/it/it-tests/src/test/java/it/componentDashboard/DashboardTest.java
index 8c2d3bf345e..4ef6c3000e9 100644
--- a/it/it-tests/src/test/java/it/componentDashboard/DashboardTest.java
+++ b/it/it-tests/src/test/java/it/componentDashboard/DashboardTest.java
@@ -58,9 +58,6 @@ public class DashboardTest {
// SONAR-4630
"/componentDashboard/DashboardTest/global_dashboard/create-global-dashboards-error.html",
- // SONAR-3461
- "/componentDashboard/DashboardTest/global_dashboard/order-project-default-dashboards.html",
-
// SONAR-3462
"/componentDashboard/DashboardTest/global_dashboard/order-global-dashboard.html",
diff --git a/it/it-tests/src/test/resources/componentDashboard/DashboardTest/global_dashboard/default-dashboards.html b/it/it-tests/src/test/resources/componentDashboard/DashboardTest/global_dashboard/default-dashboards.html
index 9a6439c22af..3bc101132a4 100644
--- a/it/it-tests/src/test/resources/componentDashboard/DashboardTest/global_dashboard/default-dashboards.html
+++ b/it/it-tests/src/test/resources/componentDashboard/DashboardTest/global_dashboard/default-dashboards.html
@@ -53,51 +53,6 @@
<td>remove-Home</td>
<td></td>
</tr>
-<tr>
- <td>waitForText</td>
- <td>activeProject</td>
- <td>*Custom*</td>
-</tr>
-<tr>
- <td>assertNotText</td>
- <td>shared</td>
- <td>*Custom*</td>
-</tr>
-<tr>
- <td>clickAndWait</td>
- <td>id=remove-Custom</td>
- <td></td>
-</tr>
-<tr>
- <td>assertConfirmation</td>
- <td>Are you sure to remove it from default dashboards?</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForText</td>
- <td>shared</td>
- <td>*Custom*</td>
-</tr>
-<tr>
- <td>assertNotText</td>
- <td>activeProject</td>
- <td>*Custom*</td>
-</tr>
-<tr>
- <td>clickAndWait</td>
- <td>add-Custom</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForText</td>
- <td>activeProject</td>
- <td>*Custom*</td>
-</tr>
-<tr>
- <td>assertNotText</td>
- <td>shared</td>
- <td>*Custom*</td>
-</tr>
</tbody>
</table>
</body>
diff --git a/it/it-tests/src/test/resources/componentDashboard/DashboardTest/global_dashboard/order-project-default-dashboards.html b/it/it-tests/src/test/resources/componentDashboard/DashboardTest/global_dashboard/order-project-default-dashboards.html
deleted file mode 100644
index e0281f68124..00000000000
--- a/it/it-tests/src/test/resources/componentDashboard/DashboardTest/global_dashboard/order-project-default-dashboards.html
+++ /dev/null
@@ -1,89 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
- <title>order-project-default-dashboards</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
- <thead>
- <tr>
- <td rowspan="1" colspan="3">order-project-default-dashboards</td>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>open</td>
- <td>/sessions/login</td>
- <td></td>
-</tr>
-<tr>
- <td>type</td>
- <td>login</td>
- <td>admin</td>
-</tr>
-<tr>
- <td>type</td>
- <td>password</td>
- <td>admin</td>
-</tr>
-<tr>
- <td>clickAndWait</td>
- <td>commit</td>
- <td></td>
-</tr>
-<tr>
- <td>open</td>
- <td>/admin_dashboards</td>
- <td></td>
-</tr>
-<tr>
- <td>assertTextPresent</td>
- <td>Project Dashboards</td>
- <td></td>
-</tr>
-<tr>
- <td>assertTable</td>
- <td>id=activeProject.1.0</td>
- <td>Custom</td>
-</tr>
-<tr>
- <td>assertTable</td>
- <td>id=activeProject.2.0</td>
- <td>Fake<br /> Fake dashboard for integration tests</td>
-</tr>
-<tr>
- <td>clickAndWait</td>
- <td>id=up-Fake</td>
- <td></td>
-</tr>
-<tr>
- <td>assertTable</td>
- <td>id=activeProject.1.0</td>
- <td>Fake<br /> Fake dashboard for integration tests</td>
-</tr>
-<tr>
- <td>assertTable</td>
- <td>id=activeProject.2.0</td>
- <td>Custom</td>
-</tr>
-<tr>
- <td>clickAndWait</td>
- <td>id=down-Fake</td>
- <td></td>
-</tr>
-<tr>
- <td>assertTable</td>
- <td>id=activeProject.1.0</td>
- <td>Custom</td>
-</tr>
-<tr>
- <td>assertTable</td>
- <td>id=activeProject.2.0</td>
- <td>Fake<br /> Fake dashboard for integration tests</td>
-</tr>
-</tbody>
-</table>
-</body>
-</html>