Author: lfryc(a)redhat.com
Date: 2010-01-15 07:17:27 -0500 (Fri, 15 Jan 2010)
New Revision: 16304
Modified:
branches/community/3.3.X/samples/richfaces-demo/functional-test/src/test/java/org/jboss/richfaces/integrationTest/dataFilterSlider/DataFilterSliderTestCase.java
branches/community/3.3.X/samples/richfaces-demo/functional-test/src/test/resources/org/jboss/richfaces/integrationTest/dataFilterSlider/locators.properties
Log:
- rf-demo ftest - DataFilterSlider - broken xpaths after RF-8206 patch (RF-332)
Modified:
branches/community/3.3.X/samples/richfaces-demo/functional-test/src/test/java/org/jboss/richfaces/integrationTest/dataFilterSlider/DataFilterSliderTestCase.java
===================================================================
---
branches/community/3.3.X/samples/richfaces-demo/functional-test/src/test/java/org/jboss/richfaces/integrationTest/dataFilterSlider/DataFilterSliderTestCase.java 2010-01-15
12:12:19 UTC (rev 16303)
+++
branches/community/3.3.X/samples/richfaces-demo/functional-test/src/test/java/org/jboss/richfaces/integrationTest/dataFilterSlider/DataFilterSliderTestCase.java 2010-01-15
12:17:27 UTC (rev 16304)
@@ -65,7 +65,7 @@
/**
* Use slider to change input price and checks that all prices in table is
- * lowe than price selected by slider and given in text-input next to the
+ * lower than price selected by slider and given in text-input next to the
* slider
*/
@Test
@@ -78,7 +78,7 @@
* step is contained all values defined in all steps with lesser selected
* value of price
*/
- @Test
+ @Test(dependsOnMethods = "testSimpleSlider")
public void testComplexSlider() {
List<Integer> lowMileages = testSlider(format(MSG_CHOICES_OF_SLIDER_PERCENTAGES,
0));
List<Integer> highMileages = testSlider(format(MSG_CHOICES_OF_SLIDER_PERCENTAGES,
1));
@@ -104,7 +104,7 @@
* checks that only given brand is in table. Then repeat this process once
* with another input data.
*/
- @Test
+ @Test(dependsOnMethods = { "testSimpleSlider", "testSimpleBrand" })
public void testMethodInterleaving() {
testSlider(format(MSG_CHOICES_OF_SLIDER_PERCENTAGES_FOR_INTERLEAVING, 0));
testBrand(format(MSG_CHOICES_OF_BRANDS, 0));
Modified:
branches/community/3.3.X/samples/richfaces-demo/functional-test/src/test/resources/org/jboss/richfaces/integrationTest/dataFilterSlider/locators.properties
===================================================================
---
branches/community/3.3.X/samples/richfaces-demo/functional-test/src/test/resources/org/jboss/richfaces/integrationTest/dataFilterSlider/locators.properties 2010-01-15
12:12:19 UTC (rev 16303)
+++
branches/community/3.3.X/samples/richfaces-demo/functional-test/src/test/resources/org/jboss/richfaces/integrationTest/dataFilterSlider/locators.properties 2010-01-15
12:17:27 UTC (rev 16304)
@@ -1,7 +1,7 @@
FIELDSET_HEADER=jquery=fieldset > legend
-TABLE_ROWS=jquery=tr[class*=rich-table-row]
-TD_MILEAGE_PREFORMATTED=jquery\=tr.rich-table-row{0,choice,0\#|1\#\:nth-child({0})} >
td\:eq(3)
-TD_BRAND_PREFORMATTED=jquery\=tr.rich-table-row{0,choice,0\#|1\#\:nth-child({0})} >
td\:eq(0)
+TABLE_ROWS=jquery\=table[id$\=carList] tr.rich-table-row
+TD_MILEAGE_PREFORMATTED=jquery\=table[id$\=carList]
tr.rich-table-row{0,choice,0\#|1\#\:nth-child({0})} > td\:nth-child(4)
+TD_BRAND_PREFORMATTED=jquery\=table[id$\=carList]
tr.rich-table-row{0,choice,0\#|1\#\:nth-child({0})} > td\:nth-child(1)
LINK_BRAND_PREFORMATTED=jquery=td.column-index > a:textEquals({0})
INPUT_MAX_PRICE=jquery=input.rich-dataFilterSlider-input-field
DIV_SLIDER_HANDLE=jquery=div.rich-dataFilterSlider-handle
Show replies by date