Author: dsvyatobatsko
Date: 2008-10-10 06:28:26 -0400 (Fri, 10 Oct 2008)
New Revision: 10708
Modified:
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxStatusTest.java
Log:
AjaxStatus: failure messages added
Modified:
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxStatusTest.java
===================================================================
---
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxStatusTest.java 2008-10-10
09:59:27 UTC (rev 10707)
+++
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxStatusTest.java 2008-10-10
10:28:26 UTC (rev 10708)
@@ -112,10 +112,10 @@
String startFacetId = statusElemId + ".start";
String stopFacetId = statusElemId + ".stop";
- assertStyleAttribute(startFacetId, "color: red");
+ assertStyleAttribute(startFacetId, "color: red", "Style attribute
was not output to client for start facet");
assertClassNames(startFacetId, new String[] {"start-class"},
"Class attribute was not output to client for start facet", true);
- assertStyleAttribute(stopFacetId, "color: green");
+ assertStyleAttribute(stopFacetId, "color: green", "Style attribute
was not output to client for stop facet");
assertClassNames(stopFacetId, new String[] {"stop-class"}, "Class
attribute was not output to client for stop facet", true);
}
@@ -147,8 +147,8 @@
String statusElemId = getParentId() + "_form:" + STATUS_1_ID;
- assertStyleAttribute(statusElemId, "font-size: 13px");
- assertClassNames(statusElemId, new String[] { "noclass" }, "Class
attribute was not output to client ", true);
+ assertStyleAttribute(statusElemId, "font-size: 13px", "Style
attribute was not output to client");
+ assertClassNames(statusElemId, new String[] { "noclass" }, "Class
attribute was not output to client", true);
}
public String getTestUrl() {