From: Artur Signell Date: Tue, 12 Mar 2013 14:32:31 +0000 (+0200) Subject: Updated GateIn3 script to work correctly (#11314) X-Git-Tag: 7.0.3~18 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=e47bd1e31237d24b72c0e0b7a114bff50dffc8ac;p=vaadin-framework.git Updated GateIn3 script to work correctly (#11314) Change-Id: Ic8a86bc2dd6f0b791047ebb4c4bc81d4a9e7b9eb --- diff --git a/uitest/integration-testscripts/GateIn-3/integration-test-GateIn-3.1.0-portlet2.html b/uitest/integration-testscripts/GateIn-3/integration-test-GateIn-3.1.0-portlet2.html index 4bc3e6a2cf..9ae3865815 100644 --- a/uitest/integration-testscripts/GateIn-3/integration-test-GateIn-3.1.0-portlet2.html +++ b/uitest/integration-testscripts/GateIn-3/integration-test-GateIn-3.1.0-portlet2.html @@ -32,24 +32,49 @@ 93,13 - expectDialog - //div[2]/div[2]/div[1]/div[1]/div[2] - 73,18 + mouseClickAndWait + link=Portlet + 33,11 - assertConfirmation - This action will automatically create categories and import all the gadgets and portlets on it. - + mouseClickAndWait + link=Vaadin Portlet 2.0 Test + 59,9 - waitForElementPresent - link=demo - + mouseClickAndWait + link=Click here to add into categories + 48,3 + + + mouseClickAndWait + name=category_Gadgets + 10,16 + + + mouseClickAndWait + link=Save + 4,6 mouseClickAndWait - link=Home - 65,18 + link=Vaadin Liferay Theme + 64,13 + + + mouseClickAndWait + link=Click here to add into categories + 96,9 + + + mouseClickAndWait + name=category_Gadgets + 7,12 + + + mouseClickAndWait + link=Save + 4,6 mouseClick @@ -86,24 +111,15 @@ //div[@id='UIPageCreationWizard']/div/div[3]/div/div/div/div[2]/div/table/tbody/tr/td/div[2]/div/div/div 21,13 + waitForElementPresent - //div[@id='UIPageEditor']/div[1]/div/div/div/div[2] - - - - mouseClick - //div[@onclick="javascript:ajaxGet('/portal/private/classic/home?portal:componentId=UIApplicationList&portal:action=SelectCategory&objectId=demo&ajaxRequest=true')"] - 51,11 - - - pause - 300 + //div[@id='Gadgets/JSR286TestPortlet']/div/div/div/div drag - //div[@id='demo/JSR286TestPortlet']/div/div/div[1]/div[2] + //div[@id='Gadgets/JSR286TestPortlet']/div/div/div/div @@ -111,50 +127,21 @@ //div[2]/div/div/div[1]/div/div[2]/div/div/div/div 113,9 + mouseClickAndWait //a[@onclick='eXo.core.DOMUtil.disableOnClick(this);'] 13,5 - mouseClickAndWait - //div[@id='UIPage']/div/div/div[2]/div/div/div/div/div/div/div[2]/div[5]/div/a - 10,10 - - - closeNotification - //body/div[2] - 0,0 - - - pause - 500 - - - - screenCapture - - Edit_mode - - - mouseClickAndWait - //div[@id='UIPage']/div/div/div[2]/div/div/div/div/div/div/div[2]/div[5]/div/a - 15,8 - - - closeNotification - //body/div[2] - 0,0 - - - pause - 500 + waitForElementPresent + //div[2]/div/div[2]/img screenCapture - done + view