Author: jjamrich
Date: 2012-03-27 09:23:04 -0400 (Tue, 27 Mar 2012)
New Revision: 23203
Modified:
branches/enterprise/3.3.1.SP3_RFPL-2088/samples/richfaces-demo/functional-test/src/test/resources/org/jboss/richfaces/integrationTest/comboBox/locators.properties
Log:
RFPL-2088: Fix ComboBoxTestCase
Since suggestions are attached at the end within body element locator for element
containing suggestions match all available suggestions list - so sum of all found
suggestions was 105. Change locator to include just :visible element
Modified:
branches/enterprise/3.3.1.SP3_RFPL-2088/samples/richfaces-demo/functional-test/src/test/resources/org/jboss/richfaces/integrationTest/comboBox/locators.properties
===================================================================
---
branches/enterprise/3.3.1.SP3_RFPL-2088/samples/richfaces-demo/functional-test/src/test/resources/org/jboss/richfaces/integrationTest/comboBox/locators.properties 2012-03-27
13:22:46 UTC (rev 23202)
+++
branches/enterprise/3.3.1.SP3_RFPL-2088/samples/richfaces-demo/functional-test/src/test/resources/org/jboss/richfaces/integrationTest/comboBox/locators.properties 2012-03-27
13:23:04 UTC (rev 23203)
@@ -1,11 +1,11 @@
FIRST_COMBO_INPUT=jquery=fieldset:eq(0) input[id$=comboboxField]
FIRST_COMBO_BUTTON=jquery=fieldset:eq(0) input[id$=comboboxButton]
-FIRST_COMBO_SUGGESTIONS=jquery=div.rich-combobox-list-scroll >
span{0,choice,-1#|0#:eq({0})}
+FIRST_COMBO_SUGGESTIONS=jquery=div.rich-combobox-list-scroll:visible >
span{0,choice,-1#|0#:eq({0})}
SECOND_COMBO_INPUT=jquery=fieldset:eq(1) input[id$=comboboxField]
SECOND_COMBO_BUTTON=jquery=fieldset:eq(1) input[id$=comboboxButton]
-SECOND_COMBO_SUGGESTIONS=jquery=div.rich-combobox-list-scroll >
span{0,choice,-1#|0#:eq({0})}
+SECOND_COMBO_SUGGESTIONS=jquery=div.rich-combobox-list-scroll:visible >
span{0,choice,-1#|0#:eq({0})}
THIRD_COMBO_INPUT=jquery=fieldset:eq(2) input[id$=comboboxField]
THIRD_COMBO_BUTTON=jquery=fieldset:eq(2) input[id$=comboboxButton]
-THIRD_COMBO_SUGGESTIONS=jquery=div.rich-combobox-list-scroll >
span{0,choice,-1#|0#:eq({0})}
\ No newline at end of file
+THIRD_COMBO_SUGGESTIONS=jquery=div.rich-combobox-list-scroll:visible >
span{0,choice,-1#|0#:eq({0})}
\ No newline at end of file