Author: dsvyatobatsko
Date: 2008-05-29 04:21:40 -0400 (Thu, 29 May 2008)
New Revision: 8817
Modified:
trunk/test-applications/seleniumTest/src/test/java/org/richfaces/testng/ComboBoxTest.java
Log:
Modified:
trunk/test-applications/seleniumTest/src/test/java/org/richfaces/testng/ComboBoxTest.java
===================================================================
---
trunk/test-applications/seleniumTest/src/test/java/org/richfaces/testng/ComboBoxTest.java 2008-05-29
07:45:35 UTC (rev 8816)
+++
trunk/test-applications/seleniumTest/src/test/java/org/richfaces/testng/ComboBoxTest.java 2008-05-29
08:21:40 UTC (rev 8817)
@@ -35,8 +35,8 @@
@Test
public void testComboBoxComponent() throws Exception {
_testComboBoxComponent(Templates.SIMPLE);
-// _testComboBoxComponent(Templates.DATATABLE);
-// _testComboBoxComponent(Templates.MODALPANEL);
+ _testComboBoxComponent(Templates.DATATABLE);
+ _testComboBoxComponent(Templates.MODALPANEL);
}
private void _testComboBoxComponent(Templates template) {
@@ -76,9 +76,6 @@
writeStatus("type \"O\"");
-// selenium.type(selectItemsCBId + "comboboxField", "O");
-// selenium.typeKeys(selectItemsCBId + "comboboxField", "O");
-
type(selectItemsCBId + "comboboxField", "O");
Assert.assertTrue(isVisibleById(selectItemsCBId + "list"),
"Component's pop-up must show up on key typing");
@@ -89,9 +86,6 @@
clickById(suggestionValuesCBId);
writeStatus("type \"Ma\"");
-// selenium.type(suggestionValuesCBId + "comboboxField",
"Ma");
-// selenium.typeKeys(suggestionValuesCBId + "comboboxField",
"Ma");
-
type(suggestionValuesCBId + "comboboxField", "Ma");
Assert.assertTrue(isVisibleById(suggestionValuesCBId + "list"),
"Component's pop-up must show up on key typing");
Show replies by date