Author: sergeyhalipov
Date: 2008-05-27 12:31:17 -0400 (Tue, 27 May 2008)
New Revision: 8787
Modified:
trunk/test-applications/seleniumTest/src/test/java/org/richfaces/testng/TogglePanelTest.java
Log:
Fix toggle panel test.
Modified:
trunk/test-applications/seleniumTest/src/test/java/org/richfaces/testng/TogglePanelTest.java
===================================================================
---
trunk/test-applications/seleniumTest/src/test/java/org/richfaces/testng/TogglePanelTest.java 2008-05-27
16:21:24 UTC (rev 8786)
+++
trunk/test-applications/seleniumTest/src/test/java/org/richfaces/testng/TogglePanelTest.java 2008-05-27
16:31:17 UTC (rev 8787)
@@ -76,6 +76,8 @@
String oneFacet = parentId + "ajax_state_one";
String twoFacet = parentId + "ajax_state_two";
+
+ String cleanButton = parentId + "clean";
writeStatus("Click on ajax controlNext");
clickById(controlNext);
@@ -185,6 +187,10 @@
clickById(controlTwo);
Assert.assertTrue(isVisibleById(twoFacet));
Assert.assertFalse(isVisibleById(oneFacet));
+
+ writeStatus("Clean bean values");
+ clickById(cleanButton);
+ waitForAjaxCompletion();
}
public String getTestUrl() {
Show replies by date