blob: 16f31dcd86c4937b43247ff3ff402e13af25c970 [file] [log] [blame]
<?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>test_project_group_homepage_url</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">test_project_group_homepage_url</td></tr>
</thead><tbody>
<!--assumptions: general config complete, admin user is logged in-->
<tr>
<td>open</td>
<td>/groupSummary.action</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Show Project Groups</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Default Project Group</td>
<td></td>
</tr>
<!--Add a homepage url to the Default project group-->
<tr>
<td>clickAndWait</td>
<td>edit</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>saveProjectGroup_url</td>
<td>http://example.com</td>
</tr>
<tr>
<td>clickAndWait</td>
<td>saveProjectGroup_null</td>
<td></td>
</tr>
<!--check that the url is displayed after we save the form-->
<tr>
<td>assertTextPresent</td>
<td>http://example.com</td>
<td></td>
</tr>
<!--Now view the project group again-->
<tr>
<td>clickAndWait</td>
<td>link=Show Project Groups</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>link=Default Project Group</td>
<td></td>
</tr>
<!--The url should be displayed, but it isn't-->
<tr>
<td>assertTextPresent</td>
<td>http://example.com</td>
<td></td>
</tr>
</tbody></table>
</body>
</html>