diff options
Diffstat (limited to 'it/it-tests/src/test/resources/server/ServerTest')
17 files changed, 751 insertions, 0 deletions
diff --git a/it/it-tests/src/test/resources/server/ServerTest/derby-warning.html b/it/it-tests/src/test/resources/server/ServerTest/derby-warning.html new file mode 100644 index 00000000000..2fac7ea6548 --- /dev/null +++ b/it/it-tests/src/test/resources/server/ServerTest/derby-warning.html @@ -0,0 +1,35 @@ +<?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>derby-warning</title> +</head> +<body> +<table cellpadding="1" cellspacing="1" border="1"> + <thead> + <tr> + <td rowspan="1" colspan="3">derby-warning</td> + </tr> + </thead> + <tbody> + <tr> + <td>open</td> + <td>/sonar/</td> + <td></td> + </tr> + <tr> + <td>assertElementPresent</td> + <td>evaluation_warning</td> + <td></td> + </tr> + <tr> + <td>assertText</td> + <td>footer</td> + <td>glob:*evaluation*</td> + </tr> + + </tbody> +</table> +</body> +</html> diff --git a/it/it-tests/src/test/resources/server/ServerTest/hide-jdbc-settings.html b/it/it-tests/src/test/resources/server/ServerTest/hide-jdbc-settings.html new file mode 100644 index 00000000000..e223287d9e4 --- /dev/null +++ b/it/it-tests/src/test/resources/server/ServerTest/hide-jdbc-settings.html @@ -0,0 +1,30 @@ +<?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>hide-jdbc-settings</title> +</head> +<body> +<table cellpadding="1" cellspacing="1" border="1"> + <thead> + <tr> + <td rowspan="1" colspan="3">hide-jdbc-settings</td> + </tr> + </thead> + <tbody> + <tr> + <td>open</td> + <td>/sonar/setup/index</td> + <td></td> + </tr> + <tr> + <td>assertTextNotPresent</td> + <td>jdbc:</td> + <td></td> + </tr> + + </tbody> +</table> +</body> +</html> diff --git a/it/it-tests/src/test/resources/server/ServerTest/incompatible-plugin-1.0.jar b/it/it-tests/src/test/resources/server/ServerTest/incompatible-plugin-1.0.jar Binary files differnew file mode 100644 index 00000000000..a998a46bb29 --- /dev/null +++ b/it/it-tests/src/test/resources/server/ServerTest/incompatible-plugin-1.0.jar diff --git a/it/it-tests/src/test/resources/server/ServerTest/settings-default-value.html b/it/it-tests/src/test/resources/server/ServerTest/settings-default-value.html new file mode 100644 index 00000000000..70e59f6de88 --- /dev/null +++ b/it/it-tests/src/test/resources/server/ServerTest/settings-default-value.html @@ -0,0 +1,29 @@ +<?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>settings-default-value</title> +</head> +<body> +<table cellpadding="1" cellspacing="1" border="1"> + <thead> + <tr> + <td rowspan="1" colspan="3">settings-default-value</td> + </tr> + </thead> + <tbody> + <tr> + <td>open</td> + <td>/sonar/widget?id=widget-displaying-properties</td> + <td></td> +</tr> +<tr> + <td>assertText</td> + <td>some-property</td> + <td>aDefaultValue</td> +</tr> +</tbody> +</table> +</body> +</html> diff --git a/it/it-tests/src/test/resources/server/ServerTest/settings/display-license.html b/it/it-tests/src/test/resources/server/ServerTest/settings/display-license.html new file mode 100644 index 00000000000..ec3d5e86821 --- /dev/null +++ b/it/it-tests/src/test/resources/server/ServerTest/settings/display-license.html @@ -0,0 +1,64 @@ +<?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>display-license</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/settings?category=general</td> + <td></td> + </tr> + <tr> + <td>type</td> + <td>id=login</td> + <td>admin</td> + </tr> + <tr> + <td>type</td> + <td>id=password</td> + <td>admin</td> + </tr> + <tr> + <td>clickAndWait</td> + <td>name=commit</td> + <td></td> + </tr> + <tr> + <td>type</td> + <td>id=input_typed.license.secured</td> + <td>TmFtZTogRGV2ZWxvcHBlcnMKUGx1Z2luOiBhdXRvY29udHJvbApFeHBpcmVzOiAyMDEyLTA0LTAxCktleTogNjI5N2MxMzEwYzg2NDZiZTE5MDU1MWE4ZmZmYzk1OTBmYzEyYTIyMgo=</td> + </tr> + <tr> + <td>click</td> + <td>id=submit_settings</td> + <td></td> + </tr> + <tr> + <td>waitForText</td> + <td>block_typed.license.secured</td> + <td>*autocontrol*</td> + </tr> + <tr> + <td>assertText</td> + <td>block_typed.license.secured</td> + <td>*Developpers*</td> + </tr> + <tr> + <td>assertText</td> + <td>block_typed.license.secured</td> + <td>*2012*</td> + </tr> + </tbody> +</table> +</body> +</html> diff --git a/it/it-tests/src/test/resources/server/ServerTest/settings/display-untyped-license.html b/it/it-tests/src/test/resources/server/ServerTest/settings/display-untyped-license.html new file mode 100644 index 00000000000..b824efb36cd --- /dev/null +++ b/it/it-tests/src/test/resources/server/ServerTest/settings/display-untyped-license.html @@ -0,0 +1,64 @@ +<?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>display-untyped-license</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/settings?category=general</td> + <td></td> + </tr> + <tr> + <td>type</td> + <td>id=login</td> + <td>admin</td> + </tr> + <tr> + <td>type</td> + <td>id=password</td> + <td>admin</td> + </tr> + <tr> + <td>clickAndWait</td> + <td>name=commit</td> + <td></td> + </tr> + <tr> + <td>type</td> + <td>id=input_untyped.license.secured</td> + <td>TmFtZTogRGV2ZWxvcHBlcnMKUGx1Z2luOiBhdXRvY29udHJvbApFeHBpcmVzOiAyMDEyLTA0LTAxCktleTogNjI5N2MxMzEwYzg2NDZiZTE5MDU1MWE4ZmZmYzk1OTBmYzEyYTIyMgo=</td> + </tr> + <tr> + <td>click</td> + <td>submit_settings</td> + <td></td> + </tr> + <tr> + <td>waitForText</td> + <td>block_untyped.license.secured</td> + <td>*autocontrol*</td> + </tr> + <tr> + <td>assertText</td> + <td>block_untyped.license.secured</td> + <td>*Developpers*</td> + </tr> + <tr> + <td>assertText</td> + <td>block_untyped.license.secured</td> + <td>*2012*</td> + </tr> + </tbody> +</table> +</body> +</html> diff --git a/it/it-tests/src/test/resources/server/ServerTest/settings/encrypt-text.html b/it/it-tests/src/test/resources/server/ServerTest/settings/encrypt-text.html new file mode 100644 index 00000000000..521edc1e4de --- /dev/null +++ b/it/it-tests/src/test/resources/server/ServerTest/settings/encrypt-text.html @@ -0,0 +1,65 @@ +<?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>encrypt-text</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/settings?category=security&subcategory=encryption</td> + <td></td> + </tr> + <tr> + <td>type</td> + <td>id=login</td> + <td>admin</td> + </tr> + <tr> + <td>type</td> + <td>id=password</td> + <td>admin</td> + </tr> + <tr> + <td>clickAndWait</td> + <td>name=commit</td> + <td></td> + </tr> + <tr> + <td>selectFrame</td> + <td>settings_iframe</td> + <td></td> + </tr> + <tr> + <td>type</td> + <td>id=clear_text</td> + <td>clear</td> + </tr> + <tr> + <td>click</td> + <td>id=submit_encrypt</td> + <td></td> + </tr> + <tr> + <td>waitForVisible</td> + <td>encrypted_text</td> + <td></td> + </tr> + <tr> + <td>assertValue</td> + <td>encrypted_text</td> + <td>{aes}4aQbfYe1lrEjiRzv/ETbyg==</td> + </tr> + + </tbody> +</table> +</body> +</html> diff --git a/it/it-tests/src/test/resources/server/ServerTest/settings/general-settings.html b/it/it-tests/src/test/resources/server/ServerTest/settings/general-settings.html new file mode 100644 index 00000000000..e8b6a5554df --- /dev/null +++ b/it/it-tests/src/test/resources/server/ServerTest/settings/general-settings.html @@ -0,0 +1,54 @@ +<?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>settings_on_core_plugins</title> +</head> +<body> +<table cellpadding="1" cellspacing="1" border="1"> + <thead> + <tr> + <td rowspan="1" colspan="3">settings_on_core_plugins</td> + </tr> + </thead> + <tbody> + <tr> + <td>open</td> + <td>/sonar/sessions/logout</td> + <td></td> +</tr> +<tr> + <td>open</td> + <td>/sonar/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>/sonar/settings/index</td> + <td></td> +</tr> +<tr> + <td>assertText</td> + <td>plugins</td> + <td>*General*</td> +</tr> +</tbody> +</table> +</body> +</html> diff --git a/it/it-tests/src/test/resources/server/ServerTest/settings/generate-secret-key.html b/it/it-tests/src/test/resources/server/ServerTest/settings/generate-secret-key.html new file mode 100644 index 00000000000..61128b0ec5f --- /dev/null +++ b/it/it-tests/src/test/resources/server/ServerTest/settings/generate-secret-key.html @@ -0,0 +1,59 @@ +<?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>generate-secret-key</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/settings?category=security&subcategory=encryption</td> + <td></td> + </tr> + <tr> + <td>type</td> + <td>id=login</td> + <td>admin</td> + </tr> + <tr> + <td>type</td> + <td>id=password</td> + <td>admin</td> + </tr> + <tr> + <td>clickAndWait</td> + <td>name=commit</td> + <td></td> + </tr> + <tr> + <td>selectFrame</td> + <td>settings_iframe</td> + <td></td> + </tr> + <tr> + <td>clickAndWait</td> + <td>link=secret key can be changed</td> + <td></td> + </tr> + <tr> + <td>click</td> + <td>submit_generate_secret</td> + <td></td> + </tr> + <tr> + <td>waitForVisible</td> + <td>secret</td> + <td></td> + </tr> + </tbody> +</table> +</body> +</html> diff --git a/it/it-tests/src/test/resources/server/ServerTest/settings/global-extension-property.html b/it/it-tests/src/test/resources/server/ServerTest/settings/global-extension-property.html new file mode 100644 index 00000000000..a96d9ccdc13 --- /dev/null +++ b/it/it-tests/src/test/resources/server/ServerTest/settings/global-extension-property.html @@ -0,0 +1,51 @@ +<?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>global-extension-property</title> +</head> +<body> +<table cellpadding="1" cellspacing="1" border="1"> + <thead> + <tr> + <td rowspan="1" colspan="3">global-extension-property</td> + </tr> + </thead> + <tbody> + <tr> + <td>open</td> + <td>/sonar/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>/sonar/settings?category=Settings</td> + <td></td> + </tr> + <tr> + <td>assertNotText</td> + <td>plugins</td> + <td>glob:*Hidden*</td> + </tr> + + </tbody> +</table> +</body> +</html> diff --git a/it/it-tests/src/test/resources/server/ServerTest/settings/hidden-extension-property.html b/it/it-tests/src/test/resources/server/ServerTest/settings/hidden-extension-property.html new file mode 100644 index 00000000000..b1ccfb97130 --- /dev/null +++ b/it/it-tests/src/test/resources/server/ServerTest/settings/hidden-extension-property.html @@ -0,0 +1,51 @@ +<?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>hidden-extension-property</title> +</head> +<body> +<table cellpadding="1" cellspacing="1" border="1"> + <thead> + <tr> + <td rowspan="1" colspan="3">hidden-extension-property</td> + </tr> + </thead> + <tbody> + <tr> + <td>open</td> + <td>/sonar/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>/sonar/settings?category=Settings</td> + <td></td> + </tr> + <tr> + <td>assertNotText</td> + <td>plugins</td> + <td>glob:*Hidden*</td> + </tr> + + </tbody> +</table> +</body> +</html> diff --git a/it/it-tests/src/test/resources/server/ServerTest/settings/hide-passwords.html b/it/it-tests/src/test/resources/server/ServerTest/settings/hide-passwords.html new file mode 100644 index 00000000000..68db3b6a6f7 --- /dev/null +++ b/it/it-tests/src/test/resources/server/ServerTest/settings/hide-passwords.html @@ -0,0 +1,49 @@ +<?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>hide-passwords</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/settings?category=Settings</td> + <td></td> + </tr> + <tr> + <td>type</td> + <td>id=login</td> + <td>admin</td> + </tr> + <tr> + <td>type</td> + <td>id=password</td> + <td>admin</td> + </tr> + <tr> + <td>clickAndWait</td> + <td>name=commit</td> + <td></td> + </tr> + <tr> + <td>assertText</td> + <td>block_password</td> + <td>*Default*</td> + </tr> + <tr> + <td>assertNotText</td> + <td>block_password</td> + <td>*Default*sonar*</td> + </tr> + </tbody> +</table> +</body> +</html> diff --git a/it/it-tests/src/test/resources/server/ServerTest/settings/ignore-corrupted-license.html b/it/it-tests/src/test/resources/server/ServerTest/settings/ignore-corrupted-license.html new file mode 100644 index 00000000000..54c71066f48 --- /dev/null +++ b/it/it-tests/src/test/resources/server/ServerTest/settings/ignore-corrupted-license.html @@ -0,0 +1,54 @@ +<?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>ignore-corrupted-license</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/settings?category=general</td> + <td></td> + </tr> + <tr> + <td>type</td> + <td>id=login</td> + <td>admin</td> + </tr> + <tr> + <td>type</td> + <td>id=password</td> + <td>admin</td> + </tr> + <tr> + <td>clickAndWait</td> + <td>name=commit</td> + <td></td> + </tr> + <tr> + <td>type</td> + <td>id=input_typed.license.secured</td> + <td>ABCDE</td> + </tr> + <tr> + <td>click</td> + <td>id=submit_settings</td> + <td></td> + </tr> + <tr> + <td>waitForText</td> + <td>block_typed.license.secured</td> + <td>*Product*-*Organization*-*Expiration*-*</td> + </tr> + </tbody> +</table> +</body> +</html> diff --git a/it/it-tests/src/test/resources/server/ServerTest/settings/property_relocation.html b/it/it-tests/src/test/resources/server/ServerTest/settings/property_relocation.html new file mode 100644 index 00000000000..dd35bb04664 --- /dev/null +++ b/it/it-tests/src/test/resources/server/ServerTest/settings/property_relocation.html @@ -0,0 +1,49 @@ +<?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>property-relocation</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/settings/index?category=general</td> + <td></td> +</tr> +<tr> + <td>type</td> + <td>id=login</td> + <td>admin</td> +</tr> +<tr> + <td>type</td> + <td>id=password</td> + <td>admin</td> +</tr> +<tr> + <td>clickAndWait</td> + <td>name=commit</td> + <td></td> +</tr> +<tr> + <td>assertText</td> + <td>properties</td> + <td>*sonar.newKey*</td> +</tr> +<tr> + <td>assertNotText</td> + <td>properties</td> + <td>*sonar.deprecatedKey*</td> +</tr> +</tbody> +</table> +</body> +</html> diff --git a/it/it-tests/src/test/resources/server/ServerTest/settings/validate-property-type.html b/it/it-tests/src/test/resources/server/ServerTest/settings/validate-property-type.html new file mode 100644 index 00000000000..6ed955d1ea6 --- /dev/null +++ b/it/it-tests/src/test/resources/server/ServerTest/settings/validate-property-type.html @@ -0,0 +1,74 @@ +<?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>validate-property-type</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/settings?category=Settings</td> + <td></td> + </tr> + <tr> + <td>type</td> + <td>id=login</td> + <td>admin</td> + </tr> + <tr> + <td>type</td> + <td>id=password</td> + <td>admin</td> + </tr> + <tr> + <td>clickAndWait</td> + <td>name=commit</td> + <td></td> + </tr> + <tr> + <td>type</td> + <td>id=input_float</td> + <td>abc</td> + </tr> + <tr> + <td>type</td> + <td>id=input_integer</td> + <td>123</td> + </tr> + <tr> + <td>click</td> + <td>id=submit_settings</td> + <td></td> + </tr> + <tr> + <td>waitForText</td> + <td>properties</td> + <td>*Not a floating point number*</td> + </tr> + <tr> + <td>assertValue</td> + <td>input_integer</td> + <td>123</td> + </tr> + <tr> + <td>open</td> + <td>/sonar/settings?category=Settings</td> + <td></td> + </tr> + <tr> + <td>assertValue</td> + <td>input_float</td> + <td></td> + </tr> + </tbody> +</table> +</body> +</html> diff --git a/it/it-tests/src/test/resources/server/ServerTest/sonar-secret.txt b/it/it-tests/src/test/resources/server/ServerTest/sonar-secret.txt new file mode 100644 index 00000000000..65b98c522da --- /dev/null +++ b/it/it-tests/src/test/resources/server/ServerTest/sonar-secret.txt @@ -0,0 +1 @@ +0PZz+G+f8mjr3sPn4+AhHg==
\ No newline at end of file diff --git a/it/it-tests/src/test/resources/server/ServerTest/url_ending_by_jsp.html b/it/it-tests/src/test/resources/server/ServerTest/url_ending_by_jsp.html new file mode 100644 index 00000000000..194ed4bd07b --- /dev/null +++ b/it/it-tests/src/test/resources/server/ServerTest/url_ending_by_jsp.html @@ -0,0 +1,22 @@ +<?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>/sonar/dashboard/index/myproject.jsp</td> + <td></td> + </tr> + <tr> + <td>assertElementPresent</td> + <td>dashboard</td> + <td></td> + </tr> +</table> +</body> +</html> |