Author: hlship Date: Thu Jul 28 23:56:15 2011 New Revision: 1152051 URL: http://svn.apache.org/viewvc?rev=1152051&view=rev Log: TAP5-1421: Improve test to dismiss the alert
Modified: tapestry/tapestry5/trunk/tapestry-core/src/test/groovy/org/apache/tapestry5/integration/app1/AlertsTests.groovy Modified: tapestry/tapestry5/trunk/tapestry-core/src/test/groovy/org/apache/tapestry5/integration/app1/AlertsTests.groovy URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/test/groovy/org/apache/tapestry5/integration/app1/AlertsTests.groovy?rev=1152051&r1=1152050&r2=1152051&view=diff ============================================================================== --- tapestry/tapestry5/trunk/tapestry-core/src/test/groovy/org/apache/tapestry5/integration/app1/AlertsTests.groovy (original) +++ tapestry/tapestry5/trunk/tapestry-core/src/test/groovy/org/apache/tapestry5/integration/app1/AlertsTests.groovy Thu Jul 28 23:56:15 2011 @@ -41,5 +41,13 @@ class AlertsTests extends SeleniumTestCa clickAndWait "link=Back to index" assertTextPresent "trad warn until" + + // Click the first and only dismiss icon + + click "css=.t-dismiss" + + // Check that the alert container is now empty + + assertText "css=.t-alert-container", "" } } \ No newline at end of file