summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMikael Grankvist <mikael.grankvist@itmill.com>2011-04-08 06:19:01 +0000
committerMikael Grankvist <mikael.grankvist@itmill.com>2011-04-08 06:19:01 +0000
commitb0ecd19b1ffdb54eacc83fe9e10d1eb5383200d6 (patch)
treed970c4ff8c7c8a232448fce1ed5d1ca08d68b790 /tests
parent7267bbee0a52f21ac1d7ba8ed085994d6802090f (diff)
downloadvaadin-framework-b0ecd19b1ffdb54eacc83fe9e10d1eb5383200d6.tar.gz
vaadin-framework-b0ecd19b1ffdb54eacc83fe9e10d1eb5383200d6.zip
#1719 Create a Oracle WebLogic Portal integration test
svn changeset:18167/svn branch:6.5
Diffstat (limited to 'tests')
-rw-r--r--tests/integration-testscripts/weblogic-portal/weblogic-portal-integration.html62
-rw-r--r--tests/integration_tests.xml40
2 files changed, 99 insertions, 3 deletions
diff --git a/tests/integration-testscripts/weblogic-portal/weblogic-portal-integration.html b/tests/integration-testscripts/weblogic-portal/weblogic-portal-integration.html
new file mode 100644
index 0000000000..802aa87160
--- /dev/null
+++ b/tests/integration-testscripts/weblogic-portal/weblogic-portal-integration.html
@@ -0,0 +1,62 @@
+<?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="http://vaadin-integration-tests.intra.itmill.com:7001/" />
+<title>weblogic-portal-integration</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">weblogic-portal-integration</td></tr>
+</thead><tbody>
+<tr>
+ <td>open</td>
+ <td>/AddrPortal/TestPortal.portal</td>
+ <td></td>
+</tr>
+<tr>
+ <td>mouseClick</td>
+ <td>vaadin=v-AddressBook_1::/VVerticalLayout[0]/ChildComponentContainer[1]/VSplitPanelHorizontal[0]/VSplitPanelVertical[0]/VScrollTable[0]/domChild[1]/domChild[0]/domChild[1]/domChild[0]/domChild[2]/domChild[0]/domChild[0]</td>
+ <td>52,14</td>
+</tr>
+<tr>
+ <td>screenCapture</td>
+ <td></td>
+ <td>Marge_selected</td>
+</tr>
+<tr>
+ <td>click</td>
+ <td>vaadin=v-AddressBook_1::/VVerticalLayout[0]/ChildComponentContainer[1]/VSplitPanelHorizontal[0]/VSplitPanelVertical[0]/VForm[0]/VHorizontalLayout[0]/ChildComponentContainer[2]/VButton[0]/domChild[0]/domChild[0]</td>
+ <td></td>
+</tr>
+<tr>
+ <td>screenCapture</td>
+ <td></td>
+ <td>Marge_in_edit_mode</td>
+</tr>
+<tr>
+ <td>mouseClick</td>
+ <td>vaadin=v-AddressBook_1::/VVerticalLayout[0]/ChildComponentContainer[1]/VSplitPanelHorizontal[0]/VSplitPanelVertical[0]/VForm[0]/VFormLayout[0]/VFormLayout$VFormLayoutTable[0]/VTextField[0]</td>
+ <td>52,13</td>
+</tr>
+<tr>
+ <td>enterCharacter</td>
+ <td>vaadin=v-AddressBook_1::/VVerticalLayout[0]/ChildComponentContainer[1]/VSplitPanelHorizontal[0]/VSplitPanelVertical[0]/VForm[0]/VFormLayout[0]/VFormLayout$VFormLayoutTable[0]/VTextField[0]</td>
+ <td>Margery</td>
+</tr>
+<tr>
+ <td>click</td>
+ <td>vaadin=v-AddressBook_1::/VVerticalLayout[0]/ChildComponentContainer[1]/VSplitPanelHorizontal[0]/VSplitPanelVertical[0]/VForm[0]/VHorizontalLayout[0]/ChildComponentContainer[0]/VButton[0]/domChild[0]/domChild[0]</td>
+ <td></td>
+</tr>
+<tr>
+ <td>screenCapture</td>
+ <td></td>
+ <td>Margery_Simmons</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration_tests.xml b/tests/integration_tests.xml
index f1f16d1243..9f9ef31865 100644
--- a/tests/integration_tests.xml
+++ b/tests/integration_tests.xml
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<project name="Test sampler deployment" basedir="." default="integration-test-all">
-
+
<!-- Target deploying demo.war -->
<fail unless="test.integration.server" message="test.integration.server must be set for integration tests to run"/>
@@ -296,7 +296,7 @@
<target name="integration-test-eXo-3">
<fileset dir="integration-testscripts" id="html-test-files" includes="eXo-3/eXo-integration.html" />
- <pathconvert pathsep=" " property="test-gatein" refid="html-test-files" />
+ <pathconvert pathsep=" " property="test-exo" refid="html-test-files" />
<subant target="run-tests" failonerror="false" antfile="test.xml">
<property name="com.vaadin.testbench.lib.dir" value="${com.vaadin.testbench.lib.dir}" />
@@ -304,7 +304,24 @@
<property name="com.vaadin.testbench.deployment.url" value="${deployment.url}" />
<property name="server.start.succeeded" value="1" />
<property name="browsers" value="winxp-firefox36" />
- <property name="testfiles" value="${test-gatein}" />
+ <property name="testfiles" value="${test-exo}" />
+ <property name="test-output-dir" value="../build/integration-test-output" />
+
+ <fileset dir="." includes="test.xml" />
+ </subant>
+ </target>
+
+ <target name="integration-test-weblogic-portal">
+ <fileset dir="integration-testscripts" id="html-test-files" includes="weblogic-portal/weblogic-portal-integration.html" />
+ <pathconvert pathsep=" " property="test-weblogic" refid="html-test-files" />
+
+ <subant target="run-tests" failonerror="false" antfile="test.xml">
+ <property name="com.vaadin.testbench.lib.dir" value="${com.vaadin.testbench.lib.dir}" />
+ <property name="com.vaadin.testbench.tester.host" value="${com.vaadin.testbench.tester.host}" />
+ <property name="com.vaadin.testbench.deployment.url" value="http://${test.integration.server}:7001" />
+ <property name="server.start.succeeded" value="1" />
+ <property name="browsers" value="winxp-firefox36" />
+ <property name="testfiles" value="${test-weblogic}" />
<property name="test-output-dir" value="../build/integration-test-output" />
<fileset dir="." includes="test.xml" />
@@ -386,6 +403,14 @@
<target name="integration-test-stop-weblogic10">
<sshexec host="${test.integration.server}" username="${user}" keyfile="${sshkey.file}" command="ant -f ${ant.hub} stop-weblogic-10.3" />
</target>
+
+ <target name="integration-test-start-weblogic-portal">
+ <sshexec host="${test.integration.server}" username="${user}" keyfile="${sshkey.file}" command="ant -f ${ant.hub} start-weblogic-portal" />
+ </target>
+
+ <target name="integration-test-stop-weblogic-portal">
+ <sshexec host="${test.integration.server}" username="${user}" keyfile="${sshkey.file}" command="ant -f ${ant.hub} stop-weblogic-portal" />
+ </target>
<!-- Run sampler deployment test on GAE -->
<target name="integration-test-test-GAE">
@@ -555,6 +580,12 @@
<antcall target="integration-test-stop-weblogic10"/>
</target>
+ <target name="integration-test-weblogicPortal">
+ <antcall target="integration-test-start-weblogic-portal"/>
+ <antcall target="integration-test-weblogic-portal"/>
+ <antcall target="integration-test-stop-weblogic-portal"/>
+ </target>
+
<target name="integration-test-GAE">
<antcall target="integration-test-deploy-to-GAE"/>
<antcall target="integration-test-test-GAE" />
@@ -625,6 +656,9 @@
<param name="target-server" value="weblogic10"/>
</antcall>
<antcall target="run-integration-test">
+ <param name="target-server" value="weblogicPortal"/>
+ </antcall>
+ <antcall target="run-integration-test">
<param name="target-server" value="GAE"/>
</antcall>
</try>