continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wsm...@apache.org
Subject svn commit: r751175 - in /continuum/branches/continuum-1.2.x/continuum-webapp-test/src/test/selenium-ide: continuum_failing_test_suite.html test_project_group_homepage_url.html
Date Sat, 07 Mar 2009 02:38:03 GMT
Author: wsmoak
Date: Sat Mar  7 02:38:03 2009
New Revision: 751175

URL: http://svn.apache.org/viewvc?rev=751175&view=rev
Log:
Added failing test to demonstrate CONTINUUM-1903 (regression in CONTINUUM-1899).
You can edit the homepage url and save it, but the value is lost once you move off the page.

Added:
    continuum/branches/continuum-1.2.x/continuum-webapp-test/src/test/selenium-ide/test_project_group_homepage_url.html
Modified:
    continuum/branches/continuum-1.2.x/continuum-webapp-test/src/test/selenium-ide/continuum_failing_test_suite.html

Modified: continuum/branches/continuum-1.2.x/continuum-webapp-test/src/test/selenium-ide/continuum_failing_test_suite.html
URL: http://svn.apache.org/viewvc/continuum/branches/continuum-1.2.x/continuum-webapp-test/src/test/selenium-ide/continuum_failing_test_suite.html?rev=751175&r1=751174&r2=751175&view=diff
==============================================================================
--- continuum/branches/continuum-1.2.x/continuum-webapp-test/src/test/selenium-ide/continuum_failing_test_suite.html
(original)
+++ continuum/branches/continuum-1.2.x/continuum-webapp-test/src/test/selenium-ide/continuum_failing_test_suite.html
Sat Mar  7 02:38:03 2009
@@ -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>

Added: continuum/branches/continuum-1.2.x/continuum-webapp-test/src/test/selenium-ide/test_project_group_homepage_url.html
URL: http://svn.apache.org/viewvc/continuum/branches/continuum-1.2.x/continuum-webapp-test/src/test/selenium-ide/test_project_group_homepage_url.html?rev=751175&view=auto
==============================================================================
--- continuum/branches/continuum-1.2.x/continuum-webapp-test/src/test/selenium-ide/test_project_group_homepage_url.html
(added)
+++ continuum/branches/continuum-1.2.x/continuum-webapp-test/src/test/selenium-ide/test_project_group_homepage_url.html
Sat Mar  7 02:38:03 2009
@@ -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>



Mime
View raw message