Author: dsvyatobatsko
Date: 2008-04-28 09:45:32 -0400 (Mon, 28 Apr 2008)
New Revision: 8235
Modified:
trunk/test-applications/seleniumTest/src/test/java/org/richfaces/JSFunctionTest.java
Log:
Modified:
trunk/test-applications/seleniumTest/src/test/java/org/richfaces/JSFunctionTest.java
===================================================================
---
trunk/test-applications/seleniumTest/src/test/java/org/richfaces/JSFunctionTest.java 2008-04-28
13:39:13 UTC (rev 8234)
+++
trunk/test-applications/seleniumTest/src/test/java/org/richfaces/JSFunctionTest.java 2008-04-28
13:45:32 UTC (rev 8235)
@@ -40,17 +40,18 @@
private void _testJSFunctionComponent(Templates template) {
renderPage("/faces/pages/jsFunction/jsFunctionTest.xhtml", template);
+ String showNameElemId = getParentId() + "showname";
selenium.mouseOver("alex");
waitForAjaxCompletion();
- assertEquals(getTextById("alex"), "Alex");
+ assertEquals(getTextById(showNameElemId), "Alex");
selenium.mouseOver("jonh");
waitForAjaxCompletion();
- assertEquals(getTextById("jonh"), "Jonh");
+ assertEquals(getTextById(showNameElemId), "Jonh");
selenium.mouseOver("roger");
waitForAjaxCompletion();
- assertEquals(getTextById("roger"), "Roger");
+ assertEquals(getTextById(showNameElemId), "Roger");
}
}