Author: jjamrich
Date: 2012-03-27 09:23:23 -0400 (Tue, 27 Mar 2012)
New Revision: 23204
Modified:
branches/enterprise/3.3.1.SP3_RFPL-2088/samples/richfaces-demo/functional-test/src/test/java/org/jboss/richfaces/integrationTest/editor/AdvancedEditorTestCase.java
Log:
RFPL-2088: Fix test for advanced editor
There is path to image more relative
Modified:
branches/enterprise/3.3.1.SP3_RFPL-2088/samples/richfaces-demo/functional-test/src/test/java/org/jboss/richfaces/integrationTest/editor/AdvancedEditorTestCase.java
===================================================================
---
branches/enterprise/3.3.1.SP3_RFPL-2088/samples/richfaces-demo/functional-test/src/test/java/org/jboss/richfaces/integrationTest/editor/AdvancedEditorTestCase.java 2012-03-27
13:23:04 UTC (rev 23203)
+++
branches/enterprise/3.3.1.SP3_RFPL-2088/samples/richfaces-demo/functional-test/src/test/java/org/jboss/richfaces/integrationTest/editor/AdvancedEditorTestCase.java 2012-03-27
13:23:23 UTC (rev 23204)
@@ -787,7 +787,7 @@
waitForElement(LOC_TEXT_AREA_P_IMG);
String attr = selenium.getAttribute(LOC_TEXT_AREA_P_IMG + "@src");
- assertEquals(attr, "../images/cn_Editor.gif",
format(MSG_IMG_ATTRIBUTE_S, "src"));
+ assertEquals(attr, "../../richfaces-demo/images/cn_Editor.gif",
format(MSG_IMG_ATTRIBUTE_S, "src"));
attr = selenium.getAttribute(LOC_TEXT_AREA_P_IMG + "@alt");
assertEquals(attr, "Editor", format(MSG_IMG_ATTRIBUTE_S,
"alt"));
Show replies by date