Author: konstantin.mishin
Date: 2009-03-13 13:09:04 -0400 (Fri, 13 Mar 2009)
New Revision: 12957
Modified:
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/OrderingListTest.java
Log:
Reviewing selenium tests
small fix
Modified:
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/OrderingListTest.java
===================================================================
---
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/OrderingListTest.java 2009-03-13
16:15:18 UTC (rev 12956)
+++
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/OrderingListTest.java 2009-03-13
17:09:04 UTC (rev 12957)
@@ -460,7 +460,7 @@
clickById(ajax);
waitForAjaxCompletion();
AssertTextEquals(actionResultText, "item0");
- String selectedItems = getTextById(actionResultText);
+ String selectedItems = getTextById(selectionText);
if (!selectedItems.contains("item2")) {
Assert.fail("The third item was not selected");
}