Author: fjuma
Date: 2009-03-20 09:03:03 -0400 (Fri, 20 Mar 2009)
New Revision: 246
Modified:
trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/EmbjoprTestCase.java
Log:
Fixed the change made to getDeleteButton() in EmbjoprTestCase.java so that we use the
variable formId instead of "resourceSummaryForm".
Modified: trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/EmbjoprTestCase.java
===================================================================
--- trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/EmbjoprTestCase.java 2009-03-20
03:26:13 UTC (rev 245)
+++ trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/EmbjoprTestCase.java 2009-03-20
13:03:03 UTC (rev 246)
@@ -156,7 +156,7 @@
String[] idElements = id.split(":");
String row = idElements[idElements.length - 2];
// resourceSummaryForm:dataTable:2:removeButton
- return
(HtmlButtonInput)client.getElement("resourceSummaryForm:dataTable:" + row +
":removeButton");
+ return (HtmlButtonInput)client.getElement(formId + ":dataTable:" + row
+ ":removeButton");
}
/**