Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added failing test to demonstrate CONTINUUM-1903 (regression in CONTI…
…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
Showing
2 changed files
with
73 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
72 changes: 72 additions & 0 deletions
72
continuum-webapp-test/src/test/selenium-ide/test_project_group_homepage_url.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> |