Author: konstantin.mishin
Date: 2009-02-13 08:24:05 -0500 (Fri, 13 Feb 2009)
New Revision: 12652
Modified:
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/ComboBoxTest.java
Log:
RF-6066
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-13
13:09:10 UTC (rev 12651)
+++
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/ComboBoxTest.java 2009-02-13
13:24:05 UTC (rev 12652)
@@ -186,6 +186,22 @@
Assert.assertEquals(selenium.getText(message), "Value mustn't be equal
44.");
}
+ /**
+ * Check "immediate", "required" &
"requiredMessage" attributes
+ */
+ @Test
+ public void testImmediateAndRequired(Template template) {
+ AutoTester autoTester = getAutoTester(this);
+ autoTester.renderPage(template, null);
+ autoTester.testImmediate(false);
+ autoTester.testRequiredAndRequiredMessageAttributes();
+ }
+
+ @Override
+ public void setValueEmpty() {
+ selenium.type(getParentId() + "autoTestForm:componentIdcomboboxValue",
"");
+ }
+
public String getTestUrl() {
return "pages/comboBox/comboBoxTest.xhtml";
}
Show replies by date