Author: mgencur(a)redhat.com
Date: 2009-09-18 06:35:21 -0400 (Fri, 18 Sep 2009)
New Revision: 11499
Modified:
branches/enterprise/JBPAPP_4_3_FP01/src/test/ftest/examples/dvdstore/build.xml
branches/enterprise/JBPAPP_4_3_FP01/src/test/ftest/examples/seambay/src/org/jboss/seam/example/seambay/test/selenium/SellTest.java
branches/enterprise/JBPAPP_4_3_FP01/src/test/ftest/examples/seambay/src/org/jboss/seam/example/seambay/test/selenium/seambay.properties
Log:
JBPAPP-2829 Seambays joystick selling test changed and dvdstore build file updated
Modified: branches/enterprise/JBPAPP_4_3_FP01/src/test/ftest/examples/dvdstore/build.xml
===================================================================
---
branches/enterprise/JBPAPP_4_3_FP01/src/test/ftest/examples/dvdstore/build.xml 2009-09-17
10:30:21 UTC (rev 11498)
+++
branches/enterprise/JBPAPP_4_3_FP01/src/test/ftest/examples/dvdstore/build.xml 2009-09-18
10:35:21 UTC (rev 11499)
@@ -22,7 +22,7 @@
-->
<project name="dvdstore.ftest.build" basedir="."
default="build">
<property name="example.name" value="dvdstore" />
- <property name="jboss.example.ready.check.url"
value="seam-dvdstore/search.seam" />
+ <property name="jboss.example.ready.check.url"
value="seam-dvd/search.seam" />
<import file="../build.xml" />
Modified:
branches/enterprise/JBPAPP_4_3_FP01/src/test/ftest/examples/seambay/src/org/jboss/seam/example/seambay/test/selenium/SellTest.java
===================================================================
---
branches/enterprise/JBPAPP_4_3_FP01/src/test/ftest/examples/seambay/src/org/jboss/seam/example/seambay/test/selenium/SellTest.java 2009-09-17
10:30:21 UTC (rev 11498)
+++
branches/enterprise/JBPAPP_4_3_FP01/src/test/ftest/examples/seambay/src/org/jboss/seam/example/seambay/test/selenium/SellTest.java 2009-09-18
10:35:21 UTC (rev 11499)
@@ -76,7 +76,7 @@
@Override
public boolean until()
{
- return
browser.isElementPresent(getProperty("SELL_CATEGORY_SELECT"));
+ return
browser.isElementPresent(getProperty("SELL_CATEGORY_SELECT_SECOND_OPTION"));
}
};
browser.select(getProperty("SELL_CATEGORY_SELECT"), "index=" +
category);
Modified:
branches/enterprise/JBPAPP_4_3_FP01/src/test/ftest/examples/seambay/src/org/jboss/seam/example/seambay/test/selenium/seambay.properties
===================================================================
---
branches/enterprise/JBPAPP_4_3_FP01/src/test/ftest/examples/seambay/src/org/jboss/seam/example/seambay/test/selenium/seambay.properties 2009-09-17
10:30:21 UTC (rev 11498)
+++
branches/enterprise/JBPAPP_4_3_FP01/src/test/ftest/examples/seambay/src/org/jboss/seam/example/seambay/test/selenium/seambay.properties 2009-09-18
10:35:21 UTC (rev 11499)
@@ -34,6 +34,7 @@
SELL_NEXT id=sellForm:next
SELL_CONFIRM id=sellForm:confirm
SELL_CATEGORY_SELECT id=rootCategory
+SELL_CATEGORY_SELECT_SECOND_OPTION xpath\=id("rootCategory")/option[14] \#
availability of second option indicates that category list has been loaded (2)
SELL_SUBCATEGORY_SELECT id\=tier2
SEARCH_FIELD id=search:searchTerm
@@ -52,4 +53,4 @@
BID_HISTORY_COUNT //table[@id='history']/tbody/tr
BID_OUTBID id=outbid
BID_HIGH_BIDDER id\=highBidder
-BID_HISTORY_BACK id\=back
\ No newline at end of file
+BID_HISTORY_BACK id\=back
Show replies by date