Author: mvitenkov
Date: 2009-05-25 04:54:17 -0400 (Mon, 25 May 2009)
New Revision: 14296
Modified:
branches/community/3.3.X/test-applications/regressionArea/regressionArea-tests/src/test/java/org/richfaces/testng/rf7064/Test.java
branches/community/3.3.X/test-applications/regressionArea/regressionArea-tests/src/test/java/org/richfaces/testng/rf7172/Test.java
Log:
Modified:
branches/community/3.3.X/test-applications/regressionArea/regressionArea-tests/src/test/java/org/richfaces/testng/rf7064/Test.java
===================================================================
---
branches/community/3.3.X/test-applications/regressionArea/regressionArea-tests/src/test/java/org/richfaces/testng/rf7064/Test.java 2009-05-25
08:53:34 UTC (rev 14295)
+++
branches/community/3.3.X/test-applications/regressionArea/regressionArea-tests/src/test/java/org/richfaces/testng/rf7064/Test.java 2009-05-25
08:54:17 UTC (rev 14296)
@@ -16,7 +16,8 @@
clickAjaxCommandAndWait("form:toogleModes:0");
- AssertTextEquals("//*[@id='tinymce']/h1", "header");
+ selenium.assignId("//*[@id='tinymce']/h1", "expected");
+ AssertTextEquals("expected", "header",
"expected:'header';actual:'" + getTextById("expected") +
"'");
}
Modified:
branches/community/3.3.X/test-applications/regressionArea/regressionArea-tests/src/test/java/org/richfaces/testng/rf7172/Test.java
===================================================================
---
branches/community/3.3.X/test-applications/regressionArea/regressionArea-tests/src/test/java/org/richfaces/testng/rf7172/Test.java 2009-05-25
08:53:34 UTC (rev 14295)
+++
branches/community/3.3.X/test-applications/regressionArea/regressionArea-tests/src/test/java/org/richfaces/testng/rf7172/Test.java 2009-05-25
08:54:17 UTC (rev 14296)
@@ -19,7 +19,7 @@
try {
if (!str.equalsIgnoreCase("testValue"))
- throw new AssertionError("params test failed.");
+ throw new AssertionError("params test failed. Actual value:" + str);
} catch (Exception e) {
System.err.println(e.getStackTrace());
}