Author: ppitonak(a)redhat.com
Date: 2011-11-18 07:05:03 -0500 (Fri, 18 Nov 2011)
New Revision: 22960
Modified:
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/model/OrderingList.java
Log:
8 tests for ordering list fixed
Modified:
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/model/OrderingList.java
===================================================================
---
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/model/OrderingList.java 2011-11-18
11:33:41 UTC (rev 22959)
+++
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/model/OrderingList.java 2011-11-18
12:05:03 UTC (rev 22960)
@@ -84,7 +84,7 @@
throw new IndexOutOfBoundsException("The index of column <" +
indexColumn + "> is out of the range [0, "
+ getNumberOfColumns() + "]");
}
- return jq(getItem(indexItem).getRawLocator() + " > .rf-ord-cell:eq("
+ indexColumn + ")");
+ return jq(getItem(indexItem).getRawLocator() + " > .rf-ord-c:eq(" +
indexColumn + ")");
}
public String getItemColumnValue(int indexItem, int indexColumn) {
@@ -105,7 +105,7 @@
public int getNumberOfColumns() {
if (numberOfColumns == -1) {
- numberOfColumns = selenium.getCount(jq(getItem(0).getRawLocator() + "
> .rf-ord-cell"));
+ numberOfColumns = selenium.getCount(jq(getItem(0).getRawLocator() + "
> .rf-ord-c"));
}
return numberOfColumns;
}
Show replies by date