Repository: tapestry-5 Updated Branches: refs/heads/master 3f099a5b2 -> a59d6271c
Attempt to fix the CoreBehaviorsTests.page_reset_annotation test failure Project: http://git-wip-us.apache.org/repos/asf/tapestry-5/repo Commit: http://git-wip-us.apache.org/repos/asf/tapestry-5/commit/a59d6271 Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/a59d6271 Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/a59d6271 Branch: refs/heads/master Commit: a59d6271c448512977490defc1fc72838f794b3d Parents: 3f099a5 Author: Thiago H. de Paula Figueiredo <[email protected]> Authored: Fri Nov 23 15:37:49 2018 -0200 Committer: Thiago H. de Paula Figueiredo <[email protected]> Committed: Fri Nov 23 15:37:49 2018 -0200 ---------------------------------------------------------------------- .../apache/tapestry5/integration/app1/CoreBehaviorsTests.java | 4 ++++ 1 file changed, 4 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/a59d6271/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/CoreBehaviorsTests.java ---------------------------------------------------------------------- diff --git a/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/CoreBehaviorsTests.java b/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/CoreBehaviorsTests.java index fbe83c5..1063b8e 100644 --- a/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/CoreBehaviorsTests.java +++ b/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/CoreBehaviorsTests.java @@ -1573,18 +1573,22 @@ public class CoreBehaviorsTests extends App1TestCase { openLinks("PageReset Annotation Demo"); + waitForElementToAppear("current"); assertText("current", "0"); clickAndWait("link=increment"); + waitForElementToAppear("current"); assertText("current", "1"); clickAndWait("link=increment"); + waitForElementToAppear("current"); assertText("current", "2"); clickAndWait("link=refresh"); + waitForElementToAppear("current"); assertText("current", "2"); clickAndWait(BACK_TO_INDEX);
