Author: konstantin.mishin
Date: 2009-02-17 07:00:22 -0500 (Tue, 17 Feb 2009)
New Revision: 12679
Modified:
trunk/test-applications/seleniumTest/richfaces/src/main/webapp/pages/comboBox/comboBoxTest.xhtml
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/ComboBoxTest.java
Log:
RF-6070
Modified:
trunk/test-applications/seleniumTest/richfaces/src/main/webapp/pages/comboBox/comboBoxTest.xhtml
===================================================================
(Binary files differ)
Modified:
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/ComboBoxTest.java
===================================================================
---
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/ComboBoxTest.java 2009-02-16
21:04:37 UTC (rev 12678)
+++
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/ComboBoxTest.java 2009-02-17
12:00:22 UTC (rev 12679)
@@ -272,6 +272,15 @@
Assert.assertTrue(selenium.isEditable(comboboxField));
}
+ /**
+ * check default label.
+ */
+ @Test
+ public void testDefaultLabel(Template template) {
+ init(template);
+ Assert.assertEquals(selenium.getValue(comboboxField), "Select ...");
+ }
+
@Override
public void setValueEmpty() {
selenium.type(getParentId() + "autoTestForm:componentIdcomboboxValue",
"");
Show replies by date