Author: ppitonak(a)redhat.com
Date: 2011-01-21 10:48:44 -0500 (Fri, 21 Jan 2011)
New Revision: 21154
Modified:
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richToolbarGroup/TestRichToolbarGroup.java
Log:
* testLocation fixed
Modified:
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richToolbarGroup/TestRichToolbarGroup.java
===================================================================
---
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richToolbarGroup/TestRichToolbarGroup.java 2011-01-21
15:28:15 UTC (rev 21153)
+++
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richToolbarGroup/TestRichToolbarGroup.java 2011-01-21
15:48:44 UTC (rev 21154)
@@ -163,8 +163,8 @@
@Test
public void testLocation() {
- JQueryLocator emptyCellBefore =
toolbar.getDescendant(jq("td:not([class]):nth-child(1)"));
- JQueryLocator emptyCellAfter =
toolbar.getDescendant(jq("td:not([class]):nth-child(7)"));
+ JQueryLocator emptyCellBefore =
toolbar.getDescendant(jq("td.rf-tb-emp:nth-child(1)"));
+ JQueryLocator emptyCellAfter =
toolbar.getDescendant(jq("td.rf-tb-emp:nth-child(7)"));
assertFalse(selenium.isElementPresent(emptyCellBefore), "Toolbar group
should be located on the left.");
assertTrue(selenium.isElementPresent(emptyCellAfter), "Toolbar group should
be located on the left.");
Show replies by date