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/05/10 19:28:34 UTC
git commit: [flex-sdk] [refs/heads/develop] - Fix test script broken
by delaying actual focus to TextInput
Updated Branches:
refs/heads/develop d7a7b4f29 -> a4cb8041f
Fix test script broken by delaying actual focus to TextInput
Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/a4cb8041
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/a4cb8041
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/a4cb8041
Branch: refs/heads/develop
Commit: a4cb8041faef323eda03bdbda5778fef28b7c25d
Parents: d7a7b4f
Author: Alex Harui <ah...@apache.org>
Authored: Fri May 10 10:25:59 2013 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Fri May 10 10:27:43 2013 -0700
----------------------------------------------------------------------
.../spark/scripts/TextInputTestScript.mxml | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/a4cb8041/frameworks/tests/basicTests/spark/scripts/TextInputTestScript.mxml
----------------------------------------------------------------------
diff --git a/frameworks/tests/basicTests/spark/scripts/TextInputTestScript.mxml b/frameworks/tests/basicTests/spark/scripts/TextInputTestScript.mxml
index b40a0ef..9197b26 100644
--- a/frameworks/tests/basicTests/spark/scripts/TextInputTestScript.mxml
+++ b/frameworks/tests/basicTests/spark/scripts/TextInputTestScript.mxml
@@ -51,7 +51,7 @@
</TestCase>
<TestCase testID="SparkTextInputTest1">
<body>
- <DispatchMouseClickEvent target="sparkTextInputTests.testTextInput" localX="10" localY="10" />
+ <DispatchMouseClickEvent target="sparkTextInputTests.testTextInput" localX="10" localY="10" waitEvent="focusIn"/>
<DispatchKeyEvent char="This is another test." waitEvent="change" waitTarget="sparkTextInputTests.testTextInput" />
<AssertPropertyValue target="sparkTextInputTests.testTextInput" propertyName="text" value="This is another test." />
<AssertPropertyValue target="sparkTextInputTests.testTextInput.textDisplay" propertyName="text" value="This is another test." />