You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2013/01/19 05:49:55 UTC

svn commit: r1435485 - /flex/sdk/branches/develop/mustella/tests/mobile/components/List/integration/ItemSnapping_ListResize.mxml

Author: aharui
Date: Sat Jan 19 04:49:54 2013
New Revision: 1435485

URL: http://svn.apache.org/viewvc?rev=1435485&view=rev
Log:
FIx Itemsnapping test.  Had to wait for renderer to resize.

Modified:
    flex/sdk/branches/develop/mustella/tests/mobile/components/List/integration/ItemSnapping_ListResize.mxml

Modified: flex/sdk/branches/develop/mustella/tests/mobile/components/List/integration/ItemSnapping_ListResize.mxml
URL: http://svn.apache.org/viewvc/flex/sdk/branches/develop/mustella/tests/mobile/components/List/integration/ItemSnapping_ListResize.mxml?rev=1435485&r1=1435484&r2=1435485&view=diff
==============================================================================
--- flex/sdk/branches/develop/mustella/tests/mobile/components/List/integration/ItemSnapping_ListResize.mxml (original)
+++ flex/sdk/branches/develop/mustella/tests/mobile/components/List/integration/ItemSnapping_ListResize.mxml Sat Jan 19 04:49:54 2013
@@ -446,8 +446,9 @@
 			</setup>
 			<body>
 				<RunCode code="application.navigator.pushView(views.ListResizeWithTransition)" waitTarget="navigator" waitEvent="viewChangeComplete" timeout="6000"/>
-				<SetProperty target="navigator.activeView.itemList" propertyName="scrollSnappingMode" value="trailingEdge" />
+				<SetProperty target="navigator.activeView.itemList" propertyName="scrollSnappingMode" value="trailingEdge" waitTarget="navigator.activeView.itemList.scroller" waitEvent="updateComplete"/>
 				<SetProperty target="navigator.activeView.itemList" propertyName="selectedIndex" value="2" />
+				<Pause timeout="1000" /><!-- effect on IR.  Spark effects do not register with EffectsManager -->			
 				<SimulateMouseGesture target="navigator.activeView.itemList" dragXFrom="100" dragXTo="100" dragYFrom="85%" dragYTo="0" waitTarget="navigator.activeView.itemList" waitEvent="touchInteractionEnd" />
 				<Pause timeout="300" />			
 				<!-- ensure snapping lands at a complete page ie. verticalscroll position aligns with the starting of first element in view -->