You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by cf...@apache.org on 2012/10/03 20:20:53 UTC

svn commit: r1393650 - in /incubator/flex/sdk/branches/develop/mustella/tests/components: Alert/Properties/ Alert/Styles/ Alert/Versioning/ Button/styles/ ColorPicker/events/ ColorPicker/mirroring/ ComboBox/Integration/ ComboBox/Styles/

Author: cframpton
Date: Wed Oct  3 18:20:52 2012
New Revision: 1393650

URL: http://svn.apache.org/viewvc?rev=1393650&view=rev
Log:
Remove <Pause> tags that can be removed/replaced - Alert thru ComboBox.

Modified:
    incubator/flex/sdk/branches/develop/mustella/tests/components/Alert/Properties/Alert_Properties.mxml
    incubator/flex/sdk/branches/develop/mustella/tests/components/Alert/Styles/Alert_Styles.mxml
    incubator/flex/sdk/branches/develop/mustella/tests/components/Alert/Versioning/MP_Alert_Tests.mxml
    incubator/flex/sdk/branches/develop/mustella/tests/components/Button/styles/Button_Styles_tester.mxml
    incubator/flex/sdk/branches/develop/mustella/tests/components/Button/styles/Button_Styles_tester_Spark.mxml
    incubator/flex/sdk/branches/develop/mustella/tests/components/ColorPicker/events/ColorPicker_Events_tester.mxml
    incubator/flex/sdk/branches/develop/mustella/tests/components/ColorPicker/mirroring/ColorPicker_mirroring_tester.mxml
    incubator/flex/sdk/branches/develop/mustella/tests/components/ComboBox/Integration/ComboBox_Integration2.mxml
    incubator/flex/sdk/branches/develop/mustella/tests/components/ComboBox/Integration/ComboBox_Integration2_spark.mxml
    incubator/flex/sdk/branches/develop/mustella/tests/components/ComboBox/Styles/ComboBoxStyleTester.mxml
    incubator/flex/sdk/branches/develop/mustella/tests/components/ComboBox/Styles/ComboBoxStyleTester_spark.mxml
    incubator/flex/sdk/branches/develop/mustella/tests/components/ComboBox/Styles/ComboBoxStylesMirroring.mxml
    incubator/flex/sdk/branches/develop/mustella/tests/components/ComboBox/Styles/ComboBoxStylesMirroring_wireframe.mxml
    incubator/flex/sdk/branches/develop/mustella/tests/components/ComboBox/Styles/ComboBox_Styles_SkinImprovements_Padding.mxml
    incubator/flex/sdk/branches/develop/mustella/tests/components/ComboBox/Styles/ComboBox_Styles_SkinImprovements_Padding_spark.mxml

Modified: incubator/flex/sdk/branches/develop/mustella/tests/components/Alert/Properties/Alert_Properties.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/Alert/Properties/Alert_Properties.mxml?rev=1393650&r1=1393649&r2=1393650&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/components/Alert/Properties/Alert_Properties.mxml (original)
+++ incubator/flex/sdk/branches/develop/mustella/tests/components/Alert/Properties/Alert_Properties.mxml Wed Oct  3 18:20:52 2012
@@ -306,7 +306,7 @@
 		    </setup>
 		    <body>
 				<DispatchKeyEvent key="ENTER" waitEvent="close" waitTarget="curAlert" />
-				<Pause timeout="200"/>
+				<WaitForLayoutManager/>
 				<AssertPropertyValue target="ti" propertyName="text" value="You answered OK" />
 				<WaitForEffectsToEnd />
 		    </body>

Modified: incubator/flex/sdk/branches/develop/mustella/tests/components/Alert/Styles/Alert_Styles.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/Alert/Styles/Alert_Styles.mxml?rev=1393650&r1=1393649&r2=1393650&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/components/Alert/Styles/Alert_Styles.mxml (original)
+++ incubator/flex/sdk/branches/develop/mustella/tests/components/Alert/Styles/Alert_Styles.mxml Wed Oct  3 18:20:52 2012
@@ -104,7 +104,7 @@
             </setup>
             <body>
                 <AssertStyleValue target="curAlert" styleName="titleStyleName" value="myStyle" />
-                <Pause timeout="100"/>
+                <!--Pause timeout="100"/-->
                 <CompareBitmap target="curAlert" url="../Styles/baselines/titleStyleName.png" timeout="5000" />
                 <DispatchKeyEvent key="TAB" waitTarget="curAlert.mx_internal:alertForm.mx_internal:buttons.1" waitEvent="focusIn"  />
                 <DispatchKeyEvent key="ESCAPE" waitTarget="curAlert" waitEvent="removed" />
@@ -122,7 +122,7 @@
             <body>
             <SetStyle target="curAlert" styleName="titleStyleName" value="VerdanaStyle" waitEvent="updateComplete" waitTarget="curAlert"/>
                 <AssertStyleValue target="curAlert" styleName="titleStyleName" value="VerdanaStyle" />
-                <Pause timeout="100"/>
+                <!--Pause timeout="100"/-->
                 <CompareBitmap target="curAlert" url="../Styles/baselines/titleEmbeddedFont.png" timeout="5000" numColorVariances="20" ignoreMaxColorVariance="true"/>
                 <DispatchKeyEvent key="TAB" waitTarget="curAlert.mx_internal:alertForm.mx_internal:buttons.1" waitEvent="focusIn"  />
                 <DispatchKeyEvent key="ESCAPE" waitTarget="curAlert" waitEvent="removed" />
@@ -140,7 +140,7 @@
             <body>
                 <SetStyle target="curAlert" styleName="buttonStyleName" value="VerdanaItalicStyle" waitEvent="updateComplete" waitTarget="curAlert"/>
                 <AssertStyleValue target="curAlert" styleName="buttonStyleName" value="VerdanaItalicStyle" />
-                <Pause timeout="100"/>
+                <!--Pause timeout="100"/-->
                 <CompareBitmap target="curAlert" numColorVariances="20" ignoreMaxColorVariance="true" url="../Styles/baselines/buttonEmbeddedFont.png" timeout="5000" />
                 <DispatchKeyEvent key="TAB" waitTarget="curAlert.mx_internal:alertForm.mx_internal:buttons.1" waitEvent="focusIn"  />
                 <DispatchKeyEvent key="ESCAPE" waitTarget="curAlert" waitEvent="removed" />
@@ -158,7 +158,7 @@
             <body>
                 <SetStyle target="curAlert" styleName="messageStyleName" value="VerdanaBoldStyle" waitEvent="updateComplete" waitTarget="curAlert"/>
                 <AssertStyleValue target="curAlert" styleName="messageStyleName" value="VerdanaBoldStyle" />
-                <Pause timeout="100"/>
+                <!--Pause timeout="100"/-->
                 <CompareBitmap target="curAlert" numColorVariances="20" ignoreMaxColorVariance="true"  url="../Styles/baselines/messageEmbeddedFont.png" timeout="5000" />
                 <DispatchKeyEvent key="TAB" waitTarget="curAlert.mx_internal:alertForm.mx_internal:buttons.1" waitEvent="focusIn"  />
                 <DispatchKeyEvent key="ESCAPE" waitTarget="curAlert" waitEvent="removed" />

Modified: incubator/flex/sdk/branches/develop/mustella/tests/components/Alert/Versioning/MP_Alert_Tests.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/Alert/Versioning/MP_Alert_Tests.mxml?rev=1393650&r1=1393649&r2=1393650&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/components/Alert/Versioning/MP_Alert_Tests.mxml (original)
+++ incubator/flex/sdk/branches/develop/mustella/tests/components/Alert/Versioning/MP_Alert_Tests.mxml Wed Oct  3 18:20:52 2012
@@ -138,7 +138,7 @@
                 <DispatchMouseClickEvent localX="14" localY="8" target="swf1.content.document.showAlert_button"
                     waitTarget="swf1.content.document.jPop" waitEvent="creationComplete"/>
                 <WaitForEffectsToEnd />
-                <Pause timeout="150" />
+                <WaitForLayoutManager />
                 <CompareBitmap target="box_container" url="../Versioning/baselines/mp_alert_mask_compatible.png" timeout="2500" />
             </body>
          </TestCase>
@@ -148,7 +148,7 @@
                    waitEvent="updateComplete" />
                <SetProperty target="swf1" propertyName="autoLoad" value="true" />
                <SetProperty target="swf1" propertyName="source" value="../../../../Assets/Images/redrect.jpg" waitTarget="swf1" waitEvent="updateComplete"/>
-               <Pause timeout="100" />
+               <WaitForLayoutManager />
                <SetProperty target="swf1" propertyName="loadForCompatibility" value="false" />
                <SetProperty target="swf1" propertyName="autoLoad" value="false" />
                <SetProperty target="swf1" propertyName="source" valueExpression="value=returnRemoteURL('components/Alert/SWFs/Assets/child_swfs/MP_Alert_Child.swf')" waitTarget="swf1" waitEvent="updateComplete"/>
@@ -240,7 +240,7 @@
                 <DispatchMouseEvent target="" type="mouseMove" localX="12" localY="55" waitTarget="swf1.content" waitEvent="applicationComplete"/>
                 <RunCode code="application.swf1.content.document.showPopupWithParent(application.swf1.content)" waitTarget="swf1.content.document.jPop" waitEvent="creationComplete"/>
                 <WaitForEffectsToEnd />
-                <Pause timeout="200" />
+                <WaitForLayoutManager />
                 <AssertPropertyValue propertyName="x" value="429" target="swf1.content.document.jPop" />
                 <AssertPropertyValue propertyName="y" value="232" target="swf1.content.document.jPop" />
            </body>
@@ -262,7 +262,7 @@
                 <Pause timeout="2000" />
                 <RunCode code="application.swf1.content.document.popUpFromCompatible()" waitTarget="swf1.content.document.jPop" waitEvent="creationComplete"/>
                 <WaitForEffectsToEnd />
-                <Pause timeout="200" />
+                <WaitForLayoutManager />
                 <AssertPropertyValue propertyName="x" value="278" target="swf1.content.document.jPop" />
                 <AssertPropertyValue propertyName="y" value="170" target="swf1.content.document.jPop" />
            </body>

Modified: incubator/flex/sdk/branches/develop/mustella/tests/components/Button/styles/Button_Styles_tester.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/Button/styles/Button_Styles_tester.mxml?rev=1393650&r1=1393649&r2=1393650&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/components/Button/styles/Button_Styles_tester.mxml (original)
+++ incubator/flex/sdk/branches/develop/mustella/tests/components/Button/styles/Button_Styles_tester.mxml Wed Oct  3 18:20:52 2012
@@ -604,7 +604,7 @@
 				<ResetComponent target="myButton" className="mx.controls.Button" waitEvent="updateComplete"  waitTarget="panel1"/>
 				<SetStyle target="myButton" styleName="focusSkin" value="{RedU}"/>
 				<DispatchKeyEvent key="TAB" waitEvent="focusIn" waitTarget="myButton"/>
-				<Pause timeout="1000"/>
+				<WaitForLayoutManager/>
 			</setup>
 			<body>
 				<CompareBitmap url="../styles/baselines/Checking_focusSkin_style_of_Button.png" target="panel1"/>
@@ -617,7 +617,7 @@
 				<DispatchKeyEvent key="TAB" />
 				<DispatchKeyEvent key="TAB" />
 				<DispatchKeyEvent key="TAB" waitEvent="focusIn" waitTarget="outButton"/>
-				<Pause timeout="1000"/>
+				<WaitForLayoutManager/>
 			</setup>
 			<body>
 				<CompareBitmap url="../styles/baselines/Checking_focusThickness_neg5_style_of_Button.png" target="myButton"/>

Modified: incubator/flex/sdk/branches/develop/mustella/tests/components/Button/styles/Button_Styles_tester_Spark.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/Button/styles/Button_Styles_tester_Spark.mxml?rev=1393650&r1=1393649&r2=1393650&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/components/Button/styles/Button_Styles_tester_Spark.mxml (original)
+++ incubator/flex/sdk/branches/develop/mustella/tests/components/Button/styles/Button_Styles_tester_Spark.mxml Wed Oct  3 18:20:52 2012
@@ -616,7 +616,7 @@
 				<DispatchKeyEvent key="TAB" />
 				<DispatchKeyEvent key="TAB" />
 				<DispatchKeyEvent key="TAB" waitEvent="focusIn" waitTarget="outButton"/>
-				<Pause timeout="1000"/>
+				<WaitForLayoutManager/>
 			</setup>
 			<body>
 				<CompareBitmap url="../styles/baselines/Checking_focusThickness_neg5_style_of_Button_spark.png" target="outButton"/>
@@ -1289,7 +1289,7 @@
 				<SetProperty target="myButton" propertyName="y" value="50"/>
 
 				<DispatchKeyEvent key="TAB" waitEvent="updateComplete" waitTarget="myButton"/>
-				<Pause timeout="1000"/>
+				<WaitForLayoutManager/>
 			</setup>
 
 			<body>
@@ -1315,7 +1315,7 @@
 				<SetProperty target="myButton" propertyName="y" value="50"/>
 
 				<DispatchKeyEvent key="TAB" waitEvent="updateComplete" waitTarget="myButton"/>
-				<Pause timeout="1000"/>
+				<WaitForLayoutManager/>
 			</setup>
 
 			<body>
@@ -1341,7 +1341,7 @@
 				<SetProperty target="myButton" propertyName="y" value="50"/>
 
 				<DispatchKeyEvent key="TAB" waitEvent="updateComplete" waitTarget="myButton"/>
-				<Pause timeout="1000"/>
+				<WaitForLayoutManager/>
 			</setup>
 
 			<body>
@@ -1367,7 +1367,7 @@
 				<SetStyle target="myButton" styleName="focusRoundedCorners" value="br"/>
 
 				<DispatchKeyEvent key="TAB" waitEvent="updateComplete" waitTarget="myButton"/>
-				<Pause timeout="1000"/>
+				<WaitForLayoutManager/>
 			</setup>
 
 			<body>
@@ -1393,7 +1393,7 @@
 				<SetStyle target="myButton" styleName="focusRoundedCorners" value="br bl"/>
 
 				<DispatchKeyEvent key="TAB" waitEvent="updateComplete" waitTarget="myButton"/>
-				<Pause timeout="1000"/>
+				<WaitForLayoutManager/>
 			</setup>
 
 			<body>
@@ -1419,7 +1419,7 @@
 				<SetStyle target="myButton" styleName="focusRoundedCorners" value="br tr"/>
 
 				<DispatchKeyEvent key="TAB" waitEvent="updateComplete" waitTarget="myButton"/>
-				<Pause timeout="1000"/>
+				<WaitForLayoutManager/>
 			</setup>
 
 			<body>
@@ -1445,7 +1445,7 @@
 				<SetStyle target="myButton" styleName="focusRoundedCorners" value="br tl"/>
 
 				<DispatchKeyEvent key="TAB" waitEvent="updateComplete" waitTarget="myButton"/>
-				<Pause timeout="1000"/>
+				<WaitForLayoutManager/>
 			</setup>	
 
 			<body>
@@ -1471,7 +1471,7 @@
 				<SetStyle target="myButton" styleName="focusRoundedCorners" value="tr tl"/>
 
 				<DispatchKeyEvent key="TAB" waitEvent="updateComplete" waitTarget="myButton"/>
-				<Pause timeout="1000"/>
+				<WaitForLayoutManager/>
 			</setup>
 
 			<body>
@@ -1497,7 +1497,7 @@
 				<SetStyle target="myButton" styleName="focusRoundedCorners" value="tr bl"/>
 
 				<DispatchKeyEvent key="TAB" waitEvent="updateComplete" waitTarget="myButton"/>
-				<Pause timeout="1000"/>
+				<WaitForLayoutManager/>
 			</setup>
 
 			<body>
@@ -1523,7 +1523,7 @@
 				<SetStyle target="myButton" styleName="focusRoundedCorners" value="tl bl"/>
 
 				<DispatchKeyEvent key="TAB" waitEvent="updateComplete" waitTarget="myButton"/>
-				<Pause timeout="1000"/>
+				<WaitForLayoutManager/>
 			</setup>
 
 			<body>
@@ -1549,7 +1549,7 @@
 				<SetStyle target="myButton" styleName="focusRoundedCorners" value="br tr tl"/>
 
 				<DispatchKeyEvent key="TAB" waitEvent="updateComplete" waitTarget="myButton"/>
-				<Pause timeout="1000"/>
+				<WaitForLayoutManager/>
 			</setup>
 
 			<body>
@@ -1575,7 +1575,7 @@
 				<SetStyle target="myButton" styleName="focusRoundedCorners" value="br tr bl"/>
 
 				<DispatchKeyEvent key="TAB" waitEvent="updateComplete" waitTarget="myButton"/>
-				<Pause timeout="1000"/>
+				<WaitForLayoutManager/>
 			</setup>
 
 			<body>
@@ -1615,7 +1615,7 @@
 				<SetProperty target="myButton" propertyName="y" value="50"/>
 				<SetStyle target="myButton" styleName="focusRoundedCorners" value="tr tl bl"/>
 				<DispatchKeyEvent key="TAB" waitEvent="updateComplete" waitTarget="myButton"/>
-				<Pause timeout="1000"/>
+				<WaitForLayoutManager/>
 			</setup>
 			<body>
 				<CompareBitmap  url="../styles/baselines/Checking_focusRoundedCorners_tr_tl_bl_Style_of_Button_spark.png" target="panel1"/>
@@ -1664,7 +1664,7 @@
 				<SetStyle target="myButton" styleName="focusThickness" value="5"/>
 
 				<DispatchKeyEvent key="TAB" waitEvent="updateComplete" waitTarget="myButton"/>
-				<Pause timeout="1000"/>
+				<WaitForLayoutManager/>
 			</setup>
 
 			<body>
@@ -1687,7 +1687,7 @@
 				<SetStyle target="myButton" styleName="focusThickness" value="5.5"/>
 
 				<DispatchKeyEvent key="TAB" waitEvent="updateComplete" waitTarget="myButton"/>
-				<Pause timeout="1000"/>
+				<WaitForLayoutManager/>
 			</setup>
 
 			<body>
@@ -1709,7 +1709,7 @@
 				<SetStyle target="myButton" styleName="focusThickness" value="10"/>
 
 				<DispatchKeyEvent key="TAB" waitEvent="updateComplete" waitTarget="myButton"/>
-				<Pause timeout="1000"/>
+				<WaitForLayoutManager/>
 			</setup>
 
 			<body>

Modified: incubator/flex/sdk/branches/develop/mustella/tests/components/ColorPicker/events/ColorPicker_Events_tester.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/ColorPicker/events/ColorPicker_Events_tester.mxml?rev=1393650&r1=1393649&r2=1393650&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/components/ColorPicker/events/ColorPicker_Events_tester.mxml (original)
+++ incubator/flex/sdk/branches/develop/mustella/tests/components/ColorPicker/events/ColorPicker_Events_tester.mxml Wed Oct  3 18:20:52 2012
@@ -119,7 +119,7 @@
 				</setup>
 				<body>
     			    <RunCode code="application.myColorPicker.open()" waitTarget="myColorPicker" waitEvent="open" />
-                    <RunCode code="application.myColorPicker.mx_internal::dropdown.mx_internal::textInput.text = ''" />
+                    <RunCode code="application.myColorPicker.mx_internal::dropdown.mx_internal::textInput.text = ''"/>
                     <Pause timeout="1" />
                     <DispatchKeyEvent char="FF0000" />
 					<DispatchKeyEvent key="ENTER"/>

Modified: incubator/flex/sdk/branches/develop/mustella/tests/components/ColorPicker/mirroring/ColorPicker_mirroring_tester.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/ColorPicker/mirroring/ColorPicker_mirroring_tester.mxml?rev=1393650&r1=1393649&r2=1393650&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/components/ColorPicker/mirroring/ColorPicker_mirroring_tester.mxml (original)
+++ incubator/flex/sdk/branches/develop/mustella/tests/components/ColorPicker/mirroring/ColorPicker_mirroring_tester.mxml Wed Oct  3 18:20:52 2012
@@ -388,12 +388,12 @@
 	     <SetStyle target="myColorPicker" styleName="layoutDirection" value="ltr" waitEvent="updateComplete"/>
 	     <SetStyle target="myColorPicker" styleName="direction" value="ltr" waitEvent="updateComplete"/>
 	     <AssertStyleValue target="myColorPicker" styleName="layoutDirection" value="ltr"/>
-	     <Pause timeout="100"/>
 	     <RunCode code="FlexGlobals.topLevelApplication.myColorPicker.open()" waitEvent="open" waitTarget="myColorPicker"/>
- 	    <WaitForEffectsToEnd />
- 	    <RunCode code="application.getRidOfCursor(FlexGlobals.topLevelApplication.myColorPicker)" />
+ 	     <WaitForEffectsToEnd />
+ 	     <RunCode code="application.getRidOfCursor(FlexGlobals.topLevelApplication.myColorPicker)" />
 	    
-	     <RunCode code="application.sp=application.myColorPicker.mx_internal::dropdown"/>
+	    <RunCode code="application.sp=application.myColorPicker.mx_internal::dropdown"/>
+         <WaitForLayoutManager/>
 	    <CompareBitmap target="sp" url="../Mirroring/Baselines/$testID.png" numColorVariances="10" maxColorVariance="20"/>
              
          </body>
@@ -407,10 +407,10 @@
 	    <RunCode code="application.myColorPicker.open()" waitTarget="myColorPicker" waitEvent="open" />
 	    <WaitForEffectsToEnd />
 	    <RunCode code="application.myColorPicker.mx_internal::dropdown.mx_internal::textInput.text = '668912'" />
-	    <Pause timeout="200" />
 	    <RunCode code="application.getRidOfCursor(FlexGlobals.topLevelApplication.myColorPicker)" />
 	    
 	    <RunCode code="application.sp=application.myColorPicker.mx_internal::dropdown"/>
+        <WaitForLayoutManager/>
 	    <CompareBitmap target="sp" url="../Mirroring/Baselines/$testID.png" numColorVariances="10" maxColorVariance="20"/>
 	    
 	</body>
@@ -427,10 +427,10 @@
 	    <SetStyle target="myColorPicker" styleName="direction" value="ltr" waitEvent="updateComplete"/>
 	     
 	    <RunCode code="application.myColorPicker.mx_internal::dropdown.mx_internal::textInput.text = '668912'" />
-	    <Pause timeout="200" />
 	    <RunCode code="application.getRidOfCursor(FlexGlobals.topLevelApplication.myColorPicker)" />
 	    
 	    <RunCode code="application.sp=application.myColorPicker.mx_internal::dropdown"/>
+        <WaitForLayoutManager/>
 	    <CompareBitmap target="sp" url="../Mirroring/Baselines/$testID.png" numColorVariances="10" maxColorVariance="20"/>
 	   
 	</body>

Modified: incubator/flex/sdk/branches/develop/mustella/tests/components/ComboBox/Integration/ComboBox_Integration2.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/ComboBox/Integration/ComboBox_Integration2.mxml?rev=1393650&r1=1393649&r2=1393650&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/components/ComboBox/Integration/ComboBox_Integration2.mxml (original)
+++ incubator/flex/sdk/branches/develop/mustella/tests/components/ComboBox/Integration/ComboBox_Integration2.mxml Wed Oct  3 18:20:52 2012
@@ -95,24 +95,29 @@
 		   <RunCode code="setToolTipDelays()"/>
 	     </setup>
 	    <body>			
-		  <DispatchKeyEvent key="TAB" />
-		 <CompareBitmap target="mybox" url="../Integration/Baselines/cb_bugs_priorityA_173712_inital.png" numColorVariances="15" ignoreMaxColorVariance="true" />
-		 <RunCode code="setErrorString()" waitEvent="updateComplete" waitTarget="mybox.myCB"/>
-		 <DispatchMouseEvent  target="mybox.myCB" type ="mouseOver" localX="2" localY="2" />
-		 <Pause timeout="600"/>
-		  <CompareBitmap target="mybox" url="../Integration/Baselines/cb_bugs_priorityA_173712_error_string_set.png" numColorVariances="15" ignoreMaxColorVariance="true" />
-		  <RunCode code="resetErrorString()" waitEvent="updateComplete" waitTarget="mybox.myCB"/>
-		 <DispatchMouseEvent  target="mybox.myCB" type ="mouseOver" localX="2" localY="2" />	
- 		 <Pause timeout="600"/>
-		  <CompareBitmap target="mybox" url="../Integration/Baselines/cb_bugs_priorityA_173712_error_string_reset.png" numColorVariances="15" ignoreMaxColorVariance="true" />
-	         <RunCode code="setErrorString()" waitEvent="updateComplete" waitTarget="mybox.myCB"/>
-		 <DispatchMouseClickEvent target="mybox.myCB" stageX="2" stageY="2" />
-		 <DispatchMouseEvent  target="mybox.myCB" type ="mouseOver" localX="2" localY="2" />		 
-		 <Pause timeout="600"/>	
-		 <CompareBitmap target="mybox" url="../Integration/Baselines/cb_bugs_priorityA_173712_error_string_setAgain.png" numColorVariances="15" ignoreMaxColorVariance="true" />
-		 <RunCode code="resetErrorString()" waitEvent="updateComplete" waitTarget="mybox.myCB"/>
-		 <Pause timeout="500"/>
-	     </body>
+    		<DispatchKeyEvent key="TAB" />
+            <CompareBitmap target="mybox" url="../Integration/Baselines/cb_bugs_priorityA_173712_inital.png" numColorVariances="15" ignoreMaxColorVariance="true" />
+            <RunCode code="setErrorString()" waitEvent="updateComplete" waitTarget="mybox.myCB"/>
+            <DispatchMouseEvent  target="mybox.myCB" type ="mouseOver" localX="2" localY="2" />
+		    <!-- wait for ToolTip - see setToolTipDelays() ToolTipManager.showDisplay -->
+            <Pause timeout="600"/>
+            <CompareBitmap target="mybox" url="../Integration/Baselines/cb_bugs_priorityA_173712_error_string_set.png" numColorVariances="15" ignoreMaxColorVariance="true" />
+            <RunCode code="resetErrorString()" waitEvent="updateComplete" waitTarget="mybox.myCB"/>
+            <DispatchMouseEvent  target="mybox.myCB" type ="mouseOver" localX="2" localY="2" />	
+            <!-- wait for ToolTip - see setToolTipDelays() ToolTipManager.showDisplay -->
+ 		    <Pause timeout="600"/>
+            <CompareBitmap target="mybox" url="../Integration/Baselines/cb_bugs_priorityA_173712_error_string_reset.png" numColorVariances="15" ignoreMaxColorVariance="true" />
+            <RunCode code="setErrorString()" waitEvent="updateComplete" waitTarget="mybox.myCB"/>
+            <DispatchMouseClickEvent target="mybox.myCB" stageX="2" stageY="2" />
+            <DispatchMouseEvent  target="mybox.myCB" type ="mouseOver" localX="2" localY="2" />		 
+            <!-- wait for ToolTip - see setToolTipDelays() ToolTipManager.showDisplay -->
+		    <Pause timeout="600"/>	
+            <CompareBitmap target="mybox" url="../Integration/Baselines/cb_bugs_priorityA_173712_error_string_setAgain.png" numColorVariances="15" ignoreMaxColorVariance="true" />
+        </body>
+        <cleanup>
+            <RunCode code="resetErrorString()" waitEvent="updateComplete" waitTarget="mybox.myCB"/>
+            <WaitForLayoutManager/>	
+        </cleanup>
 	</TestCase>	
 	
 	</testCases>                	     

Modified: incubator/flex/sdk/branches/develop/mustella/tests/components/ComboBox/Integration/ComboBox_Integration2_spark.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/ComboBox/Integration/ComboBox_Integration2_spark.mxml?rev=1393650&r1=1393649&r2=1393650&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/components/ComboBox/Integration/ComboBox_Integration2_spark.mxml (original)
+++ incubator/flex/sdk/branches/develop/mustella/tests/components/ComboBox/Integration/ComboBox_Integration2_spark.mxml Wed Oct  3 18:20:52 2012
@@ -99,20 +99,25 @@
          <CompareBitmap target="mybox" url="../Integration/Baselines/cb_bugs_priorityA_173712_inital_spark.png" numColorVariances="15" ignoreMaxColorVariance="true" />
          <RunCode code="setErrorString()" waitEvent="updateComplete" waitTarget="mybox.myCB"/>
          <DispatchMouseEvent  target="mybox.myCB" type ="mouseOver" localX="2" localY="2" />
+            <!-- wait for ToolTip - see setToolTipDelays() ToolTipManager.showDisplay -->
          <Pause timeout="600"/>
           <CompareBitmap target="mybox" url="../Integration/Baselines/cb_bugs_priorityA_173712_error_string_set_spark.png" numColorVariances="15" ignoreMaxColorVariance="true"/>
           <RunCode code="resetErrorString()" waitEvent="updateComplete" waitTarget="mybox.myCB"/>
          <DispatchMouseEvent  target="mybox.myCB" type ="mouseOver" localX="2" localY="2" />
+          <!-- wait for ToolTip - see setToolTipDelays() ToolTipManager.showDisplay -->
          <Pause timeout="600"/>
           <CompareBitmap target="mybox" url="../Integration/Baselines/cb_bugs_priorityA_173712_error_string_reset_spark.png" numColorVariances="15" ignoreMaxColorVariance="true"/>
-             <RunCode code="setErrorString()" waitEvent="updateComplete" waitTarget="mybox.myCB"/>
+          <RunCode code="setErrorString()" waitEvent="updateComplete" waitTarget="mybox.myCB"/>
          <DispatchMouseClickEvent target="mybox.myCB" stageX="2" stageY="2" />
          <DispatchMouseEvent  target="mybox.myCB" type ="mouseOver" localX="2" localY="2" />
+         <!-- wait for ToolTip - see setToolTipDelays() ToolTipManager.showDisplay -->
          <Pause timeout="600"/>
          <CompareBitmap target="mybox" url="../Integration/Baselines/cb_bugs_priorityA_173712_error_string_setAgain_spark.png" numColorVariances="15" ignoreMaxColorVariance="true"/>
-         <RunCode code="resetErrorString()" waitEvent="updateComplete" waitTarget="mybox.myCB"/>
-         <Pause timeout="500"/>
          </body>
+         <cleanup>
+             <RunCode code="resetErrorString()" waitEvent="updateComplete" waitTarget="mybox.myCB"/>            
+             <WaitForLayoutManager/>
+         </cleanup>
     </TestCase>
 
     </testCases>

Modified: incubator/flex/sdk/branches/develop/mustella/tests/components/ComboBox/Styles/ComboBoxStyleTester.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/ComboBox/Styles/ComboBoxStyleTester.mxml?rev=1393650&r1=1393649&r2=1393650&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/components/ComboBox/Styles/ComboBoxStyleTester.mxml (original)
+++ incubator/flex/sdk/branches/develop/mustella/tests/components/ComboBox/Styles/ComboBoxStyleTester.mxml Wed Oct  3 18:20:52 2012
@@ -363,13 +363,15 @@
 	     </setup>
 	    <body>
 		    <SetStyle styleName="fontFamily" value="MyVerdana" target="mybox.myCB"/>
-		    <Pause timeout="20"/>
+		    <WaitForLayoutManager/>
 		    <RunCode code="application.mybox.myCB.open()" waitEvent="open" waitTarget="mybox.myCB" />
             <WaitForEffectsToEnd />
+            <WaitForLayoutManager/>
 		    <CompareBitmap numColorVariances="5" ignoreMaxColorVariance="true"   target="mybox.myCB" url="../Styles/Baselines/cb_styles_fontFamily.png"  />
 		    <CompareBitmap numColorVariances="5" ignoreMaxColorVariance="true"   target="mybox.myCB.dropdown" url="../Styles/Baselines/cb_styles_fontFamily_dropdown.png"  />
 		    <RunCode code="application.mybox.myCB.close()" waitEvent="close" waitTarget="mybox.myCB" />
             <WaitForEffectsToEnd />
+            <WaitForLayoutManager/>
 	     </body>
 	 </TestCase>
 	 <TestCase testID="combobox_styles_fontFamily_throughStyleName" keywords="[comboBox, styles, fontFamily]">
@@ -378,7 +380,7 @@
 	     </setup>
 	    <body>
 		    <SetStyle styleName="fontFamily" value="MyVerdana" target="mybox.myCB"/>
-		    <Pause timeout="20"/>
+		    <WaitForLayoutManager/>
 		    <SetStyle styleName="dropDownStyleName" value="customFontFamily" target="mybox.myCB" waitEvent="updateComplete" waitTarget="mybox.myCB"/>
 		    <RunCode code="application.mybox.myCB.open()" waitEvent="open" waitTarget="mybox.myCB" />
             <WaitForEffectsToEnd />

Modified: incubator/flex/sdk/branches/develop/mustella/tests/components/ComboBox/Styles/ComboBoxStyleTester_spark.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/ComboBox/Styles/ComboBoxStyleTester_spark.mxml?rev=1393650&r1=1393649&r2=1393650&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/components/ComboBox/Styles/ComboBoxStyleTester_spark.mxml (original)
+++ incubator/flex/sdk/branches/develop/mustella/tests/components/ComboBox/Styles/ComboBoxStyleTester_spark.mxml Wed Oct  3 18:20:52 2012
@@ -357,9 +357,10 @@
          </setup>
         <body>
             <SetStyle styleName="fontFamily" value="MyVerdana" target="mybox.myCB" />
-            <Pause timeout="20"/>
+            <WaitForLayoutManager/>
             <RunCode code="application.mybox.myCB.open()" waitEvent="open" waitTarget="mybox.myCB" />
             <WaitForEffectsToEnd />
+            <WaitForLayoutManager/>
             <CompareBitmap numColorVariances="10" ignoreMaxColorVariance="true"   target="mybox.myCB" url="../Styles/Baselines/cb_styles_fontFamily_spark.png"  />
             <CompareBitmap numColorVariances="10" ignoreMaxColorVariance="true"   target="mybox.myCB.dropdown" url="../Styles/Baselines/cb_styles_fontFamily_dropdown_spark.png"  />
             <RunCode code="application.mybox.myCB.close()" waitEvent="close" waitTarget="mybox.myCB" />
@@ -372,14 +373,15 @@
          </setup>
         <body>
             <SetStyle styleName="fontFamily" value="MyVerdana" target="mybox.myCB"/>
-            <Pause timeout="20"/>
+            <WaitForLayoutManager/>
             <SetStyle styleName="dropDownStyleName" value="customFontFamily" target="mybox.myCB" waitEvent="updateComplete" waitTarget="mybox.myCB"/>
             <RunCode code="application.mybox.myCB.open()" waitEvent="open" waitTarget="mybox.myCB" />
             <WaitForEffectsToEnd />
             <CompareBitmap numColorVariances="10" ignoreMaxColorVariance="true"   target="mybox" url="../Styles/Baselines/cb_styles_fontFamily_stylename_spark.png"  />
             <RunCode code="application.mybox.myCB.close()" waitEvent="close" waitTarget="mybox.myCB" />
             <WaitForEffectsToEnd />
-         </body>
+            <WaitForLayoutManager/>
+        </body>
      </TestCase>
      <TestCase testID="Spark_combobox_styles_fontSize_default" keywords="[comboBox, styles, fontSize]">
          <setup>

Modified: incubator/flex/sdk/branches/develop/mustella/tests/components/ComboBox/Styles/ComboBoxStylesMirroring.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/ComboBox/Styles/ComboBoxStylesMirroring.mxml?rev=1393650&r1=1393649&r2=1393650&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/components/ComboBox/Styles/ComboBoxStylesMirroring.mxml (original)
+++ incubator/flex/sdk/branches/develop/mustella/tests/components/ComboBox/Styles/ComboBoxStylesMirroring.mxml Wed Oct  3 18:20:52 2012
@@ -39,12 +39,10 @@
 				<ResetComponent target="cb_m1" className="comps.Custom_CB_M" waitEvent="updateComplete"/>
 			</setup>
 			<body>
-				<RunCode code="FlexGlobals.topLevelApplication.setLdRTL()" />
-				<Pause timeout="20"/>
+				<RunCode code="FlexGlobals.topLevelApplication.setLdRTL()" waitTarget="cb_m1" waitEvent="layoutDirectionChanged"/>
 				<AssertStyleValue target="cb_m1" styleName="layoutDirection" value="rtl"/>
 				<CompareBitmap target="cb_m1" url="../Styles/Baselines/$testID_1.png" numColorVariances="10" ignoreMaxColorVariance="true"/>
-				<RunCode code="FlexGlobals.topLevelApplication.setDRTL()" />
-				<Pause timeout="20"/>
+				<RunCode code="FlexGlobals.topLevelApplication.setDRTL()" waitTarget="cb_m1" waitEvent="directionChanged"/>
 				<AssertStyleValue target="cb_m1" styleName="direction" value="rtl"/>
 				<CompareBitmap target="cb_m1" url="../Styles/Baselines/$testID_2.png" numColorVariances="10" ignoreMaxColorVariance="true"/>
 				<RunCode code="FlexGlobals.topLevelApplication.cb_m1.open()" waitEvent="open" waitTarget="cb_m1"/>
@@ -65,9 +63,9 @@
 				<AssertStyleValue target="cb_m1" styleName="direction" value="ltr"/>
 				<CompareBitmap target="cb_m1" url="../Styles/Baselines/$testID_1.png" numColorVariances="10" ignoreMaxColorVariance="true"/>
 				<SetStyle target="cb_m1" styleName="direction" value="rtl" waitEvent="updateComplete"/>
-				<Pause timeout="20"/>
 				<AssertStyleValue target="cb_m1" styleName="direction" value="rtl"/>
 				<AssertStyleValue target="cb_m1" styleName="layoutDirection" value="rtl"/>
+                <WaitForLayoutManager/>
 				<CompareBitmap target="cb_m1" url="../Styles/Baselines/$testID_2.png" numColorVariances="10" ignoreMaxColorVariance="true"/>
 				<RunCode code="FlexGlobals.topLevelApplication.cb_m1.open()" waitEvent="open" waitTarget="cb_m1"/>
 				<CompareBitmap target="cb_m1.dropdown" url="../Styles/Baselines/$testID_3.png" numColorVariances="10" ignoreMaxColorVariance="true"/>
@@ -110,11 +108,11 @@
 			<body>
 				<DispatchKeyEvent keys="[TAB]" waitEvent="focusIn" waitTarget="cb_m1"/>
 				<RunCode code="FlexGlobals.topLevelApplication.cb_m1.open()" waitEvent="open" waitTarget="cb_m1"/>
-				<Pause timeout="100"/>
+				<WaitForLayoutManager/>
 				<DispatchKeyEvent keys="[DOWN]" />
-				<Pause timeout="100"/>
+                <WaitForLayoutManager/>
 				<DispatchKeyEvent keys="[DOWN]" />
-				<Pause timeout="100"/>
+                <WaitForLayoutManager/>
 				<AssertPropertyValue target="cb_m1" propertyName="selectedIndex" value="2"/>
 				<DispatchKeyEvent keys="[ENTER]" waitEvent="close" waitTarget="cb_m1"/>
 				<AssertPropertyValue target="cb_m1" propertyName="selectedIndex" value="2"/>
@@ -131,11 +129,11 @@
 			<body>
 				<DispatchKeyEvent keys="[TAB]" waitEvent="focusIn" waitTarget="cb_m1"/>
 				<RunCode code="FlexGlobals.topLevelApplication.cb_m1.open()" waitEvent="open" waitTarget="cb_m1"/>
-				<Pause timeout="100"/>
+                <WaitForLayoutManager/>
 				<DispatchKeyEvent keys="[UP]" />
-				<Pause timeout="100"/>
+                <WaitForLayoutManager/>
 				<DispatchKeyEvent keys="[UP]" />
-				<Pause timeout="100"/>
+                <WaitForLayoutManager/>
 				<AssertPropertyValue target="cb_m1" propertyName="selectedIndex" value="2"/>
 				<DispatchKeyEvent keys="[ENTER]" waitEvent="close" waitTarget="cb_m1"/>
 				<AssertPropertyValue target="cb_m1" propertyName="selectedIndex" value="2"/>

Modified: incubator/flex/sdk/branches/develop/mustella/tests/components/ComboBox/Styles/ComboBoxStylesMirroring_wireframe.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/ComboBox/Styles/ComboBoxStylesMirroring_wireframe.mxml?rev=1393650&r1=1393649&r2=1393650&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/components/ComboBox/Styles/ComboBoxStylesMirroring_wireframe.mxml (original)
+++ incubator/flex/sdk/branches/develop/mustella/tests/components/ComboBox/Styles/ComboBoxStylesMirroring_wireframe.mxml Wed Oct  3 18:20:52 2012
@@ -36,12 +36,10 @@
 				<ResetComponent target="cb_m1" className="comps.Custom_CB_M" waitEvent="updateComplete"/>
 			</setup>
 			<body>
-				<RunCode code="FlexGlobals.topLevelApplication.setLdRTL()" />
-				<Pause timeout="20"/>
+				<RunCode code="FlexGlobals.topLevelApplication.setLdRTL()" waitTarget="cb_m1" waitEvent="layoutDirectionChanged"/>
 				<AssertStyleValue target="cb_m1" styleName="layoutDirection" value="rtl"/>
 				<CompareBitmap target="cb_m1" url="../Styles/Baselines/$testID_1.png" numColorVariances="10" ignoreMaxColorVariance="true"/>
-				<RunCode code="FlexGlobals.topLevelApplication.setDRTL()" />
-				<Pause timeout="20"/>
+				<RunCode code="FlexGlobals.topLevelApplication.setDRTL()" waitTarget="cb_m1" waitEvent="directionChanged"/>
 				<AssertStyleValue target="cb_m1" styleName="direction" value="rtl"/>
 				<CompareBitmap target="cb_m1" url="../Styles/Baselines/$testID_2.png" numColorVariances="10" ignoreMaxColorVariance="true"/>
 				<RunCode code="FlexGlobals.topLevelApplication.cb_m1.open()" waitEvent="open" waitTarget="cb_m1"/>
@@ -62,7 +60,6 @@
 				<AssertStyleValue target="cb_m1" styleName="direction" value="ltr"/>
 				<CompareBitmap target="cb_m1" url="../Styles/Baselines/$testID_1.png" numColorVariances="10" ignoreMaxColorVariance="true"/>
 				<SetStyle target="cb_m1" styleName="direction" value="rtl" waitEvent="updateComplete"/>
-				<Pause timeout="20"/>
 				<AssertStyleValue target="cb_m1" styleName="direction" value="rtl"/>
 				<AssertStyleValue target="cb_m1" styleName="layoutDirection" value="rtl"/>
 				<CompareBitmap target="cb_m1" url="../Styles/Baselines/$testID_2.png" numColorVariances="10" ignoreMaxColorVariance="true"/>
@@ -107,11 +104,11 @@
 			<body>
 				<DispatchKeyEvent keys="[TAB]" waitEvent="focusIn" waitTarget="cb_m1"/>
 				<RunCode code="FlexGlobals.topLevelApplication.cb_m1.open()" waitEvent="open" waitTarget="cb_m1"/>
-				<Pause timeout="100"/>
+				<WaitForLayoutManager/>
 				<DispatchKeyEvent keys="[DOWN]" />
-				<Pause timeout="100"/>
+                <WaitForLayoutManager/>
 				<DispatchKeyEvent keys="[DOWN]" />
-				<Pause timeout="100"/>
+                <WaitForLayoutManager/>
 				<AssertPropertyValue target="cb_m1" propertyName="selectedIndex" value="2"/>
 				<DispatchKeyEvent keys="[ENTER]" waitEvent="close" waitTarget="cb_m1"/>
 				<AssertPropertyValue target="cb_m1" propertyName="selectedIndex" value="2"/>
@@ -128,11 +125,11 @@
 			<body>
 				<DispatchKeyEvent keys="[TAB]" waitEvent="focusIn" waitTarget="cb_m1"/>
 				<RunCode code="FlexGlobals.topLevelApplication.cb_m1.open()" waitEvent="open" waitTarget="cb_m1"/>
-				<Pause timeout="100"/>
+                <WaitForLayoutManager/>
 				<DispatchKeyEvent keys="[UP]" />
-				<Pause timeout="100"/>
+                <WaitForLayoutManager/>
 				<DispatchKeyEvent keys="[UP]" />
-				<Pause timeout="100"/>
+                <WaitForLayoutManager/>
 				<AssertPropertyValue target="cb_m1" propertyName="selectedIndex" value="2"/>
 				<DispatchKeyEvent keys="[ENTER]" waitEvent="close" waitTarget="cb_m1"/>
 				<AssertPropertyValue target="cb_m1" propertyName="selectedIndex" value="2"/>

Modified: incubator/flex/sdk/branches/develop/mustella/tests/components/ComboBox/Styles/ComboBox_Styles_SkinImprovements_Padding.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/ComboBox/Styles/ComboBox_Styles_SkinImprovements_Padding.mxml?rev=1393650&r1=1393649&r2=1393650&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/components/ComboBox/Styles/ComboBox_Styles_SkinImprovements_Padding.mxml (original)
+++ incubator/flex/sdk/branches/develop/mustella/tests/components/ComboBox/Styles/ComboBox_Styles_SkinImprovements_Padding.mxml Wed Oct  3 18:20:52 2012
@@ -62,7 +62,7 @@
 				<ResetComponent target="componentComboBoxPaddingBasic" className="component_ComboBox_Padding_Basic" waitTarget="updateComplete" />
 			</setup>
 			<body>
-				<Pause timeout="100"/>
+                <WaitForLayoutManager/>
 			    	<CompareBitmap target="" url="../Styles/Baselines/ComboBox_Padding1.png" numColorVariances="4" ignoreMaxColorVariance="true"/>
 			</body>
 		</TestCase>
@@ -73,7 +73,7 @@
 
 			</setup>
 			<body>
-				<Pause timeout="200"/>
+				<WaitForLayoutManager/>
 			    	<CompareBitmap target="" url="../Styles/Baselines/ComboBox_Padding2.png" numColorVariances="4" ignoreMaxColorVariance="true"/>
 			</body>
 		</TestCase>
@@ -85,7 +85,7 @@
 
 			</setup>
 			<body>
-				<Pause timeout="200"/>
+				<WaitForLayoutManager/>
 			    	<CompareBitmap target="" url="../Styles/Baselines/ComboBox_Padding3.png" numColorVariances="4" ignoreMaxColorVariance="true" />
 			</body>
 		</TestCase>
@@ -97,7 +97,7 @@
 
 			</setup>
 			<body>
-				<Pause timeout="200"/>
+				<WaitForLayoutManager/>
 			    	<CompareBitmap target="" url="../Styles/Baselines/ComboBox_Padding4.png" numColorVariances="4" ignoreMaxColorVariance="true"/>
 			</body>
 		</TestCase>
@@ -108,7 +108,7 @@
 
 			</setup>
 			<body>
-				<Pause timeout="200"/>
+				<WaitForLayoutManager/>
 			    	<CompareBitmap target="" url="../Styles/Baselines/ComboBox_Padding5.png" numColorVariances="4" ignoreMaxColorVariance="true"/>
 			</body>
 		</TestCase>

Modified: incubator/flex/sdk/branches/develop/mustella/tests/components/ComboBox/Styles/ComboBox_Styles_SkinImprovements_Padding_spark.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/ComboBox/Styles/ComboBox_Styles_SkinImprovements_Padding_spark.mxml?rev=1393650&r1=1393649&r2=1393650&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/components/ComboBox/Styles/ComboBox_Styles_SkinImprovements_Padding_spark.mxml (original)
+++ incubator/flex/sdk/branches/develop/mustella/tests/components/ComboBox/Styles/ComboBox_Styles_SkinImprovements_Padding_spark.mxml Wed Oct  3 18:20:52 2012
@@ -62,7 +62,7 @@
                 <ResetComponent target="componentComboBoxPaddingBasic" className="component_ComboBox_Padding_Basic" waitTarget="updateComplete" />
             </setup>
             <body>
-                <Pause timeout="200"/>
+                <WaitForLayoutManager/>
                     <CompareBitmap target="" url="../Styles/Baselines/ComboBox_Padding1_spark.png" numColorVariances="18" ignoreMaxColorVariance="true" />
             </body>
         </TestCase>
@@ -73,7 +73,7 @@
 
             </setup>
             <body>
-                <Pause timeout="200"/>
+                <WaitForLayoutManager/>
                     <CompareBitmap target="" url="../Styles/Baselines/ComboBox_Padding2_spark.png" numColorVariances="18" ignoreMaxColorVariance="true" />
             </body>
         </TestCase>
@@ -85,7 +85,7 @@
 
             </setup>
             <body>
-                <Pause timeout="200"/>
+                <WaitForLayoutManager/>
                     <CompareBitmap target="" url="../Styles/Baselines/ComboBox_Padding3_spark.png" numColorVariances="18" ignoreMaxColorVariance="true"/>
             </body>
         </TestCase>
@@ -97,7 +97,7 @@
 
             </setup>
             <body>
-                <Pause timeout="200"/>
+                <WaitForLayoutManager/>
                     <CompareBitmap target="" url="../Styles/Baselines/ComboBox_Padding4_spark.png" numColorVariances="18" ignoreMaxColorVariance="true"/>
             </body>
         </TestCase>
@@ -108,7 +108,7 @@
 
             </setup>
             <body>
-                <Pause timeout="200"/>
+                <WaitForLayoutManager/>
                     <CompareBitmap target="" url="../Styles/Baselines/ComboBox_Padding5_spark.png" numColorVariances="18" ignoreMaxColorVariance="true"/>
             </body>
         </TestCase>