This is an automated email from the ASF dual-hosted git repository.

aharui pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git

commit 67c1a3afcad699a76b30c1129c41f4d039d2f203
Author: Alex Harui <[email protected]>
AuthorDate: Thu Sep 27 20:36:12 2018 -0700

    adjust test script since click is currenly required in JS menus
---
 mustella/tests/mxtests/basicTests/halo/scripts/MenuBarTestScript.mxml | 3 +++
 1 file changed, 3 insertions(+)

diff --git 
a/mustella/tests/mxtests/basicTests/halo/scripts/MenuBarTestScript.mxml 
b/mustella/tests/mxtests/basicTests/halo/scripts/MenuBarTestScript.mxml
index 8e13fed..4310040 100644
--- a/mustella/tests/mxtests/basicTests/halo/scripts/MenuBarTestScript.mxml
+++ b/mustella/tests/mxtests/basicTests/halo/scripts/MenuBarTestScript.mxml
@@ -90,8 +90,11 @@
                 <DispatchMouseClickEvent 
target="haloMenuBarTests.testMenuBar.menuBarItems.1" localX="10" localY="10" />
                 <!-- unable to override menuitem height right now -->
                 <DispatchMouseEvent 
target="haloMenuBarTests.testMenuBar.menus.0" type="mouseOver" localX="20" 
localY="40" />
+                <!-- menu on JS required CLICK so temporarily replace with 
DispatchMouseClickEvent
                 <DispatchMouseEvent 
target="haloMenuBarTests.testMenuBar.menus.0" type="mouseDown" localX="20" 
localY="40" />
                 <DispatchMouseEvent 
target="haloMenuBarTests.testMenuBar.menus.0" type="mouseUp" localX="20" 
localY="40" />
+                -->
+                <DispatchMouseClickEvent 
target="haloMenuBarTests.testMenuBar.menus.0" localX="20" localY="40" />
                 <AssertPropertyValue target="haloMenuBarTests.testMenuLabel" 
propertyName="text" value="Paste" />
                 <!-- visible isn't changed when menus pulled off the display 
list
                 <AssertPropertyValue 
target="haloMenuBarTests.testMenuBar.menus.0" propertyName="visible" 
value="false" />

Reply via email to