From ef81d11d3ed443c0aa544556a16370156e8d473d Mon Sep 17 00:00:00 2001 From: Mikael Grankvist Date: Tue, 24 Nov 2009 09:13:34 +0000 Subject: [PATCH] Added server integration tests. For #3386 svn changeset:9973/svn branch:6.2 --- build/build.xml | 25 +- .../Add_Sampler_to_Liferay.html | 87 ++++ .../sampler_deployment.tpl | 83 ++++ .../sampler_deployment_liferay.html | 77 ++++ tests/integration_tests.xml | 375 ++++++++++++++++++ tests/test.xml | 4 +- 6 files changed, 648 insertions(+), 3 deletions(-) create mode 100644 tests/integration-testscripts/Add_Sampler_to_Liferay.html create mode 100644 tests/integration-testscripts/sampler_deployment.tpl create mode 100644 tests/integration-testscripts/sampler_deployment_liferay.html create mode 100644 tests/integration_tests.xml diff --git a/build/build.xml b/build/build.xml index 0e3b8400b9..386b8bdf8d 100644 --- a/build/build.xml +++ b/build/build.xml @@ -1379,7 +1379,7 @@ - + @@ -1425,6 +1425,29 @@ ##teamcity[testSuiteFinished name='com.vaadin.tests.test-framework'] + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/integration-testscripts/Add_Sampler_to_Liferay.html b/tests/integration-testscripts/Add_Sampler_to_Liferay.html new file mode 100644 index 0000000000..41a6ea7d20 --- /dev/null +++ b/tests/integration-testscripts/Add_Sampler_to_Liferay.html @@ -0,0 +1,87 @@ + + + + + + +Add_Sampler_to_Liferay + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Add_Sampler_to_Liferay
open/web/guest
mouseClickAndWaitlink=Login as bruno48,8
mouseClick//div[@id='add-page']/a/span44,113
enterCharacternew_pagesampler
mouseClicklink=Save26,13
pause200
mouseClickAndWaitlink=sampler39,25
mouseClicklink=Layout Template122,21
pause200
mouseClick//img[@onclick="document.getElementById('layoutTemplateId1').checked = true;"]65,78
mouseClickAndWaitdocument.forms[1].elements[14]23,12
mouseClicklink=Add Application76,18
pause3000
mouseClickAndWait//div[@id='Vaadin-Sampler']/p/a9,8
+ + diff --git a/tests/integration-testscripts/sampler_deployment.tpl b/tests/integration-testscripts/sampler_deployment.tpl new file mode 100644 index 0000000000..00823cc62d --- /dev/null +++ b/tests/integration-testscripts/sampler_deployment.tpl @@ -0,0 +1,83 @@ + + + + + + +demosampler-all-samples + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
sampler-all-samples
openAndWait/demo
waitForVaadin
mouseClickAndWait//div[@id='sampler']/a/strong96,14
pause1000
waitForVaadin
mouseClickvaadin=demosampler::/VVerticalLayout[0]/ChildComponentContainer[0]/VHorizontalLayout[0]/ChildComponentContainer[7]/VHorizontalLayout[0]/ChildComponentContainer[1]/VNativeButton[0]11,13
waitForVaadin
pause500
screenCapture@server@_1
mouseClickvaadin=demosampler::/VVerticalLayout[0]/ChildComponentContainer[0]/VHorizontalLayout[0]/ChildComponentContainer[7]/VHorizontalLayout[0]/ChildComponentContainer[1]/VNativeButton[0]11,13
waitForVaadin
pause500
screenCapture@server@_2
+ + diff --git a/tests/integration-testscripts/sampler_deployment_liferay.html b/tests/integration-testscripts/sampler_deployment_liferay.html new file mode 100644 index 0000000000..da5c51af50 --- /dev/null +++ b/tests/integration-testscripts/sampler_deployment_liferay.html @@ -0,0 +1,77 @@ + + + + + + +Test_Sampler + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Test_Sampler
open/web/guest/sampler
waitForVaadin
pause500
screenCapture
mouseClickvaadin=demosampler::/VVerticalLayout[0]/ChildComponentContainer[0]/VHorizontalLayout[0]/ChildComponentContainer[7]/VHorizontalLayout[0]/ChildComponentContainer[1]/VNativeButton[0]11,12
waitForVaadin
pause500
screenCapture
mouseClickvaadin=demosampler::/VVerticalLayout[0]/ChildComponentContainer[0]/VHorizontalLayout[0]/ChildComponentContainer[7]/VHorizontalLayout[0]/ChildComponentContainer[1]/VNativeButton[0]11,12
waitForVaadin
pause500
screenCapture
+ + diff --git a/tests/integration_tests.xml b/tests/integration_tests.xml new file mode 100644 index 0000000000..f00d9e0de1 --- /dev/null +++ b/tests/integration_tests.xml @@ -0,0 +1,375 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/tests/test.xml b/tests/test.xml index c841f8e03b..213bd06f9a 100644 --- a/tests/test.xml +++ b/tests/test.xml @@ -104,7 +104,7 @@
- + @@ -162,7 +162,7 @@ - + -- 2.39.5