Author: ppitonak(a)redhat.com
Date: 2010-12-20 08:23:47 -0500 (Mon, 20 Dec 2010)
New Revision: 20685
Modified:
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichTabPanelBean.java
modules/tests/metamer/trunk/application/src/main/webapp/components/richTabPanel/simple.xhtml
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richTabPanel/TestRichTabPanel.java
Log:
* fixed tests for rich:tabPanel
Modified:
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichTabPanelBean.java
===================================================================
---
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichTabPanelBean.java 2010-12-20
12:53:38 UTC (rev 20684)
+++
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichTabPanelBean.java 2010-12-20
13:23:47 UTC (rev 20685)
@@ -61,6 +61,7 @@
// TODO has to be tested in another way
attributes.remove("converter");
+ attributes.remove("itemChangeListener");
}
public Attributes getAttributes() {
Modified:
modules/tests/metamer/trunk/application/src/main/webapp/components/richTabPanel/simple.xhtml
===================================================================
---
modules/tests/metamer/trunk/application/src/main/webapp/components/richTabPanel/simple.xhtml 2010-12-20
12:53:38 UTC (rev 20684)
+++
modules/tests/metamer/trunk/application/src/main/webapp/components/richTabPanel/simple.xhtml 2010-12-20
13:23:47 UTC (rev 20685)
@@ -69,6 +69,7 @@
styleClass="#{richTabPanelBean.attributes['styleClass'].value}"
switchType="#{richTabPanelBean.attributes['switchType'].value}"
tabContentClass="#{richTabPanelBean.attributes['tabContentClass'].value}"
+
title="#{richTabPanelBean.attributes['title'].value}"
<rich:tab id="tab1" name="tab1" header="tab1
header">
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-20
12:53:38 UTC (rev 20684)
+++
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richTabPanel/TestRichTabPanel.java 2010-12-20
13:23:47 UTC (rev 20685)
@@ -132,6 +132,7 @@
}
@Test
+ @IssueTracking("https://issues.jboss.org/browse/RF-10040")
public void testSwitchTypeServer() {
JQueryLocator selectOption =
pjq("input[name$=switchTypeInput][value=server]");
selenium.click(selectOption);
@@ -145,6 +146,7 @@
}
@Test
+ @IssueTracking("https://issues.jboss.org/browse/RF-10054")
public void testBypassUpdates() {
JQueryLocator input =
pjq("input[type=radio][name$=bypassUpdatesInput][value=true]");
selenium.click(input);
@@ -189,6 +191,7 @@
}
@Test
+ @IssueTracking("https://issues.jboss.org/browse/RF-10054")
public void testImmediate() {
JQueryLocator input =
pjq("input[type=radio][name$=immediateInput][value=true]");
selenium.click(input);
@@ -207,13 +210,13 @@
@Test
@IssueTracking("https://jira.jboss.org/browse/RF-9535")
- public void testLimitToList() {
+ 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$=limitToListInput][value=true]"));
+
selenium.click(pjq("input[type=radio][name$=limitRenderInput][value=true]"));
selenium.waitForPageToLoad();
String time = selenium.getText(timeLoc);