Author: ppitonak(a)redhat.com
Date: 2010-12-21 11:20:59 -0500 (Tue, 21 Dec 2010)
New Revision: 20724
Modified:
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/AbstractTestTextInput.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/TestHSelectManyCheckbox.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richAccordion/TestRichAccordion.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richAccordionItem/TestRichAccordionItem.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richCalendar/AbstractCalendarTest.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richCollapsiblePanel/TestFacets.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richCollapsiblePanel/TestRichCollapsiblePanel.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richInplaceInput/TestRichInplaceInput.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richInputNumberSlider/TestRichSlider.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richInputNumberSpinner/TestRichSpinner.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richTab/TestRichTab.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richTabPanel/TestRichTabPanel.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richTogglePanel/TestRichTogglePanel.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richTogglePanelItem/TestRichTogglePanelItem.java
Log:
* cleanup and refactoring - removed unnecessary variables, renaming variables, removing
unnecessary imports
Modified:
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/AbstractTestTextInput.java
===================================================================
---
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/AbstractTestTextInput.java 2010-12-21
16:00:55 UTC (rev 20723)
+++
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/AbstractTestTextInput.java 2010-12-21
16:20:59 UTC (rev 20724)
@@ -61,7 +61,6 @@
}
public void testBypassUpdates(JQueryLocator input) {
- JQueryLocator time = jq("span[id$=requestTime]");
String timeValue = selenium.getText(time);
selenium.click(pjq("input[type=radio][name$=bypassUpdatesInput][value=true]"));
@@ -82,7 +81,6 @@
selenium.type(pjq("input[type=text][id$=oncompleteInput]"), "data
= event.data");
selenium.waitForPageToLoad();
- JQueryLocator time = jq("span[id$=requestTime]");
String timeValue = selenium.getText(time);
typeToInput(input, "RichFaces 4");
@@ -96,7 +94,6 @@
selenium.type(pjq("input[type=text][id$=executeInput]"), "@this
executeChecker");
selenium.waitForPageToLoad();
- JQueryLocator time = jq("span[id$=requestTime]");
String timeValue = selenium.getText(time);
typeToInput(input, "RichFaces 4");
waitGui.failWith("Page was not updated").waitForChange(timeValue,
retrieveText.locator(time));
@@ -112,7 +109,6 @@
}
public void testImmediate(JQueryLocator input) {
- JQueryLocator time = jq("span[id$=requestTime]");
String timeValue = selenium.getText(time);
selenium.click(pjq("input[type=radio][name$=immediateInput][value=true]"));
@@ -127,7 +123,6 @@
}
public void testImmediateBypassUpdates(JQueryLocator input) {
- JQueryLocator time = jq("span[id$=requestTime]");
String timeValue = selenium.getText(time);
selenium.click(pjq("input[type=radio][name$=bypassUpdatesInput][value=true]"));
@@ -146,7 +141,6 @@
selenium.click(pjq("input[type=radio][name$=limitRenderInput][value=true]"));
selenium.waitForPageToLoad();
- JQueryLocator time = jq("span[id$=requestTime]");
String timeValue = selenium.getText(time);
typeToInput(input, "RichFaces 4");
Modified:
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/TestHSelectManyCheckbox.java
===================================================================
---
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/TestHSelectManyCheckbox.java 2010-12-21
16:00:55 UTC (rev 20723)
+++
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/TestHSelectManyCheckbox.java 2010-12-21
16:20:59 UTC (rev 20724)
@@ -66,7 +66,6 @@
@Test
public void testBypassUpdates() {
- JQueryLocator time = jq("span[id$=requestTime]");
String timeValue = selenium.getText(time);
selenium.click(pjq("input[type=radio][name$=bypassUpdatesInput][value=true]"));
@@ -88,7 +87,6 @@
selenium.type(pjq("input[type=text][id$=oncompleteInput]"), "data
= event.data");
selenium.waitForPageToLoad();
- JQueryLocator time = jq("span[id$=requestTime]");
String timeValue = selenium.getText(time);
guardXhr(selenium).click(input);
@@ -103,7 +101,6 @@
selenium.type(pjq("input[type=text][id$=executeInput]"), "input
executeChecker");
selenium.waitForPageToLoad();
- JQueryLocator time = jq("span[id$=requestTime]");
String timeValue = selenium.getText(time);
guardXhr(selenium).click(input);
waitGui.failWith("Page was not updated").waitForChange(timeValue,
retrieveText.locator(time));
@@ -120,7 +117,6 @@
@Test
public void testImmediate() {
- JQueryLocator time = jq("span[id$=requestTime]");
String timeValue = selenium.getText(time);
selenium.click(pjq("input[type=radio][name$=immediateInput][value=true]"));
@@ -136,7 +132,6 @@
@Test
public void testImmediateBypassUpdates() {
- JQueryLocator time = jq("span[id$=requestTime]");
String timeValue = selenium.getText(time);
selenium.click(pjq("input[type=radio][name$=bypassUpdatesInput][value=true]"));
@@ -156,7 +151,6 @@
selenium.click(pjq("input[type=radio][name$=limitRenderInput][value=true]"));
selenium.waitForPageToLoad();
- JQueryLocator time = jq("span[id$=requestTime]");
String timeValue = selenium.getText(time);
guardXhr(selenium).click(input);
Modified:
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richAccordion/TestRichAccordion.java
===================================================================
---
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richAccordion/TestRichAccordion.java 2010-12-21
16:00:55 UTC (rev 20723)
+++
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richAccordion/TestRichAccordion.java 2010-12-21
16:20:59 UTC (rev 20724)
@@ -349,8 +349,6 @@
@Test
public void testItemchangeEvents() {
- JQueryLocator time = jq("span[id$=requestTime]");
-
selenium.type(pjq("input[type=text][id$=onbeforeitemchangeInput]"),
"metamerEvents += \"beforeitemchange \"");
selenium.waitForPageToLoad();
selenium.type(pjq("input[type=text][id$=onitemchangeInput]"),
"metamerEvents += \"itemchange \"");
@@ -376,18 +374,16 @@
@Test
@IssueTracking("https://issues.jboss.org/browse/RF-9934")
public void testLimitRender() {
- JQueryLocator timeLoc = jq("span[id$=requestTime]");
-
selenium.click(pjq("input[type=radio][name$=limitRenderInput][value=true]"));
selenium.waitForPageToLoad();
- String time = selenium.getText(timeLoc);
+ String timeValue = selenium.getText(time);
guardXhr(selenium).click(inactiveHeaders[1]);
waitGui.failWith("Item 2 is not
displayed.").until(isDisplayed.locator(itemContents[1]));
- String newTime = selenium.getText(timeLoc);
- assertNotSame(newTime, time, "Panel with ajaxRendered=true should not be
rerendered.");
+ String newTime = selenium.getText(time);
+ assertNotSame(newTime, timeValue, "Panel with ajaxRendered=true should not
be rerendered.");
}
@Test
Modified:
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richAccordionItem/TestRichAccordionItem.java
===================================================================
---
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richAccordionItem/TestRichAccordionItem.java 2010-12-21
16:00:55 UTC (rev 20723)
+++
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richAccordionItem/TestRichAccordionItem.java 2010-12-21
16:20:59 UTC (rev 20724)
@@ -206,8 +206,6 @@
@Test
@IssueTracking("https://jira.jboss.org/browse/RF-9821")
public void testOnleave() {
- JQueryLocator time = jq("span[id$=requestTime]");
-
selenium.type(pjq("input[type=text][id$=onleaveInput]"),
"metamerEvents += \"leave \"");
selenium.waitForPageToLoad();
Modified:
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richCalendar/AbstractCalendarTest.java
===================================================================
---
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richCalendar/AbstractCalendarTest.java 2010-12-21
16:00:55 UTC (rev 20723)
+++
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richCalendar/AbstractCalendarTest.java 2010-12-21
16:20:59 UTC (rev 20724)
@@ -21,8 +21,6 @@
*******************************************************************************/
package org.richfaces.tests.metamer.ftest.richCalendar;
-import static org.jboss.test.selenium.locator.LocatorFactory.jq;
-
import org.jboss.test.selenium.locator.JQueryLocator;
import org.richfaces.tests.metamer.ftest.AbstractMetamerTest;
@@ -90,5 +88,4 @@
protected JQueryLocator cancelButton = pjq("td.rf-ca-time-layout-cancel >
div");
protected JQueryLocator output = pjq("span[id$=output]");
- JQueryLocator time = jq("span[id$=requestTime]");
}
Modified:
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richCollapsiblePanel/TestFacets.java
===================================================================
---
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richCollapsiblePanel/TestFacets.java 2010-12-21
16:00:55 UTC (rev 20723)
+++
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richCollapsiblePanel/TestFacets.java 2010-12-21
16:20:59 UTC (rev 20724)
@@ -24,20 +24,15 @@
import static org.jboss.test.selenium.guard.request.RequestTypeGuardFactory.guardHttp;
import static
org.jboss.test.selenium.guard.request.RequestTypeGuardFactory.guardNoRequest;
import static org.jboss.test.selenium.guard.request.RequestTypeGuardFactory.guardXhr;
-import static org.jboss.test.selenium.locator.LocatorFactory.jq;
import static org.jboss.test.selenium.utils.URLUtils.buildUrl;
import static org.testng.Assert.assertEquals;
import static org.testng.Assert.assertFalse;
import static org.testng.Assert.assertTrue;
-import static org.testng.Assert.assertNotSame;
import java.net.URL;
-import javax.faces.event.PhaseId;
-
import org.jboss.test.selenium.locator.JQueryLocator;
import org.richfaces.tests.metamer.ftest.AbstractMetamerTest;
-import org.richfaces.tests.metamer.ftest.annotations.IssueTracking;
import org.testng.annotations.Test;
/**
@@ -53,8 +48,7 @@
private JQueryLocator headerExp = pjq("div[id$=collapsiblePanel:header]
div.rf-cp-hdr-exp");
private JQueryLocator headerColps = pjq("div[id$=collapsiblePanel:header]
div.rf-cp-hdr-colps");
private JQueryLocator content = pjq("div[id$=collapsiblePanel:content]");
- private JQueryLocator time = jq("span[id$=requestTime]");
-
+
@Override
public URL getTestUrl() {
return buildUrl(contextPath,
"faces/components/richCollapsiblePanel/facets.xhtml");
Modified:
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richCollapsiblePanel/TestRichCollapsiblePanel.java
===================================================================
---
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richCollapsiblePanel/TestRichCollapsiblePanel.java 2010-12-21
16:00:55 UTC (rev 20723)
+++
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richCollapsiblePanel/TestRichCollapsiblePanel.java 2010-12-21
16:20:59 UTC (rev 20724)
@@ -52,8 +52,7 @@
private JQueryLocator headerExp = pjq("div[id$=collapsiblePanel:header]
div.rf-cp-hdr-exp");
private JQueryLocator headerColps = pjq("div[id$=collapsiblePanel:header]
div.rf-cp-hdr-colps");
private JQueryLocator content = pjq("div[id$=collapsiblePanel:content]");
- private JQueryLocator time = jq("span[id$=requestTime]");
-
+
@Override
public URL getTestUrl() {
return buildUrl(contextPath,
"faces/components/richCollapsiblePanel/simple.xhtml");
@@ -163,20 +162,18 @@
@Test
@IssueTracking("https://jira.jboss.org/browse/RF-9535")
public void testLimitRender() {
- JQueryLocator timeLoc = jq("span[id$=requestTime]");
-
selenium.type(pjq("input[type=text][id$=renderInput]"),
"@this");
selenium.waitForPageToLoad();
selenium.click(pjq("input[type=radio][name$=limitRenderInput][value=true]"));
selenium.waitForPageToLoad();
- String timeValue = selenium.getText(timeLoc);
+ String timeValue = selenium.getText(time);
guardXhr(selenium).click(header);
waitGui.failWith("Panel should be
collapsed.").until(isDisplayed.locator(headerColps));
- String newTime = selenium.getText(timeLoc);
+ String newTime = selenium.getText(time);
assertTrue(newTime.equals(timeValue), "Panel with ajaxRendered=true should
not be rerendered (old and new time should be same).");
}
Modified:
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richInplaceInput/TestRichInplaceInput.java
===================================================================
---
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richInplaceInput/TestRichInplaceInput.java 2010-12-21
16:00:55 UTC (rev 20723)
+++
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richInplaceInput/TestRichInplaceInput.java 2010-12-21
16:20:59 UTC (rev 20724)
@@ -56,7 +56,6 @@
private JQueryLocator okButton = pjq("input.rf-ii-btn[id$=Okbtn]");
private JQueryLocator cancelButton =
pjq("input.rf-ii-btn[id$=Cancelbtn]");
private JQueryLocator output = pjq("span[id$=output]");
- private JQueryLocator time = jq("span[id$=requestTime]");
@Override
public URL getTestUrl() {
Modified:
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richInputNumberSlider/TestRichSlider.java
===================================================================
---
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richInputNumberSlider/TestRichSlider.java 2010-12-21
16:00:55 UTC (rev 20723)
+++
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richInputNumberSlider/TestRichSlider.java 2010-12-21
16:20:59 UTC (rev 20724)
@@ -28,7 +28,6 @@
import static org.jboss.test.selenium.utils.URLUtils.buildUrl;
import static org.testng.Assert.assertEquals;
import static org.testng.Assert.assertFalse;
-import static org.testng.Assert.assertNotSame;
import static org.testng.Assert.assertTrue;
import static org.testng.Assert.fail;
@@ -73,7 +72,6 @@
private JQueryLocator handle = pjq("span.rf-insl-hnd");
private JQueryLocator tooltip = pjq("span.rf-insl-tt");
private JQueryLocator output = pjq("span[id$=output]");
- private JQueryLocator time = jq("span[id$=requestTime]");
private String[] correctNumbers = {"-10", "-5", "-1",
"0", "1", "5", "10"};
private String[] smallNumbers = {"-11", "-15",
"-100"};
private String[] bigNumbers = {"11", "15", "100"};
Modified:
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richInputNumberSpinner/TestRichSpinner.java
===================================================================
---
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richInputNumberSpinner/TestRichSpinner.java 2010-12-21
16:00:55 UTC (rev 20723)
+++
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richInputNumberSpinner/TestRichSpinner.java 2010-12-21
16:20:59 UTC (rev 20724)
@@ -58,7 +58,6 @@
private JQueryLocator up = pjq("span[id$=spinner] span.rf-insp-inc");
private JQueryLocator down = pjq("span[id$=spinner] span.rf-insp-dec");
private JQueryLocator output = pjq("span[id$=output]");
- private JQueryLocator time = jq("span[id$=requestTime]");
private String[] correctNumbers = {"-10", "-5", "-1",
"0", "1", "5", "10"};
private String[] smallNumbers = {"-11", "-15",
"-100"};
private String[] bigNumbers = {"11", "15", "100"};
Modified:
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richTab/TestRichTab.java
===================================================================
---
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richTab/TestRichTab.java 2010-12-21
16:00:55 UTC (rev 20723)
+++
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richTab/TestRichTab.java 2010-12-21
16:20:59 UTC (rev 20724)
@@ -247,8 +247,6 @@
@Test
@IssueTracking("https://jira.jboss.org/browse/RF-9537")
public void testOnenter() {
- JQueryLocator time = jq("span[id$=requestTime]");
-
selenium.type(pjq("input[type=text][id$=onenterInput]"),
"metamerEvents += \"enter \"");
selenium.waitForPageToLoad();
@@ -293,8 +291,6 @@
@Test
@IssueTracking("https://jira.jboss.org/browse/RF-9537")
public void testOnleave() {
- JQueryLocator time = jq("span[id$=requestTime]");
-
selenium.type(pjq("input[type=text][id$=onleaveInput]"),
"metamerEvents += \"leave \"");
selenium.waitForPageToLoad();
Modified:
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richTabPanel/TestRichTabPanel.java
===================================================================
---
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richTabPanel/TestRichTabPanel.java 2010-12-21
16:00:55 UTC (rev 20723)
+++
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richTabPanel/TestRichTabPanel.java 2010-12-21
16:20:59 UTC (rev 20724)
@@ -286,21 +286,19 @@
@Test
@IssueTracking("https://jira.jboss.org/browse/RF-9535")
public void testLimitRender() {
- JQueryLocator timeLoc = jq("span[id$=requestTime]");
-
selenium.type(pjq("input[type=text][id$=renderInput]"),
"@this");
selenium.waitForPageToLoad();
selenium.click(pjq("input[type=radio][name$=limitRenderInput][value=true]"));
selenium.waitForPageToLoad();
- String time = selenium.getText(timeLoc);
+ String timeValue = selenium.getText(time);
guardXhr(selenium).click(inactiveHeaders[1]);
waitGui.failWith("Tab 2 is not
displayed.").until(isDisplayed.locator(itemContents[1]));
- String newTime = selenium.getText(timeLoc);
- assertNotSame(newTime, time, "Panel with ajaxRendered=true should not be
rerendered.");
+ String newTimeValue = selenium.getText(time);
+ assertNotSame(newTimeValue, timeValue, "Panel with ajaxRendered=true should
not be rerendered.");
}
@Test
@@ -316,8 +314,6 @@
@Test
public void testItemchangeEvents() {
- JQueryLocator time = jq("span[id$=requestTime]");
-
selenium.type(pjq("input[type=text][id$=onbeforeitemchangeInput]"),
"metamerEvents += \"beforeitemchange \"");
selenium.waitForPageToLoad();
selenium.type(pjq("input[type=text][id$=onitemchangeInput]"),
"metamerEvents += \"itemchange \"");
Modified:
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richTogglePanel/TestRichTogglePanel.java
===================================================================
---
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richTogglePanel/TestRichTogglePanel.java 2010-12-21
16:00:55 UTC (rev 20723)
+++
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richTogglePanel/TestRichTogglePanel.java 2010-12-21
16:20:59 UTC (rev 20724)
@@ -350,18 +350,16 @@
@Test
@IssueTracking("https://jira.jboss.org/browse/RF-9881")
public void testLimitRender() {
- JQueryLocator timeLoc = jq("span[id$=requestTime]");
-
selenium.click(pjq("input[type=radio][name$=limitRenderInput][value=true]"));
selenium.waitForPageToLoad();
- String time = selenium.getText(timeLoc);
+ String timeValue = selenium.getText(time);
guardXhr(selenium).click(tc2);
waitGui.failWith("Item 2 is not
displayed.").until(isDisplayed.locator(item2));
- String newTime = selenium.getText(timeLoc);
- assertEquals(newTime, time, "Panel with ajaxRendered=true should not be
rerendered.");
+ String newTimeValue = selenium.getText(time);
+ assertEquals(newTimeValue, timeValue, "Panel with ajaxRendered=true should
not be rerendered.");
}
@Test
@@ -377,8 +375,6 @@
@Test
public void testItemchangeEvents() {
- JQueryLocator time = jq("span[id$=requestTime]");
-
selenium.type(pjq("input[type=text][id$=onbeforeitemchangeInput]"),
"metamerEvents += \"beforeitemchange \"");
selenium.waitForPageToLoad();
selenium.type(pjq("input[type=text][id$=onitemchangeInput]"),
"metamerEvents += \"itemchange \"");
Modified:
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richTogglePanelItem/TestRichTogglePanelItem.java
===================================================================
---
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richTogglePanelItem/TestRichTogglePanelItem.java 2010-12-21
16:00:55 UTC (rev 20723)
+++
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richTogglePanelItem/TestRichTogglePanelItem.java 2010-12-21
16:20:59 UTC (rev 20724)
@@ -106,8 +106,6 @@
@Test
@IssueTracking("https://jira.jboss.org/browse/RF-9895")
public void testOnenter() {
- JQueryLocator time = jq("span[id$=requestTime]");
-
selenium.type(pjq("input[type=text][id$=onenterInput]"),
"metamerEvents += \"enter \"");
selenium.waitForPageToLoad();
@@ -128,8 +126,6 @@
@Test
@IssueTracking("https://jira.jboss.org/browse/RF-9895")
public void testOnleave() {
- JQueryLocator time = jq("span[id$=requestTime]");
-
selenium.type(pjq("input[type=text][id$=onleaveInput]"),
"metamerEvents += \"leave \"");
selenium.waitForPageToLoad();