Skip to content

Commit

Permalink
Added failing test to demonstrate CONTINUUM-1903 (regression in CONTI…
Browse files Browse the repository at this point in the history
…NUUM-1899).

You can edit the homepage url and save it, but the value is lost once you move off the page.


git-svn-id: https://svn.apache.org/repos/asf/continuum/branches/continuum-1.2.x@751175 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
Wendy Smoak committed Mar 7, 2009
1 parent c3861b5 commit 13b5d60
Show file tree
Hide file tree
Showing 2 changed files with 73 additions and 0 deletions.
Expand Up @@ -10,6 +10,7 @@
<tr><td><b>Test Suite</b></td></tr>
<tr><td><a href="notify_latest_committers_only.html">notify_latest_committers_only</a></td></tr>
<tr><td><a href="show_users_in_role_paging.html">show_users_in_role_paging</a></td></tr>
<tr><td><a href="test_project_group_homepage_url.html">test_project_group_homepage_url</a></td></tr>
</tbody></table>
</body>
</html>
@@ -0,0 +1,72 @@
<?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>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_0</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>

0 comments on commit 13b5d60

Please sign in to comment.