continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wsm...@apache.org
Subject svn commit: r709606 - in /continuum/branches/continuum-1.2.x/continuum-webapp-test/src/test/selenium-ide: continuum_failing_test_suite.html test_build_definition_templates.html
Date Fri, 31 Oct 2008 23:57:22 GMT
Author: wsmoak
Date: Fri Oct 31 16:57:21 2008
New Revision: 709606

URL: http://svn.apache.org/viewvc?rev=709606&view=rev
Log:
[CONTINUUM-1953] Add a test to show that build definition templates are ignored

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

Added: 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=709606&view=auto
==============================================================================
--- continuum/branches/continuum-1.2.x/continuum-webapp-test/src/test/selenium-ide/continuum_failing_test_suite.html
(added)
+++ continuum/branches/continuum-1.2.x/continuum-webapp-test/src/test/selenium-ide/continuum_failing_test_suite.html
Fri Oct 31 16:57:21 2008
@@ -0,0 +1,14 @@
+<?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>
+  <meta content="text/html; charset=UTF-8" http-equiv="content-type" />
+  <title>Test Suite</title>
+</head>
+<body>
+<table id="suiteTable" cellpadding="1" cellspacing="1" border="1" class="selenium"><tbody>
+<tr><td><b>Test Suite</b></td></tr>
+<tr><td><a href="test_build_definition_templates.html">test_build_definition_templates.html</a></td></tr>
+</tbody></table>
+</body>
+</html>

Added: continuum/branches/continuum-1.2.x/continuum-webapp-test/src/test/selenium-ide/test_build_definition_templates.html
URL: http://svn.apache.org/viewvc/continuum/branches/continuum-1.2.x/continuum-webapp-test/src/test/selenium-ide/test_build_definition_templates.html?rev=709606&view=auto
==============================================================================
--- continuum/branches/continuum-1.2.x/continuum-webapp-test/src/test/selenium-ide/test_build_definition_templates.html
(added)
+++ continuum/branches/continuum-1.2.x/continuum-webapp-test/src/test/selenium-ide/test_build_definition_templates.html
Fri Oct 31 16:57:21 2008
@@ -0,0 +1,192 @@
+<?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_build_definition_templates</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">test_build_definition_templates</td></tr>
+</thead><tbody>
+<tr>
+	<td>open</td>
+	<td>/continuum</td>
+	<td></td>
+</tr>
+<tr>
+	<td>clickAndWait</td>
+	<td>link=Build Definitions Templates</td>
+	<td></td>
+</tr>
+<!--Add a build definition-->
+<tr>
+	<td>clickAndWait</td>
+	<td>buildDefinitionAsTemplate_0</td>
+	<td></td>
+</tr>
+<tr>
+	<td>type</td>
+	<td>saveBuildDefinitionAsTemplate_buildDefinition_buildFile</td>
+	<td>pom.xml</td>
+</tr>
+<tr>
+	<td>type</td>
+	<td>saveBuildDefinitionAsTemplate_buildDefinition_goals</td>
+	<td>clean package</td>
+</tr>
+<tr>
+	<td>type</td>
+	<td>saveBuildDefinitionAsTemplate_buildDefinition_description</td>
+	<td>Maven 2 package only</td>
+</tr>
+<!--Add another build definition-->
+<tr>
+	<td>clickAndWait</td>
+	<td>saveBuildDefinitionAsTemplate_0</td>
+	<td></td>
+</tr>
+<tr>
+	<td>clickAndWait</td>
+	<td>buildDefinitionAsTemplate_0</td>
+	<td></td>
+</tr>
+<tr>
+	<td>type</td>
+	<td>saveBuildDefinitionAsTemplate_buildDefinition_buildFile</td>
+	<td>pom.xml</td>
+</tr>
+<tr>
+	<td>type</td>
+	<td>saveBuildDefinitionAsTemplate_buildDefinition_goals</td>
+	<td>clean site</td>
+</tr>
+<tr>
+	<td>type</td>
+	<td>saveBuildDefinitionAsTemplate_buildDefinition_description</td>
+	<td>Maven 2 site only</td>
+</tr>
+<tr>
+	<td>clickAndWait</td>
+	<td>saveBuildDefinitionAsTemplate_0</td>
+	<td></td>
+</tr>
+<!--Add a new template and associate the two build definitions-->
+<tr>
+	<td>clickAndWait</td>
+	<td>buildDefinitionTemplate_0</td>
+	<td></td>
+</tr>
+<tr>
+	<td>type</td>
+	<td>saveBuildDefinitionTemplate_buildDefinitionTemplate_name</td>
+	<td>Acme Default</td>
+</tr>
+<tr>
+	<td>addSelection</td>
+	<td>saveBuildDefinitionTemplate_buildDefinitionIds</td>
+	<td>label=Maven 2 package only</td>
+</tr>
+<tr>
+	<td>click</td>
+	<td>//input[@value='-&gt;']</td>
+	<td></td>
+</tr>
+<tr>
+	<td>addSelection</td>
+	<td>saveBuildDefinitionTemplate_buildDefinitionIds</td>
+	<td>label=Maven 2 site only</td>
+</tr>
+<tr>
+	<td>click</td>
+	<td>//input[@value='-&gt;']</td>
+	<td></td>
+</tr>
+<tr>
+	<td>clickAndWait</td>
+	<td>saveBuildDefinitionTemplate_0</td>
+	<td></td>
+</tr>
+<!--Add a new project group-->
+<tr>
+	<td>clickAndWait</td>
+	<td>link=Show Project Groups</td>
+	<td></td>
+</tr>
+<tr>
+	<td>clickAndWait</td>
+	<td>addProjectGroup</td>
+	<td></td>
+</tr>
+<tr>
+	<td>type</td>
+	<td>addProjectGroup_name</td>
+	<td>Test Build Def Templates</td>
+</tr>
+<tr>
+	<td>type</td>
+	<td>addProjectGroup_groupId</td>
+	<td>test-build-defs</td>
+</tr>
+<tr>
+	<td>type</td>
+	<td>addProjectGroup_description</td>
+	<td>Testing Build Definition Templates</td>
+</tr>
+<tr>
+	<td>clickAndWait</td>
+	<td>addProjectGroup_0</td>
+	<td></td>
+</tr>
+<!--Open the new project group and add a project using the template-->
+<tr>
+	<td>clickAndWait</td>
+	<td>link=Test Build Def Templates</td>
+	<td></td>
+</tr>
+<tr>
+	<td>clickAndWait</td>
+	<td>//input[@value='Add']</td>
+	<td></td>
+</tr>
+<tr>
+	<td>type</td>
+	<td>addMavenTwoProject_m2PomUrl</td>
+	<td>http://svn.apache.org/repos/asf/continuum/sandbox/simple-example/pom.xml</td>
+</tr>
+<tr>
+	<td>select</td>
+	<td>addMavenTwoProject_buildDefinitionTemplateId</td>
+	<td>label=Acme Default</td>
+</tr>
+<tr>
+	<td>clickAndWait</td>
+	<td>addMavenTwoProject_0</td>
+	<td></td>
+</tr>
+<!--Verify that both build definitions from the template were used-->
+<tr>
+	<td>waitForTextPresent</td>
+	<td>Project Group Summary</td>
+	<td></td>
+</tr>
+<tr>
+	<td>clickAndWait</td>
+	<td>link=Build Definitions</td>
+	<td></td>
+</tr>
+<tr>
+	<td>assertTextPresent</td>
+	<td>Maven 2 package only</td>
+	<td></td>
+</tr>
+<tr>
+	<td>assertTextPresent</td>
+	<td>Maven 2 site only</td>
+	<td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>



Mime
View raw message