]> source.dussan.org Git - vaadin-framework.git/commitdiff
#7266 eliminate use of Sampler in GateIn integration test, related new screenshots
authorHenri Sara <henri.sara@itmill.com>
Wed, 3 Aug 2011 08:06:27 +0000 (08:06 +0000)
committerHenri Sara <henri.sara@itmill.com>
Wed, 3 Aug 2011 08:06:27 +0000 (08:06 +0000)
svn changeset:20092/svn branch:6.7

tests/integration-testscripts/GateIn-3/integration-test-GateIn-3.1.0-addressbook.html [new file with mode: 0644]
tests/integration-testscripts/GateIn-3/integration-test-GateIn-3.1.0-sampler.html [deleted file]
tests/integration_tests.xml

diff --git a/tests/integration-testscripts/GateIn-3/integration-test-GateIn-3.1.0-addressbook.html b/tests/integration-testscripts/GateIn-3/integration-test-GateIn-3.1.0-addressbook.html
new file mode 100644 (file)
index 0000000..0bc1c1a
--- /dev/null
@@ -0,0 +1,152 @@
+<?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>integration-test-GateIn-3.1.0-addressbook</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">integration-test-GateIn-3.1.0-addressbook</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/portal/public/classic/</td>
+       <td></td>
+</tr>
+<tr>
+       <td>setSpeed</td>
+       <td>100</td>
+       <td>100</td>
+</tr>
+<tr>
+       <td>mouseClickAndWait</td>
+       <td>link=Administrator</td>
+       <td>27,7</td>
+</tr>
+<tr>
+       <td>mouseClickAndWait</td>
+       <td>link=Application Registry</td>
+       <td>93,13</td>
+</tr>
+<tr>
+       <td>expectDialog</td>
+       <td>//div[2]/div[2]/div[1]/div[1]/div[2]</td>
+       <td>73,18</td>
+</tr>
+<tr>
+       <td>assertConfirmation</td>
+       <td>This action will automatically create categories and import all the gadgets and portlets on it.</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForElementPresent</td>
+       <td>link=demo</td>
+       <td></td>
+</tr>
+<tr>
+       <td>mouseClickAndWait</td>
+       <td>link=Home</td>
+       <td>65,18</td>
+</tr>
+<tr>
+       <td>mouseClick</td>
+       <td>link=Add New Page</td>
+       <td>55,11</td>
+</tr>
+<tr>
+       <td>waitForElementPresent</td>
+       <td>pageName</td>
+       <td></td>
+</tr>
+<tr>
+       <td>mouseClick</td>
+       <td>pageName</td>
+       <td>33,16</td>
+</tr>
+<tr>
+       <td>enterCharacter</td>
+       <td>pageName</td>
+       <td>AddressBook</td>
+</tr>
+<tr>
+       <td>mouseClick</td>
+       <td>//div[@id='UIPageCreationWizard']/div/div[3]/div/div/div/div[2]/div/table/tbody/tr/td/div[2]/div/div/div</td>
+       <td>36,12</td>
+</tr>
+<tr>
+       <td>waitForElementPresent</td>
+       <td>//div[@id='UIDropDownPageTemp']/div[1]/div/div/div/div/div/div</td>
+       <td></td>
+</tr>
+<tr>
+       <td>mouseClick</td>
+       <td>//div[@id='UIPageCreationWizard']/div/div[3]/div/div/div/div[2]/div/table/tbody/tr/td/div[2]/div/div/div</td>
+       <td>21,13</td>
+</tr>
+<tr>
+       <td>waitForElementPresent</td>
+       <td>//div[@id='UIPageEditor']/div[1]/div/div/div/div[2]</td>
+       <td></td>
+</tr>
+<tr>
+       <td>mouseClick</td>
+       <td>//div[3]/div</td>
+       <td>51,11</td>
+</tr>
+<tr>
+       <td>pause</td>
+       <td>300</td>
+       <td></td>
+</tr>
+<tr>
+       <td>drag</td>
+       <td>//div[@id='demo/AddressBookPortlet']/div/div/div[1]/div[2]</td>
+       <td></td>
+</tr>
+<tr>
+       <td>drop</td>
+       <td>//div[2]/div/div/div[1]/div/div[2]/div/div/div/div</td>
+       <td>113,9</td>
+</tr>
+<tr>
+       <td>mouseClickAndWait</td>
+       <td>//a[@onclick='eXo.core.DOMUtil.disableOnClick(this);']</td>
+       <td>13,5</td>
+</tr>
+<tr>
+       <td>mouseClick</td>
+       <td>//div[@id='UIPage']/div/div/div[2]/div/div/div/div/div/div/div[2]/div/div[2]/div/div/div/div[1]/div/div/div[2]/div/div[2]/div[1]/table/tbody/tr[3]/td[1]/div</td>
+       <td>62,13</td>
+</tr>
+<tr>
+       <td>pause</td>
+       <td>500</td>
+       <td></td>
+</tr>
+<tr>
+       <td>screenCapture</td>
+       <td></td>
+       <td>Marge_selected</td>
+</tr>
+<tr>
+       <td>click</td>
+       <td>//div[@id='UIPage']/div/div/div[2]/div/div/div/div/div/div/div[2]/div/div[2]/div/div/div/div[1]/div/div/div[1]/div/fieldset/div[4]/div/div/div[3]/div/div/span/span</td>
+       <td></td>
+</tr>
+<tr>
+       <td>pause</td>
+       <td>500</td>
+       <td></td>
+</tr>
+<tr>
+       <td>screenCapture</td>
+       <td></td>
+       <td>Marge_in_edit_mode</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration-testscripts/GateIn-3/integration-test-GateIn-3.1.0-sampler.html b/tests/integration-testscripts/GateIn-3/integration-test-GateIn-3.1.0-sampler.html
deleted file mode 100644 (file)
index 29fea4f..0000000
+++ /dev/null
@@ -1,152 +0,0 @@
-<?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>integration-test-GateIn-3.1.0-sampler</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">integration-test-GateIn-3.1.0-sampler</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/portal/public/classic/</td>
-       <td></td>
-</tr>
-<tr>
-       <td>setSpeed</td>
-       <td>100</td>
-       <td>100</td>
-</tr>
-<tr>
-       <td>mouseClickAndWait</td>
-       <td>link=Administrator</td>
-       <td>27,7</td>
-</tr>
-<tr>
-       <td>mouseClickAndWait</td>
-       <td>link=Application Registry</td>
-       <td>93,13</td>
-</tr>
-<tr>
-       <td>expectDialog</td>
-       <td>//div[2]/div[2]/div[1]/div[1]/div[2]</td>
-       <td>73,18</td>
-</tr>
-<tr>
-       <td>assertConfirmation</td>
-       <td>This action will automatically create categories and import all the gadgets and portlets on it.</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForElementPresent</td>
-       <td>link=demo</td>
-       <td></td>
-</tr>
-<tr>
-       <td>mouseClickAndWait</td>
-       <td>link=Home</td>
-       <td>65,18</td>
-</tr>
-<tr>
-       <td>mouseClick</td>
-       <td>link=Add New Page</td>
-       <td>55,11</td>
-</tr>
-<tr>
-       <td>waitForElementPresent</td>
-       <td>pageName</td>
-       <td></td>
-</tr>
-<tr>
-       <td>mouseClick</td>
-       <td>pageName</td>
-       <td>33,16</td>
-</tr>
-<tr>
-       <td>enterCharacter</td>
-       <td>pageName</td>
-       <td>Sampler</td>
-</tr>
-<tr>
-       <td>mouseClick</td>
-       <td>//div[@id='UIPageCreationWizard']/div/div[3]/div/div/div/div[2]/div/table/tbody/tr/td/div[2]/div/div/div</td>
-       <td>36,12</td>
-</tr>
-<tr>
-       <td>waitForElementPresent</td>
-       <td>//div[@id='UIDropDownPageTemp']/div[1]/div/div/div/div/div/div</td>
-       <td></td>
-</tr>
-<tr>
-       <td>mouseClick</td>
-       <td>//div[@id='UIPageCreationWizard']/div/div[3]/div/div/div/div[2]/div/table/tbody/tr/td/div[2]/div/div/div</td>
-       <td>21,13</td>
-</tr>
-<tr>
-       <td>waitForElementPresent</td>
-       <td>//div[@id='UIPageEditor']/div[1]/div/div/div/div[2]</td>
-       <td></td>
-</tr>
-<tr>
-       <td>mouseClick</td>
-       <td>//div[3]/div</td>
-       <td>51,11</td>
-</tr>
-<tr>
-       <td>scroll</td>
-       <td>//div[@id='UIPageEditor']/div[2]/div/div/div/div/div</td>
-       <td>609</td>
-</tr>
-<tr>
-       <td>pause</td>
-       <td>300</td>
-       <td></td>
-</tr>
-<tr>
-       <td>drag</td>
-       <td>//div[@id='demo/SamplerPortlet']/div/div/div[1]/div[2]</td>
-       <td></td>
-</tr>
-<tr>
-       <td>drop</td>
-       <td>//div[2]/div/div/div[1]/div/div[2]/div/div/div/div</td>
-       <td>113,9</td>
-</tr>
-<tr>
-       <td>mouseClickAndWait</td>
-       <td>//a[@onclick='eXo.core.DOMUtil.disableOnClick(this);']</td>
-       <td>13,5</td>
-</tr>
-<tr>
-       <td>mouseClick</td>
-       <td>vaadin=demosampler::/VVerticalLayout[0]/ChildComponentContainer[0]/VHorizontalLayout[0]/ChildComponentContainer[5]/VHorizontalLayout[0]/ChildComponentContainer[1]/VNativeButton[0]</td>
-       <td>22,-1763</td>
-</tr>
-<tr>
-       <td>mouseClick</td>
-       <td>vaadin=demosampler::/VVerticalLayout[0]/ChildComponentContainer[0]/VHorizontalLayout[0]/ChildComponentContainer[6]/VHorizontalLayout[0]/ChildComponentContainer[1]/VNativeButton[0]</td>
-       <td>20,13</td>
-</tr>
-<tr>
-       <td>screenCapture</td>
-       <td></td>
-       <td>tooltips</td>
-</tr>
-<tr>
-       <td>mouseClick</td>
-       <td>vaadin=demosampler::/VVerticalLayout[0]/ChildComponentContainer[0]/VHorizontalLayout[0]/ChildComponentContainer[6]/VHorizontalLayout[0]/ChildComponentContainer[1]/VNativeButton[0]</td>
-       <td>21,12</td>
-</tr>
-<tr>
-       <td>screenCapture</td>
-       <td></td>
-       <td>icons</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
index e665213e127b4d5b40f01e40aeebd67dd6ef1b90..b82ad07a1423d7353f940a130e5c9848e9752636 100644 (file)
                </target>       \r
        \r
        <target name="integration-test-gatein-3">\r
-               <fileset dir="integration-testscripts" id="html-test-files" includes="GateIn-3/integration-test-GateIn-3.1.0-sampler.html" />\r
+               <fileset dir="integration-testscripts" id="html-test-files" includes="GateIn-3/integration-test-GateIn-3.1.0-addressbook.html" />\r
                <pathconvert pathsep=" " property="test-gatein" refid="html-test-files" />\r
                \r
                <subant target="run-tests" failonerror="false" antfile="test.xml">\r
                        <property name="browsers" value="${test_browsers}" />\r
                        <property name="testfiles" value="${test-gatein}" />\r
                        <property name="test-output-dir" value="../build/integration-test-output" />\r
+                       <property name="retries" value="0" />\r
        \r
                        <fileset dir="." includes="test.xml" />\r
                </subant>\r