Author: dsvyatobatsko
Date: 2008-05-22 08:31:43 -0400 (Thu, 22 May 2008)
New Revision: 8693
Modified:
trunk/test-applications/seleniumTest/src/test/java/org/richfaces/KeepAliveTest.java
Log:
fixed some broken tests
Modified:
trunk/test-applications/seleniumTest/src/test/java/org/richfaces/KeepAliveTest.java
===================================================================
---
trunk/test-applications/seleniumTest/src/test/java/org/richfaces/KeepAliveTest.java 2008-05-22
12:26:38 UTC (rev 8692)
+++
trunk/test-applications/seleniumTest/src/test/java/org/richfaces/KeepAliveTest.java 2008-05-22
12:31:43 UTC (rev 8693)
@@ -49,9 +49,8 @@
writeStatus("The sum has to be increased by 5 twice");
- clickById(addButtonId);
- clickById(addButtonId);
- delay(3000);
+ clickCommandAndWait(addButtonId);
+ clickCommandAndWait(addButtonId);
AssertValueEquals(sumElemId, "10");
writeStatus("The sum has to be increased by 5 twice again");
@@ -70,9 +69,8 @@
writeStatus("State is not saved between full submits. The sum always is
5");
- clickById(addButtonId);
- clickById(addButtonId);
- delay(3000);
+ clickCommandAndWait(addButtonId);
+ clickCommandAndWait(addButtonId);
AssertValueNotEquals(sumAjaxOnlyElemId, "10");
writeStatus("Ajax request! The sum has to be increased by 5 twice");