Author: lfryc(a)redhat.com
Date: 2010-12-21 13:21:57 -0500 (Tue, 21 Dec 2010)
New Revision: 20728
Modified:
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/model/DataTable.java
Log:
fixed DataTable locators
Modified:
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/model/DataTable.java
===================================================================
---
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/model/DataTable.java 2010-12-21
17:00:47 UTC (rev 20727)
+++
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/model/DataTable.java 2010-12-21
18:21:57 UTC (rev 20728)
@@ -38,18 +38,18 @@
AjaxSelenium selenium = AjaxSeleniumProxy.getInstance();
- ReferencedLocator<JQueryLocator> tbody = ref(root, ">
tbody.rf-dt");
+ ReferencedLocator<JQueryLocator> tbody = ref(root, ">
tbody.rf-dt-b");
ReferencedLocator<JQueryLocator> firstColumnRows = ref(tbody, "> tr
> td.rf-dt-c:nth-child(1)");
ReferencedLocator<JQueryLocator> firstRowColumns = ref(tbody, ">
tr:eq(0) > td.rf-dt-c");
- ReferencedLocator<JQueryLocator> noData = ref(tbody, "> tr >
td.rf-dt-ndt");
+ ReferencedLocator<JQueryLocator> noData = ref(tbody, "> tr.rf-dt-nd
> td.rf-dt-nd-c");
ReferencedLocator<JQueryLocator> columns = ref(tbody, "> tr");
JQueryLocator columnToElement = jq("td.rf-dt-c");
- ReferencedLocator<JQueryLocator> thead = ref(root, ">
thead.rf-dt-thead");
+ ReferencedLocator<JQueryLocator> thead = ref(root, ">
thead.rf-dt-thd");
ReferencedLocator<JQueryLocator> tableHeader = ref(thead, ">
tr.rf-dt-hdr > th.rf-dt-hdr-c");
ReferencedLocator<JQueryLocator> columnHeader = ref(thead, ">
tr.rf-dt-shdr > th.rf-dt-shdr-c");
- ReferencedLocator<JQueryLocator> columnFooter = ref(root, ">
tfoot.rd-dt-tfoot > tr.rf-dt-sftr > td.rf-dt-sftr-c");
+ ReferencedLocator<JQueryLocator> columnFooter = ref(root, ">
tfoot.rf-dt-tft > tr.rf-dt-sftr > td.rf-dt-sftr-c");
public DataTable(JQueryLocator root) {
super(root);