Add a little sleep for a test to make it work
Project: http://git-wip-us.apache.org/repos/asf/tapestry-5/repo Commit: http://git-wip-us.apache.org/repos/asf/tapestry-5/commit/cd7f9c87 Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/cd7f9c87 Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/cd7f9c87 Branch: refs/heads/master Commit: cd7f9c874a8ad7e9cea14365a90df7ff616461c0 Parents: 9ef7cfb Author: Howard M. Lewis Ship <[email protected]> Authored: Tue Aug 27 18:47:14 2013 +0100 Committer: Howard M. Lewis Ship <[email protected]> Committed: Tue Aug 27 18:47:14 2013 +0100 ---------------------------------------------------------------------- .../org/apache/tapestry5/integration/app1/AlertsTests.groovy | 2 ++ 1 file changed, 2 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/cd7f9c87/tapestry-core/src/test/groovy/org/apache/tapestry5/integration/app1/AlertsTests.groovy ---------------------------------------------------------------------- diff --git a/tapestry-core/src/test/groovy/org/apache/tapestry5/integration/app1/AlertsTests.groovy b/tapestry-core/src/test/groovy/org/apache/tapestry5/integration/app1/AlertsTests.groovy index 5355944..04718f1 100644 --- a/tapestry-core/src/test/groovy/org/apache/tapestry5/integration/app1/AlertsTests.groovy +++ b/tapestry-core/src/test/groovy/org/apache/tapestry5/integration/app1/AlertsTests.groovy @@ -100,6 +100,8 @@ class AlertsTests extends TapestryCoreTestCase { click "css=$CONTAINER [data-action='dismiss-all']" + sleep 100 + // Check that the alert container is now empty assertText "css=$CONTAINER", ""
