diff options
author | fmallet <freddy.mallet@gmail.com> | 2010-09-20 15:17:00 +0000 |
---|---|---|
committer | fmallet <freddy.mallet@gmail.com> | 2010-09-20 15:17:00 +0000 |
commit | 732074fe5a726b89aa111e25314db90ef818b47a (patch) | |
tree | 6ff0a044a44ac5fc2ce9daa375b2a244605c53df /tests | |
parent | 4db0f67d1546c598bc55324dec2e012be947bf0e (diff) | |
download | sonarqube-732074fe5a726b89aa111e25314db90ef818b47a.tar.gz sonarqube-732074fe5a726b89aa111e25314db90ef818b47a.zip |
Add a new integration test to test backup of quality profile
Diffstat (limited to 'tests')
-rw-r--r-- | tests/integration/tests/src/it/selenium/profiles/bakup-profile.html | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/tests/integration/tests/src/it/selenium/profiles/bakup-profile.html b/tests/integration/tests/src/it/selenium/profiles/bakup-profile.html new file mode 100644 index 00000000000..1426557023a --- /dev/null +++ b/tests/integration/tests/src/it/selenium/profiles/bakup-profile.html @@ -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=&language=java&plugins=&priorities=&profile=Integration+tests&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> |