Author: nbelaevski
Date: 2009-04-06 17:46:28 -0400 (Mon, 06 Apr 2009)
New Revision: 13399
Modified:
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/DropDownMenuTest.java
Log:
DropdownMenu Selenium tests updated to comply with
https://jira.jboss.org/jira/browse/RF-5226
Modified:
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/DropDownMenuTest.java
===================================================================
---
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/DropDownMenuTest.java 2009-04-06
19:53:16 UTC (rev 13398)
+++
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/DropDownMenuTest.java 2009-04-06
21:46:28 UTC (rev 13399)
@@ -69,9 +69,9 @@
assertClassNames(ddMenuId, new String [] {"dr-menu-label",
"rich-ddmenu-label", "dr-menu-label-unselect",
"rich-ddmenu-label-unselect"}, "Drop down menu has unexpected css
classes", true);
assertClassNames(ddMenuId, new String[] {"dropDownMenuClass"}, "Class
attribute does not work for DropDown menu component", true);
- assertClassNames(ddMenuGroup, new String [] {"dr-menu-item",
"dr-menu-item-enabled", "rich-menu-group"}, "Menu group has
unexpected css classes", true);
+ assertClassNames(ddMenuGroup, new String [] {"rich-menu-group-enabled",
"rich-menu-group"}, "Menu group has unexpected css classes", true);
assertClassNames(ddMenuGroup, new String[] {"menuGroupClass"}, "Class
attribute does not work for Menu group component", true);
- assertClassNames(ddMenuItem, new String [] {"dr-menu-item",
"dr-menu-item-enabled", "rich-menu-item"}, "Menu item has
unexpected css classes", true);
+ assertClassNames(ddMenuItem, new String [] {"rich-menu-item-enabled",
"rich-menu-item"}, "Menu item has unexpected css classes", true);
assertClassNames(ddMenuItem, new String[] {"menuItemClass"}, "Class
attribute does not work for Menu item component", true);
assertStyleAttribute(ddMenuId, "color: red", "Style attribute for Drop
down menu does not work");
@@ -207,7 +207,7 @@
AssertTextEquals(saveAll, "Save All", "Save All menu Item was not
rendered");
AssertVisible(parentId + "saveAs:folder", "Save as group was not
rendered");
- assertClassNames(separator, new String [] {"dr-menu-separator",
"rich-menu-separator"}, "Separator has invalid css class names",
true);
+ assertClassNames(separator, new String [] {"rich-menu-separator"},
"Separator has invalid css class names", true);
AssertVisible(separator, "Separator was not output");
}