aboutsummaryrefslogtreecommitdiffstats
path: root/it/it-tests/src
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2016-07-22 13:32:00 +0200
committerStas Vilchik <vilchiks@gmail.com>2016-07-25 13:47:25 +0200
commit2e0c8fc8d35b3baf8b116baf51d08ddee3b72fd8 (patch)
tree79d4ddc9f012a3ba6c0bcd0d67db89c970472f32 /it/it-tests/src
parent7543c6b2d9e44f7055a2d378f9bbfc2a0fe5114c (diff)
downloadsonarqube-2e0c8fc8d35b3baf8b116baf51d08ddee3b72fd8.tar.gz
sonarqube-2e0c8fc8d35b3baf8b116baf51d08ddee3b72fd8.zip
SONAR-7914 Drop project level "Manage Dashboards" page and actions
Diffstat (limited to 'it/it-tests/src')
-rw-r--r--it/it-tests/src/test/java/it/authorisation/DashboardSharingPermissionTest.java15
-rw-r--r--it/it-tests/src/test/java/it/authorisation/SystemAdminPermissionTest.java13
-rw-r--r--it/it-tests/src/test/java/it/componentDashboard/DashboardTest.java13
-rw-r--r--it/it-tests/src/test/resources/authorisation/DashboardSharingPermissionTest/project-dashboard-sharing-allowed.html84
-rw-r--r--it/it-tests/src/test/resources/authorisation/DashboardSharingPermissionTest/project-dashboard-sharing-denied.html59
-rw-r--r--it/it-tests/src/test/resources/authorisation/SystemAdminPermissionTest/change-shared-project-dashboard-owner-failure.html109
-rw-r--r--it/it-tests/src/test/resources/authorisation/SystemAdminPermissionTest/change-shared-project-dashboard-owner.html104
-rw-r--r--it/it-tests/src/test/resources/componentDashboard/DashboardTest/global_dashboard/edit-project-dashboards.html229
-rw-r--r--it/it-tests/src/test/resources/componentDashboard/DashboardTest/share_dashboard/follow-unfollow.html73
-rw-r--r--it/it-tests/src/test/resources/componentDashboard/DashboardTest/share_dashboard/should-not-unshare-default-dashboard.html188
10 files changed, 0 insertions, 887 deletions
diff --git a/it/it-tests/src/test/java/it/authorisation/DashboardSharingPermissionTest.java b/it/it-tests/src/test/java/it/authorisation/DashboardSharingPermissionTest.java
index 3236b69ccfc..63a8146615b 100644
--- a/it/it-tests/src/test/java/it/authorisation/DashboardSharingPermissionTest.java
+++ b/it/it-tests/src/test/java/it/authorisation/DashboardSharingPermissionTest.java
@@ -32,7 +32,6 @@ import org.sonarqube.ws.client.permission.PermissionsService;
import util.user.UserRule;
import static util.ItUtils.newAdminWsClient;
-import static util.ItUtils.runProjectAnalysis;
public class DashboardSharingPermissionTest {
@@ -85,18 +84,4 @@ public class DashboardSharingPermissionTest {
.build();
orchestrator.executeSelenese(selenese);
}
-
- /**
- * SONAR-4136
- */
- @Test
- public void share_project_dashboard() throws Exception {
- runProjectAnalysis(orchestrator, "shared/xoo-sample");
-
- Selenese selenese = Selenese.builder().setHtmlTestsInClasspath("project-dashboard-sharing-permission",
- "/authorisation/DashboardSharingPermissionTest/project-dashboard-sharing-allowed.html",
- "/authorisation/DashboardSharingPermissionTest/project-dashboard-sharing-denied.html")
- .build();
- orchestrator.executeSelenese(selenese);
- }
}
diff --git a/it/it-tests/src/test/java/it/authorisation/SystemAdminPermissionTest.java b/it/it-tests/src/test/java/it/authorisation/SystemAdminPermissionTest.java
index cb893b6a49b..af310ada96f 100644
--- a/it/it-tests/src/test/java/it/authorisation/SystemAdminPermissionTest.java
+++ b/it/it-tests/src/test/java/it/authorisation/SystemAdminPermissionTest.java
@@ -31,7 +31,6 @@ import org.sonarqube.ws.client.permission.PermissionsService;
import util.user.UserRule;
import static util.ItUtils.newAdminWsClient;
-import static util.ItUtils.runProjectAnalysis;
public class SystemAdminPermissionTest {
@@ -82,18 +81,6 @@ public class SystemAdminPermissionTest {
"/authorisation/SystemAdminPermissionTest/change-shared-global-dashboard-owner-failure.html");
}
- /**
- * SONAR-4136
- */
- @Test
- public void should_change_ownership_of_shared_project_dashboard() throws Exception {
- runProjectAnalysis(orchestrator, "shared/xoo-sample");
-
- seleniumSuite("change-project-dashboard-ownership",
- "/authorisation/SystemAdminPermissionTest/change-shared-project-dashboard-owner.html",
- "/authorisation/SystemAdminPermissionTest/change-shared-project-dashboard-owner-failure.html");
- }
-
private void seleniumSuite(String suiteName, String... tests) {
Selenese selenese = Selenese.builder().setHtmlTestsInClasspath(suiteName, tests).build();
orchestrator.executeSelenese(selenese);
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 b4e57a57af9..cb952347126 100644
--- a/it/it-tests/src/test/java/it/componentDashboard/DashboardTest.java
+++ b/it/it-tests/src/test/java/it/componentDashboard/DashboardTest.java
@@ -52,16 +52,6 @@ public class DashboardTest {
"/componentDashboard/DashboardTest/dashboard_extension/xss.html");
}
- /**
- * SONAR-3103
- */
- @Test
- public void share_dashboard() {
- seleniumSuite("share_dashboard",
- "/componentDashboard/DashboardTest/share_dashboard/follow-unfollow.html",
- "/componentDashboard/DashboardTest/share_dashboard/should-not-unshare-default-dashboard.html");
- }
-
@Test
public void configure_dashboard() {
seleniumSuite("configure_dashboard",
@@ -85,9 +75,6 @@ public class DashboardTest {
// SONAR-4630
"/componentDashboard/DashboardTest/global_dashboard/create-global-dashboards-error.html",
- // SONAR-3462
- "/componentDashboard/DashboardTest/global_dashboard/edit-project-dashboards.html",
-
// SONAR-3461
"/componentDashboard/DashboardTest/global_dashboard/order-project-default-dashboards.html",
diff --git a/it/it-tests/src/test/resources/authorisation/DashboardSharingPermissionTest/project-dashboard-sharing-allowed.html b/it/it-tests/src/test/resources/authorisation/DashboardSharingPermissionTest/project-dashboard-sharing-allowed.html
deleted file mode 100644
index 3b23dc8897b..00000000000
--- a/it/it-tests/src/test/resources/authorisation/DashboardSharingPermissionTest/project-dashboard-sharing-allowed.html
+++ /dev/null
@@ -1,84 +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>project-dashboard-sharing-permission</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
- <tbody>
- <tr>
- <td>open</td>
- <td>/sessions/logout</td>
- <td></td>
-</tr>
-<tr>
- <td>open</td>
- <td>/sessions/new</td>
- <td></td>
-</tr>
-<tr>
- <td>type</td>
- <td>id=login</td>
- <td>can_share_dashboards</td>
-</tr>
-<tr>
- <td>type</td>
- <td>id=password</td>
- <td>password</td>
-</tr>
-<tr>
- <td>clickAndWait</td>
- <td>name=commit</td>
- <td></td>
-</tr>
-<tr>
- <td>open</td>
- <td>/dashboards?resource=sample</td>
- <td></td>
-</tr>
-<tr>
- <td>click</td>
- <td>create-link-dashboard</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForVisible</td>
- <td>css=div.modal-body</td>
- <td></td>
-</tr>
-<tr>
- <td>type</td>
- <td>name</td>
- <td>My shared project dashboard</td>
-</tr>
-<tr>
- <td>storeValue</td>
- <td>name</td>
- <td>DASHBOARD_NAME</td>
-</tr>
-<tr>
- <td>click</td>
- <td>name=shared</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAndWait</td>
- <td>save-submit</td>
- <td></td>
-</tr>
-<tr>
- <td>assertTable</td>
- <td>css=table.data.2.0</td>
- <td>exact:${DASHBOARD_NAME}</td>
-</tr>
-<tr>
- <td>assertElementPresent</td>
- <td>dashboard-1-shared</td>
- <td></td>
-</tr>
-</tbody>
-</table>
-</body>
-</html>
diff --git a/it/it-tests/src/test/resources/authorisation/DashboardSharingPermissionTest/project-dashboard-sharing-denied.html b/it/it-tests/src/test/resources/authorisation/DashboardSharingPermissionTest/project-dashboard-sharing-denied.html
deleted file mode 100644
index d8bfbd949ec..00000000000
--- a/it/it-tests/src/test/resources/authorisation/DashboardSharingPermissionTest/project-dashboard-sharing-denied.html
+++ /dev/null
@@ -1,59 +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>project-dashboard-sharing-permission</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
- <tbody>
- <tr>
- <td>open</td>
- <td>/sessions/logout</td>
- <td></td>
-</tr>
-<tr>
- <td>open</td>
- <td>/sessions/new</td>
- <td></td>
-</tr>
-<tr>
- <td>type</td>
- <td>id=login</td>
- <td>cannot_share_dashboards</td>
-</tr>
-<tr>
- <td>type</td>
- <td>id=password</td>
- <td>password</td>
-</tr>
-<tr>
- <td>clickAndWait</td>
- <td>name=commit</td>
- <td></td>
-</tr>
-<tr>
- <td>open</td>
- <td>/dashboards?resource=sample</td>
- <td></td>
-</tr>
-<tr>
- <td>click</td>
- <td>create-link-dashboard</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForVisible</td>
- <td>css=div.modal-body</td>
- <td></td>
-</tr>
-<tr>
- <td>assertElementNotPresent</td>
- <td>css=div.modal-body &gt; div.modal.field &gt; input#shared</td>
- <td></td>
-</tr>
-</tbody>
-</table>
-</body>
-</html>
diff --git a/it/it-tests/src/test/resources/authorisation/SystemAdminPermissionTest/change-shared-project-dashboard-owner-failure.html b/it/it-tests/src/test/resources/authorisation/SystemAdminPermissionTest/change-shared-project-dashboard-owner-failure.html
deleted file mode 100644
index c82ad4bcba5..00000000000
--- a/it/it-tests/src/test/resources/authorisation/SystemAdminPermissionTest/change-shared-project-dashboard-owner-failure.html
+++ /dev/null
@@ -1,109 +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>change-shared-project-dashboard-owner</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
- <tbody>
- <tr>
- <td>open</td>
- <td>/sessions/logout</td>
- <td></td>
- </tr>
- <tr>
- <td>open</td>
- <td>/sessions/new</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>/dashboards?resource=sample</td>
- <td></td>
- </tr>
- <tr>
- <td>click</td>
- <td>create-link-dashboard</td>
- <td></td>
- </tr>
- <tr>
- <td>waitForVisible</td>
- <td>css=div.modal-body</td>
- <td></td>
- </tr>
- <tr>
- <td>type</td>
- <td>name</td>
- <td>shared-project-dashboard-fail</td>
- </tr>
- <tr>
- <td>storeValue</td>
- <td>name</td>
- <td>DASHBOARD_NAME</td>
- </tr>
- <tr>
- <td>click</td>
- <td>name=shared</td>
- <td></td>
- </tr>
- <tr>
- <td>clickAndWait</td>
- <td>save-submit</td>
- <td></td>
- </tr>
- <tr>
- <td>waitForVisible</td>
- <td>edit-${DASHBOARD_NAME}</td>
- <td></td>
- </tr>
- <tr>
- <td>click</td>
- <td>edit-${DASHBOARD_NAME}</td>
- <td></td>
- </tr>
- <tr>
- <td>waitForVisible</td>
- <td>css=div.modal-body</td>
- <td></td>
- </tr>
- <tr>
- <td>type</td>
- <td>select-dashboard-owner</td>
- <td>cannot_share</td>
- </tr>
- <tr>
- <td>click</td>
- <td>save-submit</td>
- <td></td>
- </tr>
- <tr>
- <td>waitForVisible</td>
- <td>css=div.modal-body > p.error</td>
- <td></td>
- </tr>
- <tr>
- <td>waitForText</td>
- <td>css=div.modal-body > p.error</td>
- <td>glob:*User cannot own this dashboard because of insufficient rights*</td>
- </tr>
- </tbody>
-</table>
-</body>
-</html>
diff --git a/it/it-tests/src/test/resources/authorisation/SystemAdminPermissionTest/change-shared-project-dashboard-owner.html b/it/it-tests/src/test/resources/authorisation/SystemAdminPermissionTest/change-shared-project-dashboard-owner.html
deleted file mode 100644
index df21b924dc3..00000000000
--- a/it/it-tests/src/test/resources/authorisation/SystemAdminPermissionTest/change-shared-project-dashboard-owner.html
+++ /dev/null
@@ -1,104 +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>change-shared-project-dashboard-owner</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
- <tbody>
- <tr>
- <td>open</td>
- <td>/sessions/logout</td>
- <td></td>
- </tr>
- <tr>
- <td>open</td>
- <td>/sessions/new</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>/dashboards?resource=sample</td>
- <td></td>
- </tr>
- <tr>
- <td>click</td>
- <td>create-link-dashboard</td>
- <td></td>
- </tr>
- <tr>
- <td>waitForVisible</td>
- <td>css=div.modal-body</td>
- <td></td>
- </tr>
- <tr>
- <td>type</td>
- <td>name</td>
- <td>shared-project-dashboard</td>
- </tr>
- <tr>
- <td>storeValue</td>
- <td>name</td>
- <td>DASHBOARD_NAME</td>
- </tr>
- <tr>
- <td>click</td>
- <td>name=shared</td>
- <td></td>
- </tr>
- <tr>
- <td>clickAndWait</td>
- <td>save-submit</td>
- <td></td>
- </tr>
- <tr>
- <td>waitForVisible</td>
- <td>edit-${DASHBOARD_NAME}</td>
- <td></td>
- </tr>
- <tr>
- <td>click</td>
- <td>edit-${DASHBOARD_NAME}</td>
- <td></td>
- </tr>
- <tr>
- <td>waitForVisible</td>
- <td>css=div.modal-body</td>
- <td></td>
- </tr>
- <tr>
- <td>type</td>
- <td>select-dashboard-owner</td>
- <td>can_share</td>
- </tr>
- <tr>
- <td>clickAndWait</td>
- <td>save-submit</td>
- <td></td>
- </tr>
- <tr>
- <td>waitForText</td>
- <td>dashboards</td>
- <td>glob:*can_share*</td>
- </tr>
- </tbody>
-</table>
-</body>
-</html>
diff --git a/it/it-tests/src/test/resources/componentDashboard/DashboardTest/global_dashboard/edit-project-dashboards.html b/it/it-tests/src/test/resources/componentDashboard/DashboardTest/global_dashboard/edit-project-dashboards.html
deleted file mode 100644
index ca8e1a7dbc4..00000000000
--- a/it/it-tests/src/test/resources/componentDashboard/DashboardTest/global_dashboard/edit-project-dashboards.html
+++ /dev/null
@@ -1,229 +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>edit-project-dashboards</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
- <thead>
- <tr>
- <td rowspan="1" colspan="3">edit-project-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>/dashboards?resource=sample</td>
- <td></td>
-</tr>
-<tr>
- <td>click</td>
- <td>create-link-dashboard</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForVisible</td>
- <td>css=div.modal-head &gt; h2</td>
- <td></td>
-</tr>
-<tr>
- <td>type</td>
- <td>name=name</td>
- <td>Project Shared</td>
-</tr>
-<tr>
- <td>click</td>
- <td>name=shared</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAndWait</td>
- <td>id=save-submit</td>
- <td></td>
-</tr>
-<tr>
- <td>click</td>
- <td>create-link-dashboard</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForVisible</td>
- <td>css=div.modal-head &gt; h2</td>
- <td></td>
-</tr>
-<tr>
- <td>type</td>
- <td>name=name</td>
- <td>Project Not Shared</td>
-</tr>
-<tr>
- <td>clickAndWait</td>
- <td>id=save-submit</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForTextPresent</td>
- <td>My Project Dashboards</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAndWait</td>
- <td>id=unfollow-Project%20Shared</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAndWait</td>
- <td>id=unfollow-Project%20Not%20Shared</td>
- <td></td>
-</tr>
-<tr>
- <td>assertTable</td>
- <td>id=shared-dashboards.1.0</td>
- <td>Project Not Shared</td>
-</tr>
-<tr>
- <td>assertTable</td>
- <td>id=shared-dashboards.2.0</td>
- <td>Project Shared</td>
-</tr>
-<tr>
- <td>assertElementPresent</td>
- <td>id=follow-Project%20Shared</td>
- <td></td>
-</tr>
-<tr>
- <td>assertElementPresent</td>
- <td>id=follow-Project%20Not%20Shared</td>
- <td></td>
-</tr>
-<tr>
- <td>click</td>
- <td>id=edit-Project%20Shared</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForVisible</td>
- <td>css=div.modal-head &gt; h2</td>
- <td></td>
-</tr>
-<tr>
- <td>type</td>
- <td>name=description</td>
- <td>Description Shared</td>
-</tr>
-<tr>
- <td>clickAndWait</td>
- <td>id=save-submit</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForTextPresent</td>
- <td>Description Shared</td>
- <td></td>
-</tr>
-<tr>
- <td>click</td>
- <td>id=edit-Project%20Not%20Shared</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForVisible</td>
- <td>css=div.modal-head &gt; h2</td>
- <td></td>
-</tr>
-<tr>
- <td>type</td>
- <td>name=description</td>
- <td>Description Not Shared</td>
-</tr>
-<tr>
- <td>clickAndWait</td>
- <td>id=save-submit</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForTextPresent</td>
- <td>Description Not Shared</td>
- <td></td>
-</tr>
-<tr>
- <td>click</td>
- <td>id=delete-Project%20Shared</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForVisible</td>
- <td>css=div.modal-head &gt; h2</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForText</td>
- <td>css=.modal-body</td>
- <td>Do you want to delete this dashboard?</td>
-</tr>
-<tr>
- <td>click</td>
- <td>confirm-submit</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForElementNotPresent</td>
- <td>confirm-submit</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForVisible</td>
- <td>delete-Project%20Not%20Shared</td>
- <td></td>
-</tr>
-<tr>
- <td>click</td>
- <td>delete-Project%20Not%20Shared</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForVisible</td>
- <td>css=div.modal-head &gt; h2</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForText</td>
- <td>css=.modal-body</td>
- <td>Do you want to delete this dashboard?</td>
-</tr>
-<tr>
- <td>click</td>
- <td>confirm-submit</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForElementNotPresent</td>
- <td>confirm-submit</td>
- <td></td>
-</tr>
-</tbody>
-</table>
-</body>
-</html>
diff --git a/it/it-tests/src/test/resources/componentDashboard/DashboardTest/share_dashboard/follow-unfollow.html b/it/it-tests/src/test/resources/componentDashboard/DashboardTest/share_dashboard/follow-unfollow.html
deleted file mode 100644
index f0e635a0c0c..00000000000
--- a/it/it-tests/src/test/resources/componentDashboard/DashboardTest/share_dashboard/follow-unfollow.html
+++ /dev/null
@@ -1,73 +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"/>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
- <tbody>
- <tr>
- <td>open</td>
- <td>/sessions/new</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>/dashboards/index?resource=sample</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForText</td>
- <td>dashboards</td>
- <td>glob:*Custom*</td>
-</tr>
-<tr>
- <td>clickAndWait</td>
- <td>id=unfollow-Custom</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForText</td>
- <td>shared-dashboards</td>
- <td>glob:*Custom*</td>
-</tr>
-<tr>
- <td>assertNotText</td>
- <td>dashboards</td>
- <td>glob:*Custom*</td>
-</tr>
-<tr>
- <td>clickAndWait</td>
- <td>id=follow-Custom</td>
- <td></td>
-</tr>
-<tr>
- <td>assertNotText</td>
- <td>shared-dashboards</td>
- <td>glob:*Custom*</td>
-</tr>
-<tr>
- <td>waitForText</td>
- <td>dashboards</td>
- <td>glob:*Custom*</td>
-</tr>
-</tbody>
-</table>
-</body>
-</html>
diff --git a/it/it-tests/src/test/resources/componentDashboard/DashboardTest/share_dashboard/should-not-unshare-default-dashboard.html b/it/it-tests/src/test/resources/componentDashboard/DashboardTest/share_dashboard/should-not-unshare-default-dashboard.html
deleted file mode 100644
index 8eef362bf7f..00000000000
--- a/it/it-tests/src/test/resources/componentDashboard/DashboardTest/share_dashboard/should-not-unshare-default-dashboard.html
+++ /dev/null
@@ -1,188 +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"/>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
- <tbody>
- <tr>
- <td>open</td>
- <td>/sessions/new</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>/dashboards/index?resource=sample</td>
- <td></td>
-</tr>
-<tr>
- <td>click</td>
- <td>create-link-dashboard</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForVisible</td>
- <td>css=div.modal-head &gt; h2</td>
- <td></td>
-</tr>
-<tr>
- <td>type</td>
- <td>name=name</td>
- <td>IsDefault</td>
-</tr>
-<tr>
- <td>click</td>
- <td>name=shared</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAndWait</td>
- <td>save-submit</td>
- <td></td>
-</tr>
-<tr>
- <td>open</td>
- <td>/admin_dashboards/index</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAndWait</td>
- <td>id=add-IsDefault</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForText</td>
- <td>activeProject</td>
- <td>glob:*IsDefault*</td>
-</tr>
-<tr>
- <td>open</td>
- <td>/dashboards/index?resource=sample</td>
- <td></td>
-</tr>
-<tr>
- <td>click</td>
- <td>edit-IsDefault</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForVisible</td>
- <td>css=div.modal-head &gt; h2</td>
- <td></td>
-</tr>
-<tr>
- <td>click</td>
- <td>name=shared</td>
- <td></td>
-</tr>
-<tr>
- <td>click</td>
- <td>save-submit</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForVisible</td>
- <td>css=div.modal-body &gt; p.error</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForText</td>
- <td>css=div.modal-body &gt; p.error</td>
- <td>glob:*This dashboard can't be unshared*</td>
-</tr>
-<tr>
- <td>click</td>
- <td>save-cancel</td>
- <td></td>
-</tr>
-<tr>
- <td>click</td>
- <td>id=delete-IsDefault</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForVisible</td>
- <td>css=div.modal-head &gt; h2</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForText</td>
- <td>css=div.modal-body</td>
- <td>Do you want to delete this dashboard?</td>
-</tr>
-<tr>
- <td>click</td>
- <td>confirm-submit</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForVisible</td>
- <td>css=div.modal-body .alert-danger</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForText</td>
- <td>css=div.modal-body .alert-danger</td>
- <td>glob:*This dashboard can't be deleted*</td>
-</tr>
-<tr>
- <td>open</td>
- <td>/admin_dashboards/index</td>
- <td></td>
-</tr>
-<tr>
- <td>click</td>
- <td>id=remove-IsDefault</td>
- <td></td>
-</tr>
-<tr>
- <td>assertConfirmation</td>
- <td>Are you sure to remove it from default dashboards?</td>
- <td></td>
-</tr>
-<tr>
- <td>open</td>
- <td>/dashboards/index?resource=sample</td>
- <td></td>
-</tr>
-<tr>
- <td>click</td>
- <td>id=delete-IsDefault</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForVisible</td>
- <td>css=div.modal-head &gt; h2</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForText</td>
- <td>css=div.modal-body</td>
- <td>Do you want to delete this dashboard?</td>
-</tr>
-<tr>
- <td>click</td>
- <td>confirm-submit</td>
- <td></td>
-</tr>
-</tbody>
-</table>
-</body>
-</html>