Author: jpapouse
Date: 2011-10-14 09:28:30 -0400 (Fri, 14 Oct 2011)
New Revision: 22804
Modified:
modules/tests/metamer/trunk/application/src/main/webapp/components/richNotify/moreStacks.xhtml
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richNotify/TestRichNotifyMoreStacks.java
Log:
notify: fixed test for more stacks
Modified:
modules/tests/metamer/trunk/application/src/main/webapp/components/richNotify/moreStacks.xhtml
===================================================================
---
modules/tests/metamer/trunk/application/src/main/webapp/components/richNotify/moreStacks.xhtml 2011-10-14
12:28:11 UTC (rev 22803)
+++
modules/tests/metamer/trunk/application/src/main/webapp/components/richNotify/moreStacks.xhtml 2011-10-14
13:28:30 UTC (rev 22804)
@@ -27,40 +27,6 @@
-->
<ui:composition template="/templates/template.xhtml">
-
- <ui:define name="head">
-<!--
- <style>
- .topLeft {
- bottom: auto;
- left: 10px;
- top: 10px;
- right: auto;
- }
-
- .topRight {
- bottom: auto;
- right: 10px;
- top: 10px;
- left: auto;
- }
-
- .bottomLeft {
- bottom: 10px;
- left: 10px;
- top: auto;
- right: auto;
- }
-
- .bottomRight {
- bottom: 10px;
- right: 10px;
- top: auto;
- left: auto;
- }
- </style>
- -->
- </ui:define>
<ui:define name="component">
<h:form>
@@ -165,14 +131,15 @@
<h:outputLabel for="number1" value="Number for Stack 1
(from 5 to 10)"/>
<h:inputText id="number1" required="true">
<f:validateLongRange minimum="5"
maximum="10"/>
- <a4j:ajax event="change" execute="@form"/>
</h:inputText>
<br />
<h:outputLabel for="number2" value="Number for Stack 2
(from 5 to 10)"/>
<h:inputText id="number2" required="true">
<f:validateLongRange minimum="5"
maximum="10"/>
- <a4j:ajax event="change" execute="@form"/>
</h:inputText>
+ <br />
+ <h:commandButton action="@form" value="h:commandButton
Submit" id="hCommandButtonSubmit" />
+ <a4j:commandButton action="@form"
value="a4j:commandButton Submit" id="a4jCommandButtonSubmit" />
</h:form>
</ui:define>
Modified:
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richNotify/TestRichNotifyMoreStacks.java
===================================================================
---
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richNotify/TestRichNotifyMoreStacks.java 2011-10-14
12:28:11 UTC (rev 22803)
+++
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richNotify/TestRichNotifyMoreStacks.java 2011-10-14
13:28:30 UTC (rev 22804)
@@ -27,7 +27,6 @@
import static org.testng.Assert.assertEquals;
import java.net.URL;
-import org.jboss.test.selenium.dom.Event;
import org.jboss.test.selenium.locator.JQueryLocator;
import org.testng.annotations.Test;
@@ -63,11 +62,6 @@
* locator of the h:commnadButton submit
*/
private final JQueryLocator submitHCommandButton =
pjq("input[id$=hCommandButtonSubmit]");
-
- /**
- * locator of the a4j:commnadButton submit
- */
- private final JQueryLocator submitA4jCommandButton =
pjq("input[id$=a4jCommandButtonSubmit]");
@Override
public URL getTestUrl() {