Browse Source

Add a new integration test to test backup of quality profile

tags/2.6
fmallet 13 years ago
parent
commit
732074fe5a
1 changed files with 52 additions and 0 deletions
  1. 52
    0
      tests/integration/tests/src/it/selenium/profiles/bakup-profile.html

+ 52
- 0
tests/integration/tests/src/it/selenium/profiles/bakup-profile.html View File

@@ -0,0 +1,52 @@
<?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" />
<link rel="selenium.base" href="" />
<title>bakup-profile</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">bakup-profile</td></tr>
</thead><tbody>
<tr>
<td>open</td>
<td>/sessions/logout</td>
<td></td>
</tr>
<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>/api/rules.xml?categories=&amp;language=java&amp;plugins=&amp;priorities=&amp;profile=Integration+tests&amp;status=ACTIVE</td>
<td></td>
</tr>
<tr>
<td>assertElementPresent</td>
<td>//rules[count(rule) = 124]</td>
<td>Number of rules</td>
</tr>

</tbody></table>
</body>
</html>

Loading…
Cancel
Save