Author: konstantin.mishin
Date: 2009-03-18 12:45:56 -0400 (Wed, 18 Mar 2009)
New Revision: 13007
Modified:
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/RichPanelTestBean.java
trunk/test-applications/seleniumTest/richfaces/src/main/webapp/pages/panelMenu/menuPanelCosmeticTest.xhtml
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/PanelMenuTest.java
Log:
RF-6523
Modified:
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/RichPanelTestBean.java
===================================================================
---
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/RichPanelTestBean.java 2009-03-18
16:14:23 UTC (rev 13006)
+++
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/RichPanelTestBean.java 2009-03-18
16:45:56 UTC (rev 13007)
@@ -53,12 +53,15 @@
private Map<String, String> inputs = new HashMap<String, String>();
+ private String selectedChild;
+
public RichPanelTestBean() {
value = "";
value2 = 0;
rendered = true;
content = "content";
immediate = false;
+ selectedChild = null;
}
public void reset() {
@@ -273,6 +276,7 @@
rendered = true;
content = "content";
immediate = false;
+ selectedChild = null;
}
/**
@@ -335,4 +339,12 @@
this.disabled = disabled;
}
+ public void setSelectedChild(String selectedChild) {
+ this.selectedChild = selectedChild;
+ }
+
+ public String getSelectedChild() {
+ return selectedChild;
+ }
+
}
Modified:
trunk/test-applications/seleniumTest/richfaces/src/main/webapp/pages/panelMenu/menuPanelCosmeticTest.xhtml
===================================================================
(Binary files differ)
Modified:
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/PanelMenuTest.java
===================================================================
---
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/PanelMenuTest.java 2009-03-18
16:14:23 UTC (rev 13006)
+++
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/PanelMenuTest.java 2009-03-18
16:45:56 UTC (rev 13007)
@@ -334,7 +334,7 @@
writeStatus("Check selectedChild attribute is read on rendering and updated
on form submit");
- String parentId = getParentId() + "row__form3:";
+ String parentId = "row_" + getParentId() + "_form3:";
assertClassNames(parentId + "pGroup2_selected", ITEM_HIGHLIGHTS,
"Group 2 must be highlighted", true);
writeStatus("Click group 1");