[seam-commits] Seam SVN: r9479 - in trunk/src/test/ftest/examples: dvdstore/src/org/jboss/seam/example/dvd/test/selenium and 6 other directories.
seam-commits at lists.jboss.org
seam-commits at lists.jboss.org
Mon Nov 3 07:48:57 EST 2008
Author: jharting
Date: 2008-11-03 07:48:57 -0500 (Mon, 03 Nov 2008)
New Revision: 9479
Modified:
trunk/src/test/ftest/examples/booking/src/org/jboss/seam/example/booking/test/selenium/booking.properties
trunk/src/test/ftest/examples/dvdstore/src/org/jboss/seam/example/dvd/test/selenium/dvd.properties
trunk/src/test/ftest/examples/groovybooking/src/org/jboss/seam/example/groovybooking/test/selenium/groovybooking.properties
trunk/src/test/ftest/examples/hibernate/src/org/jboss/seam/example/hibernate/test/selenium/hibernate.properties
trunk/src/test/ftest/examples/icefaces/src/org/jboss/seam/example/icefaces/test/selenium/icefaces.properties
trunk/src/test/ftest/examples/jpa/src/org/jboss/seam/example/jpa/test/selenium/jpa.properties
trunk/src/test/ftest/examples/nestedbooking/src/org/jboss/seam/example/nestedbooking/test/selenium/nestedbooking.properties
trunk/src/test/ftest/examples/spring/src/org/jboss/seam/example/spring/test/selenium/spring.properties
Log:
fixed getXpathCount() problem with new version of selenium server
Modified: trunk/src/test/ftest/examples/booking/src/org/jboss/seam/example/booking/test/selenium/booking.properties
===================================================================
--- trunk/src/test/ftest/examples/booking/src/org/jboss/seam/example/booking/test/selenium/booking.properties 2008-11-03 08:35:03 UTC (rev 9478)
+++ trunk/src/test/ftest/examples/booking/src/org/jboss/seam/example/booking/test/selenium/booking.properties 2008-11-03 12:48:57 UTC (rev 9479)
@@ -80,5 +80,5 @@
WORKSPACE_BOOKING_TEXT Book hotel: {0}
WORKSPACE_VIEW_TEXT View hotel: {0}
WORKSPACE_TABLE_LINK_BY_ID id=ConversationListForm:ConversationListDataTable:{0}:EntryDescriptionLink
-WORKSPACE_TABLE_ROW_COUNT = xpath=//table[@id='ConversationListForm:ConversationListDataTable']/tbody/tr
+WORKSPACE_TABLE_ROW_COUNT = //table[@id='ConversationListForm:ConversationListDataTable']/tbody/tr
SPINNER id\=searchCriteria\:SpinnerGif
\ No newline at end of file
Modified: trunk/src/test/ftest/examples/dvdstore/src/org/jboss/seam/example/dvd/test/selenium/dvd.properties
===================================================================
--- trunk/src/test/ftest/examples/dvdstore/src/org/jboss/seam/example/dvd/test/selenium/dvd.properties 2008-11-03 08:35:03 UTC (rev 9478)
+++ trunk/src/test/ftest/examples/dvdstore/src/org/jboss/seam/example/dvd/test/selenium/dvd.properties 2008-11-03 12:48:57 UTC (rev 9479)
@@ -47,7 +47,7 @@
REGISTRATION_CONFIRMATION_MESSAGE Registered new customer {0}
REGISTRATION_CARD_TYPE_SELECT id=NewAccountForm:CreditCardMenu
REGISTRATION_CARD_NUMBER id=NewAccountForm:creditCard
-REGISTRATION_LENGTH_MESSAGE xpath=//*[contains(normalize-space(text()), 'length must be between')]
+REGISTRATION_LENGTH_MESSAGE //*[contains(normalize-space(text()), 'length must be between')]
REGISTRATION_VERIFY_MESSAGE xpath=//*[normalize-space(text()) = 'passwordVerify']
REGISTRATION_DUPLICATE_USER_MESSAGE xpath=//*[normalize-space(text()) = 'userName']
LOGIN_USERNAME id=LoginForm:Username
@@ -58,14 +58,14 @@
CART id=Cart
SEARCH_FIELD id=SearchForm:Query
SEARCH_SUBMIT id=SearchForm:Search
-SEARCH_RESULT_ITEM xpath=//table[@id='SearchResultsForm:SearchResultsTable']/tbody/tr
+SEARCH_RESULT_ITEM //table[@id='SearchResultsForm:SearchResultsTable']/tbody/tr
SEARCH_RESULT_FIRST_ROW_LINK id=SearchResultsForm:SearchResultsTable:0:TitleLink
SEARCH_RESULT_FIRST_ROW_CHECKBOX id=SearchResultsForm:SearchResultsTable:0:AddToCartCheckbox
SEARCH_RESULT_UPDATE_BUTTON id=SearchResultsForm:SearchUpdateButton
CART_TABLE_ROW_BY_NAME xpath\=//table[@id\="cartdetails\:CartDetailsForm\:CartItemsTable"]/tbody/tr[normalize-space(td[2]//text()) \= "{0}"]
CART_TABLE_CHECKBOX_BY_NAME xpath\=//table[@id\="cartdetails\:CartDetailsForm\:CartItemsTable"]/tbody/tr[normalize-space(td[2]//text()) \= "{0}"]/td[1]/input
CART_TABLE_UPDATE_BUTTON id=cartdetails:CartDetailsForm:UpdateCartButton
-CART_TABLE_ITEM xpath=//table[@id='cartdetails:CartDetailsForm:CartItemsTable']/tbody/tr
+CART_TABLE_ITEM //table[@id='cartdetails:CartDetailsForm:CartItemsTable']/tbody/tr
CART_TABLE_QUANTITY_BY_ID id=cartdetails:CartDetailsForm:CartItemsTable:{0}:QuantityValueText
CART_TABLE_PRICE_BY_ID id=cartdetails:CartDetailsForm:CartItemsTable:{0}:PriceValueText
CART_TABLE_FIRST_ROW_QUANTITY id=cartdetails:CartDetailsForm:CartItemsTable:0:QuantityValueText
Modified: trunk/src/test/ftest/examples/groovybooking/src/org/jboss/seam/example/groovybooking/test/selenium/groovybooking.properties
===================================================================
--- trunk/src/test/ftest/examples/groovybooking/src/org/jboss/seam/example/groovybooking/test/selenium/groovybooking.properties 2008-11-03 08:35:03 UTC (rev 9478)
+++ trunk/src/test/ftest/examples/groovybooking/src/org/jboss/seam/example/groovybooking/test/selenium/groovybooking.properties 2008-11-03 12:48:57 UTC (rev 9479)
@@ -28,7 +28,7 @@
LOGOUT id=logout
PASSWORD_UPDATED_MESSAGE Password updated
PASSWORD_REENTER_MESSAGE verify
-PASSWORD_VALUE_REQUIRED_MESSAGE xpath=//*[@id='setpassword:Message']
+PASSWORD_VALUE_REQUIRED_MESSAGE //*[@id\='setpassword\:Message']
PASSWORD_LENGTH_MESSAGE length must be between
PASSWORD_PASSWORD id=setpassword:PasswordDecorate:password
PASSWORD_VERIFY id=setpassword:VerifyDecorate:verify
@@ -80,5 +80,5 @@
WORKSPACE_BOOKING_TEXT Book hotel: {0}
WORKSPACE_VIEW_TEXT View hotel: {0}
WORKSPACE_TABLE_LINK_BY_ID id=ConversationListForm:ConversationListDataTable:{0}:EntryDescriptionLink
-WORKSPACE_TABLE_ROW_COUNT = xpath=//table[@id='ConversationListForm:ConversationListDataTable']/tbody/tr
+WORKSPACE_TABLE_ROW_COUNT = //table[@id\='ConversationListForm\:ConversationListDataTable']/tbody/tr
SPINNER id\=main\:Spinner
\ No newline at end of file
Modified: trunk/src/test/ftest/examples/hibernate/src/org/jboss/seam/example/hibernate/test/selenium/hibernate.properties
===================================================================
--- trunk/src/test/ftest/examples/hibernate/src/org/jboss/seam/example/hibernate/test/selenium/hibernate.properties 2008-11-03 08:35:03 UTC (rev 9478)
+++ trunk/src/test/ftest/examples/hibernate/src/org/jboss/seam/example/hibernate/test/selenium/hibernate.properties 2008-11-03 12:48:57 UTC (rev 9479)
@@ -28,7 +28,7 @@
LOGOUT id=logout
PASSWORD_UPDATED_MESSAGE Password updated
PASSWORD_REENTER_MESSAGE verify
-PASSWORD_VALUE_REQUIRED_MESSAGE xpath=//*[@id='setpassword:Message']
+PASSWORD_VALUE_REQUIRED_MESSAGE //*[@id='setpassword:Message']
PASSWORD_LENGTH_MESSAGE length must be between
PASSWORD_PASSWORD id=setpassword:PasswordDecorate:password
PASSWORD_VERIFY id=setpassword:VerifyDecorate:verify
@@ -80,5 +80,5 @@
WORKSPACE_BOOKING_TEXT Book hotel: {0}
WORKSPACE_VIEW_TEXT View hotel: {0}
WORKSPACE_TABLE_LINK_BY_ID id=ConversationListForm:ConversationListDataTable:{0}:EntryDescriptionLink
-WORKSPACE_TABLE_ROW_COUNT = xpath=//table[@id='ConversationListForm:ConversationListDataTable']/tbody/tr
+WORKSPACE_TABLE_ROW_COUNT = //table[@id\='ConversationListForm\:ConversationListDataTable']/tbody/tr
SPINNER id\=main\:Spinner
\ No newline at end of file
Modified: trunk/src/test/ftest/examples/icefaces/src/org/jboss/seam/example/icefaces/test/selenium/icefaces.properties
===================================================================
--- trunk/src/test/ftest/examples/icefaces/src/org/jboss/seam/example/icefaces/test/selenium/icefaces.properties 2008-11-03 08:35:03 UTC (rev 9478)
+++ trunk/src/test/ftest/examples/icefaces/src/org/jboss/seam/example/icefaces/test/selenium/icefaces.properties 2008-11-03 12:48:57 UTC (rev 9479)
@@ -28,7 +28,7 @@
LOGOUT id=logout
PASSWORD_UPDATED_MESSAGE Password updated
PASSWORD_REENTER_MESSAGE verify
-PASSWORD_VALUE_REQUIRED_MESSAGE xpath=//*[@id='setpassword:Message']
+PASSWORD_VALUE_REQUIRED_MESSAGE //*[@id\='setpassword\:Message']
PASSWORD_LENGTH_MESSAGE length must be between
PASSWORD_PASSWORD id=setpassword:PasswordDecorate:password
PASSWORD_VERIFY id=setpassword:VerifyDecorate:verify
@@ -80,5 +80,5 @@
WORKSPACE_BOOKING_TEXT Book hotel: {0}
WORKSPACE_VIEW_TEXT View hotel: {0}
WORKSPACE_TABLE_LINK_BY_ID id=ConversationListForm:ConversationListDataTable:{0}:EntryDescriptionLink
-WORKSPACE_TABLE_ROW_COUNT = xpath=//table[@id='ConversationListForm:ConversationListDataTable']/tbody/tr
+WORKSPACE_TABLE_ROW_COUNT = //table[@id\='ConversationListForm\:ConversationListDataTable']/tbody/tr
SPINNER id\=searchCriteria\:Spinner\:connection-working
\ No newline at end of file
Modified: trunk/src/test/ftest/examples/jpa/src/org/jboss/seam/example/jpa/test/selenium/jpa.properties
===================================================================
--- trunk/src/test/ftest/examples/jpa/src/org/jboss/seam/example/jpa/test/selenium/jpa.properties 2008-11-03 08:35:03 UTC (rev 9478)
+++ trunk/src/test/ftest/examples/jpa/src/org/jboss/seam/example/jpa/test/selenium/jpa.properties 2008-11-03 12:48:57 UTC (rev 9479)
@@ -28,7 +28,7 @@
LOGOUT id=logout
PASSWORD_UPDATED_MESSAGE Password updated
PASSWORD_REENTER_MESSAGE verify
-PASSWORD_VALUE_REQUIRED_MESSAGE xpath=//*[@id='setpassword:Message']
+PASSWORD_VALUE_REQUIRED_MESSAGE //*[@id\='setpassword\:Message']
PASSWORD_LENGTH_MESSAGE length must be between
PASSWORD_PASSWORD id=setpassword:PasswordDecorate:password
PASSWORD_VERIFY id=setpassword:VerifyDecorate:verify
@@ -80,5 +80,5 @@
WORKSPACE_BOOKING_TEXT Book hotel: {0}
WORKSPACE_VIEW_TEXT View hotel: {0}
WORKSPACE_TABLE_LINK_BY_ID id=ConversationListForm:ConversationListDataTable:{0}:EntryDescriptionLink
-WORKSPACE_TABLE_ROW_COUNT = xpath=//table[@id='ConversationListForm:ConversationListDataTable']/tbody/tr
+WORKSPACE_TABLE_ROW_COUNT = //table[@id\='ConversationListForm\:ConversationListDataTable']/tbody/tr
SPINNER id\=main\:SpinnerGif
\ No newline at end of file
Modified: trunk/src/test/ftest/examples/nestedbooking/src/org/jboss/seam/example/nestedbooking/test/selenium/nestedbooking.properties
===================================================================
--- trunk/src/test/ftest/examples/nestedbooking/src/org/jboss/seam/example/nestedbooking/test/selenium/nestedbooking.properties 2008-11-03 08:35:03 UTC (rev 9478)
+++ trunk/src/test/ftest/examples/nestedbooking/src/org/jboss/seam/example/nestedbooking/test/selenium/nestedbooking.properties 2008-11-03 12:48:57 UTC (rev 9479)
@@ -41,6 +41,7 @@
SEARCH_RESULT_TABLE_FIRST_ROW_LINK id=hotels:0:viewHotel
BOOKING_BOOK id=hotel:bookHotel
BOOKING_CANCEL id=hotel:cancel
+BOOKING_SELECT_ROOM id=booking:room_preference
HOTEL_BED_FIELD id=booking:bedsDecorate:beds
HOTEL_BED_FIELD_SELECT_CRITERIA value=
HOTEL_CHECKIN_DATE_FIELD id=booking:checkinDateDecorate:checkinDateInputDate
@@ -48,12 +49,15 @@
HOTEL_CHECKOUT_DATE_FIELD id=booking:checkoutDateDecorate:checkoutDateInputDate
HOTEL_CHECKOUT_DATE_MESSAGE id=booking:checkoutDateDecorate:message
HOTEL_SMOKING id=booking:smokingDecorate:smoking:
-HOTEL_CREDIT_CARD id=booking:creditCardDecorate:creditCard
-HOTEL_CREDIT_CARD_NAME id=booking:creditCardNameDecorate:creditCardName
-HOTEL_PROCEED id=booking:proceed
+HOTEL_PROCEED id=booking:room_preference
HOTEL_CANCEL id=booking:cancel
HOTEL_CONFIRM id=confirm:confirm
-HOTEL_MESSAGE xpath=//ul[@id='messages']/li
+HOTEL_MESSAGE xpath=//ul[@id='main:messages']/li
+ROOM_LINK id=room_selections_form:rooms:{0}:selectRoomPreference
+PAYMENT_CREDIT_CARD id=payment:creditCardDecorate:creditCard
+PAYMENT_CREDIT_CARD_NAME id=payment:creditCardNameDecorate:creditCardName
+PAYMENT_PROCEED id=payment:proceed
+CONFIRM_CONFIRM id=confirm:buttonDecorate:confirm
REGISTRATION id=login:register
REGISTRATION_USERNAME id=register:usernameDecorate:username
REGISTRATION_USERNAME_MESSAGE id=register:usernameDecorate:message
@@ -79,5 +83,5 @@
WORKSPACE_BOOKING_TEXT Book hotel: {0}
WORKSPACE_VIEW_TEXT View hotel: {0}
WORKSPACE_TABLE_LINK_BY_ID id=ConversationListForm:ConversationListDataTable:{0}:EntryDescriptionLink
-WORKSPACE_TABLE_ROW_COUNT = xpath=//table[@id='ConversationListForm:ConversationListDataTable']/tbody/tr
+WORKSPACE_TABLE_ROW_COUNT = //table[@id\='ConversationListForm\:ConversationListDataTable']/tbody/tr
SPINNER id\=main\:SpinnerGif
\ No newline at end of file
Modified: trunk/src/test/ftest/examples/spring/src/org/jboss/seam/example/spring/test/selenium/spring.properties
===================================================================
--- trunk/src/test/ftest/examples/spring/src/org/jboss/seam/example/spring/test/selenium/spring.properties 2008-11-03 08:35:03 UTC (rev 9478)
+++ trunk/src/test/ftest/examples/spring/src/org/jboss/seam/example/spring/test/selenium/spring.properties 2008-11-03 12:48:57 UTC (rev 9479)
@@ -28,7 +28,7 @@
LOGOUT id=logout
PASSWORD_UPDATED_MESSAGE Password updated
PASSWORD_REENTER_MESSAGE Re-enter new password
-PASSWORD_VALUE_REQUIRED_MESSAGE xpath=//*[@id='setpassword:Message']
+PASSWORD_VALUE_REQUIRED_MESSAGE //*[@id\='setpassword\:Message']
PASSWORD_LENGTH_MESSAGE length must be between
PASSWORD_PASSWORD id=setpassword:PasswordDecorate:password
PASSWORD_VERIFY id=setpassword:VerifyDecorate:verify
@@ -80,7 +80,7 @@
WORKSPACE_BOOKING_TEXT Book hotel: {0}
WORKSPACE_VIEW_TEXT View hotel: {0}
WORKSPACE_TABLE_LINK_BY_ID id=ConversationListForm:ConversationListDataTable:{0}:EntryDescriptionLink
-WORKSPACE_TABLE_ROW_COUNT = xpath=//table[@id='ConversationListForm:ConversationListDataTable']/tbody/tr
+WORKSPACE_TABLE_ROW_COUNT = //table[@id\='ConversationListForm\:ConversationListDataTable']/tbody/tr
SPINNER id=main:Spinner
# ajax not present in spring example - false required
USE_AJAX_SEARCH FALSE
More information about the seam-commits
mailing list