aboutsummaryrefslogtreecommitdiffstats
path: root/it/it-tests/src/test/resources/administration/project-deletion/project-deletion.html
diff options
context:
space:
mode:
Diffstat (limited to 'it/it-tests/src/test/resources/administration/project-deletion/project-deletion.html')
-rw-r--r--it/it-tests/src/test/resources/administration/project-deletion/project-deletion.html99
1 files changed, 99 insertions, 0 deletions
diff --git a/it/it-tests/src/test/resources/administration/project-deletion/project-deletion.html b/it/it-tests/src/test/resources/administration/project-deletion/project-deletion.html
new file mode 100644
index 00000000000..9de248da681
--- /dev/null
+++ b/it/it-tests/src/test/resources/administration/project-deletion/project-deletion.html
@@ -0,0 +1,99 @@
+<?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-deletion</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+ <thead>
+ <tr>
+ <td rowspan="1" colspan="3">project-deletion</td>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>open</td>
+ <td>/sonar/sessions/logout</td>
+ <td></td>
+</tr>
+<tr>
+ <td>open</td>
+ <td>/sonar/sessions/login</td>
+ <td></td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>login</td>
+ <td>project-deletion-with-admin-permission-on-project</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>password</td>
+ <td>password</td>
+</tr>
+<tr>
+ <td>clickAndWait</td>
+ <td>commit</td>
+ <td></td>
+</tr>
+<tr>
+ <td>open</td>
+ <td>/sonar/</td>
+ <td></td>
+</tr>
+<tr>
+ <td>assertTextPresent</td>
+ <td>Sample</td>
+ <td></td>
+</tr>
+<tr>
+ <td>open</td>
+ <td>/sonar/dashboard/index/sample</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Deletion</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAndWait</td>
+ <td>link=Deletion</td>
+ <td></td>
+</tr>
+<tr>
+ <td>click</td>
+ <td>delete_resource</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForText</td>
+ <td>delete-project-form</td>
+ <td>*Delete Project*</td>
+</tr>
+<tr>
+ <td>click</td>
+ <td>delete-project-submit</td>
+ <td></td>
+</tr>
+<tr>
+ <td>pause</td>
+ <td>3000</td>
+ <td>NOTE: necessary as the deletion is asynchronous</td>
+</tr>
+<tr>
+ <td>open</td>
+ <td>/sonar/</td>
+ <td></td>
+</tr>
+<tr>
+ <td>assertTextNotPresent</td>
+ <td>content</td>
+ <td>*Sample*</td>
+</tr>
+</tbody>
+</table>
+</body>
+</html>