aboutsummaryrefslogtreecommitdiffstats
path: root/it
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2015-08-27 09:32:14 +0200
committerStas Vilchik <vilchiks@gmail.com>2015-08-27 09:32:14 +0200
commit7fc1afc677e8507c440d499807b5437ea2ae76dc (patch)
tree33023d35dee6d6927484cf439aacc6f6aeb01011 /it
parent8237eb7d266c83dcd36a10c8c0affffcf065e56b (diff)
downloadsonarqube-7fc1afc677e8507c440d499807b5437ea2ae76dc.tar.gz
sonarqube-7fc1afc677e8507c440d499807b5437ea2ae76dc.zip
drop IT for project permissions
Diffstat (limited to 'it')
-rw-r--r--it/it-tests/src/test/java/administration/suite/administration/ProjectAdministrationTest.java11
-rw-r--r--it/it-tests/src/test/resources/administration/suite/ProjectAdministrationTest/anonymous_should_have_user_role_to_access_project/remove_user_role.html114
2 files changed, 0 insertions, 125 deletions
diff --git a/it/it-tests/src/test/java/administration/suite/administration/ProjectAdministrationTest.java b/it/it-tests/src/test/java/administration/suite/administration/ProjectAdministrationTest.java
index 832cafe9650..62d624c58a7 100644
--- a/it/it-tests/src/test/java/administration/suite/administration/ProjectAdministrationTest.java
+++ b/it/it-tests/src/test/java/administration/suite/administration/ProjectAdministrationTest.java
@@ -268,17 +268,6 @@ public class ProjectAdministrationTest {
orchestrator.executeSelenese(selenese);
}
- @Test
- public void anonymous_should_have_user_role_to_access_project() {
- scanSample();
-
- Selenese selenese = Selenese.builder()
- .setHtmlTestsInClasspath("anonymous_should_have_user_role_to_access_project",
- "/administration/suite/ProjectAdministrationTest/anonymous_should_have_user_role_to_access_project/remove_user_role.html"
- ).build();
- orchestrator.executeSelenese(selenese);
- }
-
/**
* SONAR-4060
*/
diff --git a/it/it-tests/src/test/resources/administration/suite/ProjectAdministrationTest/anonymous_should_have_user_role_to_access_project/remove_user_role.html b/it/it-tests/src/test/resources/administration/suite/ProjectAdministrationTest/anonymous_should_have_user_role_to_access_project/remove_user_role.html
deleted file mode 100644
index 578eab4eeca..00000000000
--- a/it/it-tests/src/test/resources/administration/suite/ProjectAdministrationTest/anonymous_should_have_user_role_to_access_project/remove_user_role.html
+++ /dev/null
@@ -1,114 +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>remove_user_role</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
- <tbody>
- <tr>
- <td>open</td>
- <td>/sonar/sessions/logout</td>
- <td></td>
-</tr>
-<tr>
- <td>open</td>
- <td>/sonar/project_roles/index/sample</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>pause</td>
- <td>2000</td>
- <td></td>
-</tr>
-<tr>
- <td>click</td>
- <td>id=select-user-edit-groups</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForText</td>
- <td>id=modal</td>
- <td>*Edit Permission*</td>
-</tr>
-<tr>
- <td>waitForElementPresent</td>
- <td>name=Anyone</td>
- <td></td>
-</tr>
-<tr>
- <td>click</td>
- <td>name=Anyone</td>
- <td></td>
-</tr>
-<tr>
- <td>click</td>
- <td>name=deselected</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForElementPresent</td>
- <td>name=sonar-administrators</td>
- <td></td>
-</tr>
-<tr>
- <td>click</td>
- <td>name=sonar-administrators</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForElementNotPresent</td>
- <td>name=sonar-administrators</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAndWait</td>
- <td>link=Close</td>
- <td></td>
-</tr>
-<tr>
- <td>assertText</td>
- <td>user-role-groups</td>
- <td>sonar-administrators</td>
-</tr>
-<tr>
- <td>open</td>
- <td>/sonar/sessions/logout</td>
- <td></td>
-</tr>
-<tr>
- <td>open</td>
- <td>/sonar/dashboard/index/sample</td>
- <td></td>
-</tr>
-<tr>
- <td>assertLocation</td>
- <td>*/sessions/new</td>
- <td></td>
-</tr>
-<tr>
- <td>assertElementPresent</td>
- <td>login_form</td>
- <td></td>
-</tr>
-</tbody>
-</table>
-</body>
-</html>