Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Environmental changes:

 PHPunit 3.6.10 ver. with PHPUnit Selenium extension 1.2.6 ver. now officially supported only.
 1. Updated architecture
     a. Uimaps inheritance
     b. Helpers inheritance
     c. Codepool and namespaces
 3. Uimap blocks including
 4. Crash recovery
 5. External observers
 6. Behat support
 7. Improved data load logic
 8. Client OS detection
 9. Improved screenshots functionality
 10. CE 1.7 compatible suite.
  • Loading branch information...
commit 2ef06b82da50254ac6a3f420fb10b9a33155e277 1 parent 888da24
@MTAF MTAF authored Artem Dvornichenko committed
Showing with 12,939 additions and 12,004 deletions.
  1. +2 −2 .gitignore
  2. BIN  MagentoTestAutomationFrameworkInstallationGuide.pdf
  3. BIN  MagentoTestAutomationFrameworkUsersGuide.pdf
  4. +12 −4 bootstrap.php
  5. +94 −45 config/config.yml.dist
  6. +0 −583 data/MultipleAddressCheckout.yml
  7. +3 −3 { → fixture/default/core/Mage/AdminUser}/data/AdminUsers.yml
  8. +14 −17 {uimaps → fixture/default/core/Mage/AdminUser/uimap}/admin/AdminUsers.yml
  9. 0  { → fixture/default/core/Mage/AttributeSet}/data/AttributeSet.yml
  10. +5 −2 {uimaps → fixture/default/core/Mage/AttributeSet/uimap}/admin/AttributeSet.yml
  11. +1 −1  ...in/BillingAgreements.yml → fixture/default/core/Mage/BillingAgreement/uimap/admin/BillingAgreement.yml
  12. +4 −4 {uimaps → fixture/default/core/Mage/CacheStorageManagement/uimap}/admin/CacheStorageManagement.yml
  13. +100 −0 fixture/default/core/Mage/CatalogPriceRule/data/CatalogPriceRule.yml
  14. +7 −5 ...in/CatalogPriceRules.yml → fixture/default/core/Mage/CatalogPriceRule/uimap/admin/CatalogPriceRule.yml
  15. +2 −2 { → fixture/default/core/Mage/Category}/data/Category.yml
  16. +4 −4 {uimaps → fixture/default/core/Mage/Category/uimap}/admin/Category.yml
  17. +5 −5 {uimaps → fixture/default/core/Mage/Category/uimap}/frontend/Category.yml
  18. +391 −0 fixture/default/core/Mage/Checkout/data/MultipleAddressesCheckout.yml
  19. +84 −141 { → fixture/default/core/Mage/Checkout}/data/OnePageCheckout.yml
  20. +251 −0 fixture/default/core/Mage/Checkout/data/Payment.yml
  21. +146 −583 { → fixture/default/core/Mage/Checkout}/data/SalesOrder.yml
  22. +54 −0 fixture/default/core/Mage/Checkout/data/Shipping.yml
  23. +22 −41 uimaps/admin/Orders.yml → fixture/default/core/Mage/Checkout/uimap/admin/AdminCheckout.yml
  24. +136 −101 ...ultipleAddresses.yml → fixture/default/core/Mage/Checkout/uimap/frontend/MultipleAddressesCheckout.yml
  25. +24 −16 uimaps/frontend/Checkout.yml → fixture/default/core/Mage/Checkout/uimap/frontend/OnePageCheckout.yml
  26. +1 −1  data/CmsPages.yml → fixture/default/core/Mage/CmsPage/data/CmsPage.yml
  27. +3 −3 uimaps/admin/CmsPages.yml → fixture/default/core/Mage/CmsPage/uimap/admin/CmsPage.yml
  28. 0  { → fixture/default/core/Mage/CmsPoll}/data/CmsPoll.yml
  29. +2 −2 uimaps/admin/CmsPolls.yml → fixture/default/core/Mage/CmsPoll/uimap/admin/CmsPoll.yml
  30. +2 −2 data/CmsStaticBlocks.yml → fixture/default/core/Mage/CmsStaticBlock/data/CmsStaticBlock.yml
  31. +1 −1  ...ps/admin/CmsStaticBlocks.yml → fixture/default/core/Mage/CmsStaticBlock/uimap/admin/CmsStaticBlock.yml
  32. 0  data/CmsWidgets.yml → fixture/default/core/Mage/CmsWidget/data/CmsWidget.yml
  33. +15 −17 uimaps/admin/CmsWidgets.yml → fixture/default/core/Mage/CmsWidget/uimap/admin/CmsWidget.yml
  34. 0  { → fixture/default/core/Mage/CompareProducts}/data/CompareProducts.yml
  35. +56 −0 fixture/default/core/Mage/CompareProducts/uimap/frontend/CompareProducts.yml
  36. +17 −13 uimaps/admin/CreditMemos.yml → fixture/default/core/Mage/CreditMemo/uimap/admin/CreditMemo.yml
  37. +3 −3 { → fixture/default/core/Mage/Customer}/data/Customers.yml
  38. +2 −2 {uimaps → fixture/default/core/Mage/Customer/uimap}/admin/Customers.yml
  39. +9 −11 uimaps/frontend/Customers.yml → fixture/default/core/Mage/Customer/uimap/frontend/Customer.yml
  40. +38 −36 {uimaps → fixture/default/core/Mage/Customer/uimap}/frontend/MyAccount.yml
  41. 0  { → fixture/default/core/Mage/CustomerGroup}/data/CustomerGroup.yml
  42. +5 −7 uimaps/admin/CustomerGroups.yml → fixture/default/core/Mage/CustomerGroup/uimap/admin/CustomerGroup.yml
  43. +2 −3 {uimaps → fixture/default/core/Mage/Home/uimap}/admin/Dashboard.yml
  44. +1 −1  {uimaps → fixture/default/core/Mage/Home/uimap}/admin/LogIn.yml
  45. +61 −0 fixture/default/core/Mage/Home/uimap/frontend/AboutUs.yml
  46. +2 −24 {uimaps → fixture/default/core/Mage/Home/uimap}/frontend/Home.yml
  47. +1 −1  {uimaps → fixture/default/core/Mage/IndexManagement/uimap}/admin/IndexManagement.yml
  48. +15 −11 uimaps/admin/Invoices.yml → fixture/default/core/Mage/Invoice/uimap/admin/Invoice.yml
  49. 0  { → fixture/default/core/Mage/Newsletter}/data/Newsletter.yml
  50. +1 −1  {uimaps → fixture/default/core/Mage/Newsletter/uimap}/admin/Newsletter.yml
  51. +30 −0 { → fixture/default/core/Mage/PayPal}/data/Paypal.yml
  52. +191 −0 fixture/default/core/Mage/PayPal/uimap/paypal_developer/PayPalDeveloper.yml
  53. +2 −2 .../third-party/paypal-sandbox → fixture/default/core/Mage/PayPal/uimap/paypal_sandbox}/PayPalSandbox.yml
  54. +170 −153 data/Products.yml → fixture/default/core/Mage/Product/data/Product.yml
  55. +22 −7 uimaps/admin/Products.yml → fixture/default/core/Mage/Product/uimap/admin/Product.yml
  56. +113 −115 {uimaps → fixture/default/core/Mage/Product/uimap}/frontend/Product.yml
  57. +44 −44 data/ProductAttributes.yml → fixture/default/core/Mage/ProductAttribute/data/ProductAttribute.yml
  58. +6 −6 ...in/ProductAttributes.yml → fixture/default/core/Mage/ProductAttribute/uimap/admin/ProductAttribute.yml
  59. +1 −1  ...in/RecurringProfiles.yml → fixture/default/core/Mage/RecurringProfile/uimap/admin/RecurringProfile.yml
  60. 0  data/ReviewsAndRatings.yml → fixture/default/core/Mage/ReviewAndRating/data/ReviewAndRating.yml
  61. +1 −1  ...dmin/ReviewsAndRatings.yml → fixture/default/core/Mage/ReviewAndRating/uimap/admin/ReviewAndRating.yml
  62. +4 −4 uimaps/admin/Shipments.yml → fixture/default/core/Mage/Shipment/uimap/admin/Shipment.yml
  63. +128 −0 fixture/default/core/Mage/ShoppingCart/uimap/frontend/ShoppingCart.yml
  64. +17 −83 data/PriceRules.yml → fixture/default/core/Mage/ShoppingCartPriceRule/data/ShoppingCartPriceRule.yml
  65. +6 −6 ...PriceRules.yml → fixture/default/core/Mage/ShoppingCartPriceRule/uimap/admin/ShoppingCartPriceRule.yml
  66. 0  { → fixture/default/core/Mage/StoreManagement}/data/Store.yml
  67. 0  { → fixture/default/core/Mage/StoreManagement}/data/StoreView.yml
  68. 0  { → fixture/default/core/Mage/StoreManagement}/data/Website.yml
  69. +4 −4 uimaps/admin/ManageStores.yml → fixture/default/core/Mage/StoreManagement/uimap/admin/StoreManagement.yml
  70. +45 −0 fixture/default/core/Mage/SystemConfiguration/data/Currency.yml
  71. +43 −0 fixture/default/core/Mage/SystemConfiguration/data/ExternalGateways.yml
  72. 0  data/ConfigGiftMessages.yml → fixture/default/core/Mage/SystemConfiguration/data/GiftMessage.yml
  73. +12 −5 data/SystemConfiguration.yml → fixture/default/core/Mage/SystemConfiguration/data/Inventory.yml
  74. +2 −3 data/ConfigPaymentMethods.yml → fixture/default/core/Mage/SystemConfiguration/data/PaymentMethod.yml
  75. +10 −0 data/ConfigShippingMethods.yml → fixture/default/core/Mage/SystemConfiguration/data/ShippingMethod.yml
  76. +3 −3 data/ConfigShippingSettings.yml → fixture/default/core/Mage/SystemConfiguration/data/ShippingSettings.yml
  77. 0  data/ConfigTax.yml → fixture/default/core/Mage/SystemConfiguration/data/Tax.yml
  78. +375 −449 {uimaps → fixture/default/core/Mage/SystemConfiguration/uimap}/admin/SystemConfiguration.yml
  79. 0  data/Tags.yml → fixture/default/core/Mage/Tag/data/Tag.yml
  80. +1 −1  uimaps/admin/Tags.yml → fixture/default/core/Mage/Tag/uimap/admin/Tag.yml
  81. +1 −1  uimaps/frontend/Tags.yml → fixture/default/core/Mage/Tag/uimap/frontend/Tag.yml
  82. +28 −52 { → fixture/default/core/Mage/Tax}/data/PriceReview.yml
  83. 0  { → fixture/default/core/Mage/Tax}/data/Tax.yml
  84. +1 −1  {uimaps → fixture/default/core/Mage/Tax/uimap}/admin/Tax.yml
  85. +4 −4 {uimaps → fixture/default/core/Mage/TermsAndConditions/uimap}/admin/TermsAndConditions.yml
  86. +1 −1  uimaps/admin/Transactions.yml → fixture/default/core/Mage/Transaction/uimap/admin/Transaction.yml
  87. +1 −5 data/UnitTestsData.yml → fixture/default/core/Mage/UnitTest/data/Empty.yml
  88. +67 −0 fixture/default/core/Mage/UnitTest/data/UimapTests.yml
  89. +52 −0 fixture/default/core/Mage/UnitTest/data/UnitTestsData.yml
  90. +44 −0 fixture/default/core/Mage/UnitTest/uimap/frontend/UnitTests.yml
  91. 0  { → fixture/default/core/Mage/Wishlist}/data/Wishlist.yml
  92. +189 −0 fixture/default/core/Mage/Wishlist/uimap/frontend/Wishlist.yml
  93. +61 −0 fixture/default/core/Mage/_uimapIncludes/admin.yml
  94. +55 −0 fixture/default/core/Mage/_uimapIncludes/frontend.yml
  95. +7 −7 data/Paas.yml → fixture/default/core/Mage/_uimapIncludes/paypal_developer.yml
  96. +306 −0 framework/Mage/Listener/EventListener.php
  97. +19 −10 lib/Mage/Selenium/Helper/Data.php → framework/Mage/Listener/Observers/EmptyObserver.php
  98. +237 −0 framework/Mage/Listener/Observers/TeamcityObserver.php
  99. +11 −5 {lib → framework}/Mage/Selenium/Autoloader.php
  100. +45 −78 {lib → framework}/Mage/Selenium/Driver.php
  101. +1 −1  {lib → framework}/Mage/Selenium/Exception.php
  102. +5 −25 {lib → framework}/Mage/Selenium/Helper/Abstract.php
  103. +8 −5 {lib → framework}/Mage/Selenium/Helper/Cache.php
  104. +553 −0 framework/Mage/Selenium/Helper/Config.php
  105. +157 −0 framework/Mage/Selenium/Helper/Data.php
  106. +29 −28 {lib → framework}/Mage/Selenium/Helper/DataGenerator.php
  107. +3 −3 {lib → framework}/Mage/Selenium/Helper/File.php
  108. +16 −11 {lib → framework}/Mage/Selenium/Helper/Params.php
  109. +386 −0 framework/Mage/Selenium/Helper/Uimap.php
  110. +1,735 −1,199 {lib → framework}/Mage/Selenium/TestCase.php
  111. +360 −0 framework/Mage/Selenium/TestConfiguration.php
  112. +48 −13 {lib → framework}/Mage/Selenium/Uimap/Abstract.php
  113. +1 −1  {lib → framework}/Mage/Selenium/Uimap/ElementsCollection.php
  114. +1 −1  {lib → framework}/Mage/Selenium/Uimap/Factory.php
  115. +31 −2 {lib → framework}/Mage/Selenium/Uimap/Fieldset.php
  116. +1 −1  {lib → framework}/Mage/Selenium/Uimap/FieldsetsCollection.php
  117. +13 −1 {lib → framework}/Mage/Selenium/Uimap/Form.php
  118. +13 −1 {lib → framework}/Mage/Selenium/Uimap/Page.php
  119. +21 −5 {lib → framework}/Mage/Selenium/Uimap/Tab.php
  120. +2 −4 {lib → framework}/Mage/Selenium/Uimap/TabsCollection.php
  121. +343 −0 framework/Mage/Testlink/Annotation.php
  122. +312 −0 framework/Mage/Testlink/Connector.php
  123. +294 −0 framework/Mage/Testlink/Listener.php
  124. +1,372 −0 framework/Mage/Testlink/class-IXR.php
  125. +9 −7 {lib → framework}/Varien/Io/Abstract.php
  126. 0  {lib → framework}/Varien/Io/Exception.php
  127. +75 −34 {lib → framework}/Varien/Io/File.php
  128. +23 −12 {lib → framework}/Varien/Io/Ftp.php
  129. +44 −6 {lib → framework}/Varien/Io/Interface.php
  130. +50 −20 {lib → framework}/Varien/Io/Sftp.php
  131. 0  {lib → framework}/Zend/Cache.php
  132. 0  {lib → framework}/Zend/Cache/Backend.php
  133. 0  {lib → framework}/Zend/Cache/Backend/Apc.php
  134. 0  {lib → framework}/Zend/Cache/Backend/BlackHole.php
  135. 0  {lib → framework}/Zend/Cache/Backend/ExtendedInterface.php
  136. 0  {lib → framework}/Zend/Cache/Backend/File.php
  137. 0  {lib → framework}/Zend/Cache/Backend/Interface.php
  138. 0  {lib → framework}/Zend/Cache/Backend/Libmemcached.php
  139. 0  {lib → framework}/Zend/Cache/Backend/Memcached.php
  140. 0  {lib → framework}/Zend/Cache/Backend/Sqlite.php
  141. 0  {lib → framework}/Zend/Cache/Backend/Static.php
  142. 0  {lib → framework}/Zend/Cache/Backend/Test.php
  143. 0  {lib → framework}/Zend/Cache/Backend/TwoLevels.php
  144. 0  {lib → framework}/Zend/Cache/Backend/Xcache.php
  145. 0  {lib → framework}/Zend/Cache/Backend/ZendPlatform.php
  146. 0  {lib → framework}/Zend/Cache/Backend/ZendServer.php
  147. 0  {lib → framework}/Zend/Cache/Backend/ZendServer/Disk.php
  148. 0  {lib → framework}/Zend/Cache/Backend/ZendServer/ShMem.php
  149. 0  {lib → framework}/Zend/Cache/Core.php
  150. 0  {lib → framework}/Zend/Cache/Exception.php
  151. 0  {lib → framework}/Zend/Cache/Frontend/Capture.php
  152. 0  {lib → framework}/Zend/Cache/Frontend/Class.php
  153. 0  {lib → framework}/Zend/Cache/Frontend/File.php
  154. 0  {lib → framework}/Zend/Cache/Frontend/Function.php
  155. 0  {lib → framework}/Zend/Cache/Frontend/Output.php
  156. 0  {lib → framework}/Zend/Cache/Frontend/Page.php
  157. 0  {lib → framework}/Zend/Cache/Manager.php
  158. 0  {lib → framework}/Zend/Exception.php
  159. +16 −0 framework/behat/behat.yml
  160. +16 −0 framework/behat/features/LoginTest.feature
  161. +85 −0 framework/behat/features/bootstrap/FeatureContext.php
  162. +49 −0 framework/behat/features/bootstrap/bootstrap.php
  163. 0  {lib → framework}/functions.php
  164. +0 −17 { → framework/tests}/unit/Mage/PHPUnit/TestCase.php
  165. +53 −0 framework/tests/unit/Mage/Testlink/AnnotationMock.php
  166. +11 −6 { → framework/tests}/unit/bootstrap.php
  167. +6 −4 { → framework/tests}/unit/phpunit.xml
  168. +258 −0 framework/tests/unit/tests/Mage/Listener/EventListenerTest.php
  169. +9 −6 ...sts/Mage/Selenium/Uimap/FieldsetTest.php → framework/tests/unit/tests/Mage/Selenium/AutoloaderTest.php
  170. +3 −3 ...s/Mage/Selenium/Uimap/TabsCollectionTest.php → framework/tests/unit/tests/Mage/Selenium/DriverTest.php
  171. +10 −10 ...ts/Mage/Selenium/Uimap/PageTest.php → framework/tests/unit/tests/Mage/Selenium/Helper/AbstractTest.php
  172. +17 −3 ...nium/Uimap/FieldsetsCollectionTest.php → framework/tests/unit/tests/Mage/Selenium/Helper/CacheTest.php
  173. +272 −0 framework/tests/unit/tests/Mage/Selenium/Helper/ConfigTest.php
  174. +2 −1  { → framework/tests}/unit/tests/Mage/Selenium/Helper/DataGeneratorTest.php
  175. +87 −0 framework/tests/unit/tests/Mage/Selenium/Helper/DataTest.php
  176. +8 −2 { → framework/tests}/unit/tests/Mage/Selenium/Helper/FileTest.php
  177. +20 −2 { → framework/tests}/unit/tests/Mage/Selenium/Helper/ParamsTest.php
  178. +164 −0 framework/tests/unit/tests/Mage/Selenium/Helper/UimapTest.php
  179. +907 −0 framework/tests/unit/tests/Mage/Selenium/TestCaseTest.php
  180. +101 −0 framework/tests/unit/tests/Mage/Selenium/TestConfigurationTest.php
  181. +2 −1  { → framework/tests}/unit/tests/Mage/Selenium/Uimap/AbstractTest.php
  182. +6 −3 { → framework/tests}/unit/tests/Mage/Selenium/Uimap/ElementsCollectionTest.php
  183. 0  { → framework/tests}/unit/tests/Mage/Selenium/Uimap/FactoryTest.php
  184. +66 −0 framework/tests/unit/tests/Mage/Selenium/Uimap/FieldsetTest.php
  185. +63 −0 framework/tests/unit/tests/Mage/Selenium/Uimap/FieldsetsCollectionTest.php
  186. +2 −1  { → framework/tests}/unit/tests/Mage/Selenium/Uimap/FormTest.php
  187. +68 −0 framework/tests/unit/tests/Mage/Selenium/Uimap/PageTest.php
  188. +68 −0 framework/tests/unit/tests/Mage/Selenium/Uimap/TabTest.php
  189. +61 −0 framework/tests/unit/tests/Mage/Selenium/Uimap/TabsCollectionTest.php
  190. +111 −0 framework/tests/unit/tests/Mage/Testlink/AnnotationTest.php
  191. +158 −0 framework/tests/unit/tests/Mage/Testlink/ConnectorTest.php
  192. +162 −0 framework/tests/unit/tests/Mage/Testlink/ListenerTest.php
  193. +0 −6 { → framework/tests}/unit/tests/functionsTest.php
  194. +0 −286 lib/Mage/Selenium/Helper/Application.php
  195. +0 −153 lib/Mage/Selenium/Helper/Page.php
  196. +0 −204 lib/Mage/Selenium/Helper/Uimap.php
  197. +0 −392 lib/Mage/Selenium/TestConfiguration.php
  198. +12 −8 phpunit.xml.dist
  199. +106 −2 runtests.bat
  200. +97 −11 runtests.sh
  201. +0 −211 tests/CheckoutMultipleAddresses/Existing/PaymentMethodsTest.php
  202. +0 −227 tests/CheckoutMultipleAddresses/Existing/ShippingMethodsTest.php
  203. +0 −614 tests/CheckoutMultipleAddresses/Existing/WithProductsTest.php
  204. +0 −446 tests/CheckoutMultipleAddresses/Helper.php
  205. +0 −642 tests/CheckoutMultipleAddresses/LoggedIn/InputDataValidationTest.php
  206. +0 −210 tests/CheckoutMultipleAddresses/LoggedIn/PaymentMethodsTest.php
  207. +0 −224 tests/CheckoutMultipleAddresses/LoggedIn/ShippingMethodsTest.php
  208. +0 −621 tests/CheckoutMultipleAddresses/LoggedIn/WithProductsTest.php
  209. +0 −494 tests/CheckoutMultipleAddresses/WithRegistration/InputDataValidationTest.php
  210. +0 −184 tests/CheckoutMultipleAddresses/WithRegistration/PaymentMethodsTest.php
  211. +0 −193 tests/CheckoutMultipleAddresses/WithRegistration/ShippingMethodsTest.php
  212. +0 −556 tests/CheckoutMultipleAddresses/WithRegistration/WithProductsTest.php
  213. +0 −606 tests/Order/Create/WithDifferentProductsTest.php
  214. +0 −303 tests/Paypal/Helper.php
  215. +0 −105 tests/PriceRules/Catalog/ApplyTest.php
  216. +0 −150 tests/Product/Buffer.php
  217. +0 −472 tests/Product/Linking/BundleLinkingTest.php
  218. +0 −496 tests/Product/Linking/ConfigurableLinkingTest.php
Sorry, we could not display the entire diff because it was too big.
View
4 .gitignore
@@ -1,6 +1,6 @@
-config/config.yml
config/local.yml
+config/config.yml
phpunit.xml
-tmp/*
+var/*
/.idea
/nbproject
View
BIN  MagentoTestAutomationFrameworkInstallationGuide.pdf
Binary file not shown
View
BIN  MagentoTestAutomationFrameworkUsersGuide.pdf
Binary file not shown
View
16 bootstrap.php
@@ -22,16 +22,21 @@
* @package selenium
* @subpackage runner
* @author Magento Core Team <core@magentocommerce.com>
- * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
+ * @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
+if (version_compare(PHPUnit_Runner_Version::id(), '3.6.0', '<')) {
+ throw new RuntimeException('PHPUnit 3.6.0 (or later) is required.');
+}
define('SELENIUM_TESTS_BASEDIR', realpath(dirname(__FILE__)));
define('SELENIUM_TESTS_SCREENSHOTDIR',
- realpath(SELENIUM_TESTS_BASEDIR . DIRECTORY_SEPARATOR . 'tmp' . DIRECTORY_SEPARATOR . 'screenshot'));
+ realpath(SELENIUM_TESTS_BASEDIR . DIRECTORY_SEPARATOR . 'var' . DIRECTORY_SEPARATOR . 'screenshots'));
+define('SELENIUM_TESTS_LOGS',
+ realpath(SELENIUM_TESTS_BASEDIR . DIRECTORY_SEPARATOR . 'var' . DIRECTORY_SEPARATOR . 'logs'));
set_include_path(implode(PATH_SEPARATOR, array(
- realpath(SELENIUM_TESTS_BASEDIR . DIRECTORY_SEPARATOR . 'lib'),
- realpath(SELENIUM_TESTS_BASEDIR . DIRECTORY_SEPARATOR . 'tests'), //To allow load tests helper files
+ realpath(SELENIUM_TESTS_BASEDIR . DIRECTORY_SEPARATOR . 'framework'),
+ realpath(SELENIUM_TESTS_BASEDIR . DIRECTORY_SEPARATOR . 'testsuite'), //To allow load tests helper files
get_include_path(),
)));
@@ -41,3 +46,6 @@
require_once 'functions.php';
Mage_Selenium_TestConfiguration::getInstance();
+
+//Mage_Listener_EventListener::autoAttach(SELENIUM_TESTS_BASEDIR
+// . implode(DIRECTORY_SEPARATOR, array('', 'framework', 'Mage', 'Listener', 'Observers', '*.php')));
View
139 config/config.yml.dist
@@ -21,34 +21,51 @@
# @package selenium
# @subpackage configuration
# @author Magento Core Team <core@magentocommerce.com>
-# @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
+# @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
# @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
#
---
+################################################################################
+# #
+# Browsers for running tests #
+# #
+################################################################################
browsers:
- firefox: &firefox
- name: Firefox
- browser: '*firefox'
- host: 127.0.0.1
- port: 4444
- doNotKillBrowsers: false
- browserTimeoutPeriod: 40000
- iexplore: &iexplore
- name: Internet Explorer
- browser: '*iexplore'
- host: 127.0.0.1
- port: 4444
- doNotKillBrowsers: false
- browserTimeoutPeriod: 40000
googlechrome: &googlechrome
- name: Google Chrome
- browser: '*googlechrome'
- host: 127.0.0.1
- port: 4444
- doNotKillBrowsers: false
- browserTimeoutPeriod: 40000
- default: *chrome
-default:
+ name: 'Google Chrome'
+ browser: '*googlechrome'
+ host: 'localhost'
+ port: 4444
+ timeout: 40
+ firefox: &firefox
+ name: 'Firefox'
+ browser: '*chrome'
+ host: 'localhost'
+ port: 4444
+ timeout: 40
+ iexplorer: &iexplorer
+ name: 'Internet Explorer'
+ browser: '*iexplore'
+ host: 'localhost'
+ port: 4444
+ timeout: 60
+ default: *firefox
+################################################################################
+# #
+# Framework configuration #
+# #
+################################################################################
+framework:
+ fixture_base_path: 'fixture'
+ testsuite_base_path: 'testsuite'
+ #work only if tests are run for single browser
+ shareSession: true
+ coverageScriptUrl: ''
+ #captureScreenshotOnFailure works only for browsers that support it: Firefox/Chrome, IE with snapsIE tool
+ captureScreenshotOnFailure: true
+ saveHtmlPageOnFailure: false
+ load_all_uimaps: true
+ load_all_data: true
cache:
frontend:
name: 'core'
@@ -59,25 +76,57 @@ default:
backend:
name: 'file'
options:
- cache_dir: 'tmp/cache'
- uimaps:
- basePath: uimaps
- applications:
- magento: &magento
- adminLogin: admin
- adminPassword: admin
- storeName: Store Name
- areas:
- admin:
- url: 'http://www.localhost.com/magento/admin/'
- uimap_path: 'admin'
- frontend:
- url: 'http://www.localhost.com/magento/'
- uimap_path: 'frontend'
- paypal-sandbox:
- url: 'https://www.sandbox.paypal.com/'
- uimap_path: 'third-party/paypal-sandbox'
- paypal-developer:
- url: 'https://developer.paypal.com/'
- uimap_path: 'third-party/paypal-developer'
- default: *magento
+ cache_dir: 'var/cache'
+################################################################################
+# #
+# Applications for running tests #
+# #
+################################################################################
+applications:
+ mage: &mage
+ fallbackOrderFixture: 'default'
+ fallbackOrderHelper: 'Core'
+ areas:
+ admin:
+ url: 'http://www.localhost.com/magento/admin/'
+ base_page_uimap: 'log_in_to_admin'
+ uimap_path: 'admin'
+ login: 'admin_login'
+ password: 'admin_password'
+ frontend:
+ url: 'http://www.localhost.com/magento/'
+ base_page_uimap: 'home_page'
+ uimap_path: 'frontend'
+ login: ''
+ password: ''
+ paypal_sandbox: &paypalSandbox
+ url: 'https://www.sandbox.paypal.com/'
+ base_page_uimap: 'paypal_sandbox'
+ uimap_path: 'paypal_sandbox'
+ login: 'paypal_sandbox_login'
+ password: 'paypal_sandbox_password'
+ paypal_developer: &paypalDeveloper
+ url: 'https://developer.paypal.com/'
+ base_page_uimap: 'paypal_developer_home'
+ uimap_path: 'paypal_developer'
+ login: 'paypal_developer_login'
+ password: 'paypal_developer_password'
+ other_app: &other_app
+ fallbackOrderFixture: 'other_app, default'
+ fallbackOrderHelper: 'Other_app, Core'
+ areas:
+ admin:
+ url: 'http://www.localhost.com/magento_enterprise/admin/'
+ base_page_uimap: 'log_in_to_admin'
+ uimap_path: 'admin'
+ login: 'admin_login'
+ password: 'admin_password'
+ frontend:
+ url: 'http://www.localhost.com/magento_enterprise/'
+ base_page_uimap: 'home_page'
+ uimap_path: 'frontend'
+ login: ''
+ password: ''
+ paypal_sandbox: *paypalSandbox
+ paypal_developer: *paypalDeveloper
+ default: *mage
View
583 data/MultipleAddressCheckout.yml
@@ -1,583 +0,0 @@
-#
-# Magento
-#
-# NOTICE OF LICENSE
-#
-# This source file is subject to the Academic Free License (AFL 3.0)
-# that is bundled with this package in the file LICENSE_AFL.txt.
-# It is also available through the world-wide-web at this URL:
-# http://opensource.org/licenses/afl-3.0.php
-# If you did not receive a copy of the license and are unable to
-# obtain it through the world-wide-web, please send an email
-# to license@magentocommerce.com so we can send you a copy immediately.
-#
-# DISCLAIMER
-#
-# Do not edit or add to this file if you wish to upgrade Magento to newer
-# versions in the future. If you wish to customize Magento for your
-# needs please refer to http://www.magentocommerce.com for more information.
-#
-# @category tests
-# @package selenium
-# @subpackage test-data
-# @author Magento Core Team <core@magentocommerce.com>
-# @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
-# @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
-#
----
-#Test data for Multiple Addresses Checkout(Frontend)
-################################################################################
-# #
-# Checkout Method #
-# #
-################################################################################
-multiple_register: &register
- checkout_method: register
-
-multiple_login: &login
- checkout_method: login
- additional_data:
- email: %noValue%
- password: passw0rd
-################################################################################
-# #
-# Billing Address #
-# #
-################################################################################
-#<--------------SignedIn---------------->
-multiple_billing_new_signedin_req_physical: &newBillingSignedInReqPhysical
- billing_first_name: Steven(billing.req)
- billing_last_name: Stevenson(billing.req)
- billing_company: %noValue%
- billing_street_address_1: street address 1(billing.req)
- billing_street_address_2: %noValue%
- billing_city: Los Angeles
- billing_country: United States
- billing_state: California
- billing_region: %noValue%
- billing_zip_code: 90064
- billing_telephone: (091)019-019(billing.req)
- billing_fax: %noValue%
-
-
-################################################################################
-# #
-# General Shipping Address #
-# #
-################################################################################
-
-general_shipping_address: &generalShippingAddress
- shipping_first_name: First Name (%randomize%)
- shipping_last_name: Last Name (%randomize%)
- shipping_telephone: 10100010010
- shipping_fax: 230482347
- shipping_street_address_1: Some address 1 (%randomize%)
- shipping_street_address_2: Some address 2 (%randomize%)
- shipping_city: Some City (%randomize%)
- shipping_zip_code: 94036
- shipping_state: California
- shipping_country: United States
-
-general_account_info: &generalAccountInfo
- first_name: First Name (%randomize%)
- last_name: Last Name (%randomize%)
- email: %randomize%@example.com
- password: passw0rd
- password_confirmation: passw0rd
- company: Company (%randomize%)
- telephone: 10100010010
- fax: 230482347
- street_address_1: Some address 1 (%randomize%)
- street_address_2: Some address 2 (%randomize%)
- city: Some City (%randomize%)
- zip_code: 94036
- state: California
- country: United States
-
-################################################################################
-# #
-# Shipping Address #
-# #
-################################################################################
-#<--------------SignedIn---------------->
-multiple_shipping_new_signedin_req: &newShippingSignedInReq
- shipping_first_name: Steven(shipping.req)
- shipping_last_name: Stevenson(shipping.req)
- shipping_company: %noValue%
- shipping_street_address_1: street address 1(shipping.req)
- shipping_street_address_2: %noValue%
- shipping_city: Los Angeles
- shipping_country: United States
- shipping_state: California
- shipping_region: %noValue%
- shipping_zip_code: 90064
- shipping_telephone: (091)019-019(shipping.req)
- shipping_fax: %noValue%
-
-multiple_shipping_new_usa: &newShippingUsa
- shipping_first_name: Chuk
- shipping_last_name: Norris
- shipping_company: %noValue%
- shipping_street_address_1: Chuk Norris street
- shipping_street_address_2: %noValue%
- shipping_city: Navasota
- shipping_country: United States
- shipping_state: Texas
- shipping_region: %noValue%
- shipping_zip_code: 77868
- shipping_telephone: 1800-2209-7492
- shipping_fax: %noValue%
-
-multiple_shipping_new_france_1: &newShippingFrance1
- shipping_first_name: Michèle
- shipping_last_name: St-Pierre
- shipping_company: %noValue%
- shipping_street_address_1: 10, rue Jean Vilar
- shipping_street_address_2: %noValue%
- shipping_city: Bergerac
- shipping_country: France
- shipping_state: Dordogne
- shipping_region: %noValue%
- shipping_zip_code: 24100
- shipping_telephone: 05 53 57 11 61
- shipping_fax: %noValue%
-
-multiple_shipping_new_france_2: &newShippingFrance2
- shipping_first_name: Jean
- shipping_last_name: Reno
- shipping_company: %noValue%
- shipping_street_address_1: 13, rue Jean Vilar
- shipping_street_address_2: %noValue%
- shipping_city: Bergerac
- shipping_country: France
- shipping_state: Dordogne
- shipping_region: %noValue%
- shipping_zip_code: 24100
- shipping_telephone: 06 88 07 44 27
- shipping_fax: %noValue%
-
-################################################################################
-# #
-# Payment Card Data #
-# #
-################################################################################
-
-multiple_front_saved_visa: &visaSavedCC
- name_on_card: 'Test Account'
- card_type: 'Visa'
- card_number: '4000000000000002'
- expiration_month: '07 - July'
- expiration_year: '2020'
- card_verification_number: '111'
-
-################################################################################
-# #
-# Payment Method #
-# #
-################################################################################
-multiple_front_payment_checkmoney: &checkMoney
- payment_method: Check / Money order
-
-multiple_front_payment_credit_card: &creditCard
- payment_method: Credit Card (saved)
- payment_info: *visaSavedCC
-
-################################################################################
-# #
-# Shipping Method #
-# #
-################################################################################
-multiple_front_shipping_flatrate: &flatRate
- shipping_service: Flat Rate
- shipping_method: Fixed
-
-multiple_front_shipping_free: &free
- shipping_service: Free Shipping
- shipping_method: Free
-
-multiple_front_shipping_ups: &ups
- shipping_service: United Parcel Service
- shipping_method: Ground
-
-multiple_front_shipping_upsxml: &upsXml
- shipping_service: United Parcel Service XML
- shipping_method: UPS Ground
-
-multiple_front_shipping_usps: &usps
- shipping_service: United States Postal Service
- shipping_method: Express Mail Flat Rate Envelope Hold For Pickup
-
-multiple_front_shipping_fedex: &fedex
- shipping_service: Federal Express
- shipping_method: Home Delivery
-
-multiple_front_shipping_dhl:
- shipping_service: DHL
- shipping_method: International Express
-
-################################################################################
-# #
-# Order Data for Signed In Customer #
-# #
-################################################################################
-multiple_signedin_flatrate_checkmoney_different_address:
- products_to_add:
- product_1:
- general_name: %noValue%
- billing_address_data: *newBillingSignedInReqPhysical
- shipping_address_data: *newShippingSignedInReq
- shipping_data: *flatRate
- payment_data: *checkMoney
-
-
-################################################################################
-# #
-# Order Data for With Registration #
-# #
-################################################################################
-
-multiple_with_register_flatrate_checkmoney:
- products_to_add:
- product_1:
- general_name: %noValue%
- checkout_as_customer: *register
- general_shipping_address: *generalAccountInfo
- shipping_addresses:
- new_addresses:
- address_1: *newShippingSignedInReq
- address_2: *newShippingSignedInReq
- existing_addresses:
- address_1: *newShippingSignedInReq
- shipping_address_data:
- address_to_add_1:
- shipping_address: *newShippingSignedInReq
- address_to_ship_1:
- general_name: %noValue%
- qty: 1
- shipping_address: *newShippingSignedInReq
- billing_address_data: %noValue%
- shipping_data:
- address_1:
- search_shipping_address: *newShippingSignedInReq
- shipping_method: *flatRate
- payment_data: *checkMoney
-
-################################################################################
-# #
-# Order Data for Exist Customer #
-# #
-################################################################################
-
-multiple_exist_flatrate_checkmoney:
- products_to_add:
- product_1:
- general_name: %noValue%
- checkout_as_customer: *login
- billing_address_data: %noValue%
- general_shipping_address: *generalShippingAddress
- shipping_address_data:
- address_to_add_1:
- shipping_address: *newShippingSignedInReq
- address_to_ship_1:
- general_name: %noValue%
- qty: 1
- shipping_address: *newShippingSignedInReq
- shipping_data:
- address_1:
- search_shipping_address: *newShippingSignedInReq
- shipping_method: *flatRate
- payment_data: *checkMoney
-
-multiple_test_data:
- products_to_add:
- product_1:
- general_name: %noValue%
- checkout_as_customer: *register
- general_shipping_address: *generalAccountInfo
- shipping_address_data:
- address_to_add_1:
- shipping_address: *newShippingSignedInReq
- address_to_add_2:
- shipping_address: %noValue%
- address_to_ship_1:
- general_name: opdzs_Simple Product Visible
- qty: 2
- shipping_address: *newShippingSignedInReq
- address_to_ship_2:
- general_name: %noValue%
- qty: %noValue%
- shipping_address: %noValue%
- shipping_data:
- address_1:
- search_shipping_address: *newShippingSignedInReq
- change_shipping_address: *newShippingSignedInReq
- shipping_method: *flatRate
- address_2: %noValue%
- billing_address_data:
- existing_address:
- billing_first_name: Steven(shipping.req)
- billing_last_name: Stevenson(shipping.req)
- billing_company: %noValue%
- billing_street_address_1: street address 1(shipping.req)
- billing_street_address_2: %noValue%
- billing_city: Los Angeles
- billing_country: United States
- billing_state: California
- billing_region: %noValue%
- billing_zip_code: 90064
- billing_telephone: (091)019-019(shipping.req)
- billing_fax: %noValue%
- edit_existing_address: *newBillingSignedInReqPhysical
- new_address: *newBillingSignedInReqPhysical
- select_address: *newBillingSignedInReqPhysical
- payment_data: *checkMoney
-
-################################################################################
-# #
-# Order Data for ShippingMethodsTests #
-# #
-################################################################################
-
-#Auxiliary dataset
-multiple_shipping_methods_common_usa: &multipleShippingCommonUsa
- products_to_add:
- product_1:
- general_name: %noValue%
- product_2:
- general_name: %noValue%
- shipping_address_data:
- address_to_add_1:
- shipping_address: *newShippingSignedInReq
- address_to_add_2:
- shipping_address: *newShippingUsa
- address_1:
- general_name: %noValue%
- qty: 1
- shipping_address: *newShippingSignedInReq
- address_2:
- general_name: %noValue%
- qty: 2
- shipping_address: *newShippingUsa
- shipping_data:
- address_1:
- search_shipping_address: *newShippingSignedInReq
- shipping_method: %noValue%
- address_2:
- search_shipping_address: *newShippingUsa
- shipping_method: %noValue%
- billing_address_data:
- payment_data: *checkMoney
-
-#Auxiliary dataset
-multiple_shipping_methods_common_france: &multipleShippingCommonFrance
- products_to_add:
- product_1:
- general_name: %noValue%
- product_2:
- general_name: %noValue%
- shipping_address_data:
- address_to_add_1:
- shipping_address: *newShippingFrance1
- address_to_add_2:
- shipping_address: *newShippingFrance2
- address_1:
- general_name: %noValue%
- qty: 1
- shipping_address: *newShippingFrance1
- address_2:
- general_name: %noValue%
- qty: 2
- shipping_address: *newShippingFrance2
- shipping_data:
- address_1:
- search_shipping_address: *newShippingFrance1
- shipping_method: %noValue%
- address_2:
- search_shipping_address: *newShippingFrance2
- shipping_method: %noValue%
- billing_address_data:
- payment_data: *checkMoney
-
-multiple_shipping_methods_existing_usa:
- <<: *multipleShippingCommonUsa
- general_shipping_address: *generalShippingAddress
- checkout_as_customer: *login
-
-multiple_shipping_methods_existing_france:
- <<: *multipleShippingCommonFrance
- general_shipping_address: *generalShippingAddress
- checkout_as_customer: *login
-
-multiple_shipping_methods_loggedin_usa:
- <<: *multipleShippingCommonUsa
- general_shipping_address: *generalShippingAddress
- checkout_as_customer:
- checkout_method: %noValue%
- additional_data:
- email_address: %noValue%
- password: %noValue%
-
-multiple_shipping_methods_loggedin_france:
- <<: *multipleShippingCommonFrance
- general_shipping_address: *generalShippingAddress
- checkout_as_customer:
- checkout_method: %noValue%
- additional_data:
- email_address: %noValue%
- password: %noValue%
-
-multiple_shipping_methods_register_usa:
- <<: *multipleShippingCommonUsa
- general_account_info: *generalAccountInfo
- checkout_as_customer: *register
-
-multiple_shipping_methods_register_france:
- <<: *multipleShippingCommonFrance
- general_account_info: *generalAccountInfo
- checkout_as_customer: *register
-
-################################################################################
-# #
-# Order Data for PaymentMethodsTests #
-# #
-################################################################################
-
-#Auxiliary dataset
-multiple_payment_methods_common: &multiplePaymentCommon
- products_to_add:
- product_1:
- general_name: %noValue%
- billing_address_data: %noValue%
- shipping_address_data:
- address_to_add_1:
- shipping_address: *newShippingSignedInReq
- address_to_ship_1:
- general_name: %noValue%
- qty: 1
- shipping_address: *newShippingSignedInReq
- shipping_data:
- address_1:
- search_shipping_address: *newShippingSignedInReq
- shipping_method: *flatRate
- payment_data: %noValue%
-
-multiple_payment_methods_existing:
- <<: *multiplePaymentCommon
- general_shipping_address: *generalShippingAddress
- checkout_as_customer: *login
-
-multiple_payment_methods_loggedin:
- <<: *multiplePaymentCommon
- general_shipping_address: *generalShippingAddress
- checkout_as_customer:
- checkout_method: %noValue%
- additional_data:
- email_address: %noValue%
- password: %noValue%
-
-multiple_payment_methods_register:
- <<: *multiplePaymentCommon
- general_account_info: *generalAccountInfo
- checkout_as_customer: *register
-
-################################################################################
-# #
-# Order Data for InputDataValidation #
-# #
-################################################################################
-
-#Auxiliary dataset
-multiple_invalid_data_common: &multipleInvalidCommon
- products_to_add:
- product_1:
- general_name: %noValue%
-
-multiple_invalid_data_register:
- <<: *multipleInvalidCommon
- general_account_info: *generalAccountInfo
- checkout_as_customer: *register
-
-multiple_invalid_data_ship_address:
- <<: *multipleInvalidCommon
- shipping_address_data:
- address_to_add_1:
- shipping_address: *newShippingSignedInReq
-
-multiple_empty_data_ship_address:
- <<: *multipleInvalidCommon
- checkout_as_customer: *login
- shipping_address_data:
- address_to_add_1:
- shipping_address: *newShippingSignedInReq
- address_to_ship_1:
- general_name: %noValue%
- qty: 1
- shipping_address: *newShippingSignedInReq
- shipping_data:
- address_1:
- search_shipping_address: *newShippingSignedInReq
-
-
-multiple_invalid_data_bill_address:
- <<: *multipleInvalidCommon
- shipping_address_data:
- address_to_add_1:
- shipping_address: *newShippingSignedInReq
- address_to_ship_1:
- general_name: %noValue%
- qty: 1
- shipping_address: *newShippingSignedInReq
- shipping_data:
- address_1:
- search_shipping_address: *newShippingSignedInReq
- shipping_method: *flatRate
- billing_address_data:
- new_address: *newBillingSignedInReqPhysical
-
-multiple_invalid_data_billing_address:
- <<: *multipleInvalidCommon
- shipping_address_data:
- address_to_add_1:
- shipping_address: *newShippingSignedInReq
- address_to_ship_1:
- general_name: %noValue%
- qty: 1
- shipping_address: *newShippingSignedInReq
- shipping_data:
- address_1:
- search_shipping_address: *newShippingSignedInReq
- shipping_method: *flatRate
- billing_address_data:
- new_address: *newBillingSignedInReqPhysical
-
-multiple_undefined_payment_method:
- <<: *multipleInvalidCommon
- shipping_address_data:
- address_to_add_1:
- shipping_address: *newShippingSignedInReq
- address_to_ship_1:
- general_name: %noValue%
- qty: 1
- shipping_address: *newShippingSignedInReq
- shipping_data:
- address_1:
- search_shipping_address: *newShippingSignedInReq
- shipping_method: *flatRate
- billing_address_data: %noValue%
-
-multiple_empty_payment:
- <<: *multipleInvalidCommon
- shipping_address_data:
- address_to_add_1:
- shipping_address: *newShippingSignedInReq
- address_to_ship_1:
- general_name: %noValue%
- qty: 1
- shipping_address: *newShippingSignedInReq
- shipping_data:
- address_1:
- search_shipping_address: *newShippingSignedInReq
- shipping_method: *flatRate
- billing_address_data: %noValue%
- payment_data: *creditCard
-
View
6 data/AdminUsers.yml → ...t/core/Mage/AdminUser/data/AdminUsers.yml
@@ -36,10 +36,10 @@ generic_admin_role:
generic_admin_user:
#user_info:
- user_name: testuser
+ user_name: testuser_%randomize%
first_name: John
last_name: Doe
- email: alias@example.com
+ email: alias@unknown-domain.com
password: passw0rd
password_confirmation: passw0rd
this_acount_is: %noValue%
@@ -51,7 +51,7 @@ search_admin_user:
user_name: testuser
first_name: John
last_name: Doe
- email: alias@example.com
+ email: alias@unknown-domain.com
status: %noValue%
disable_admin_captcha:
View
31 uimaps/admin/AdminUsers.yml → ...Mage/AdminUser/uimap/admin/AdminUsers.yml
@@ -20,7 +20,7 @@
# @package selenium
# @subpackage uimaps
# @author Magento Core Team <core@magentocommerce.com>
-# @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
+# @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
# @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
#
---
@@ -53,16 +53,19 @@ manage_admin_users:
buttons:
add_new_admin_user: //button[span='Add New User' or span='Add New']
messages: &adminUserMessages
- exist_name_or_email: //li[normalize-space(@class)='error-msg' and contains(.,'A user with the same user name or email aleady exists.')]
- empty_required_field: "%fieldXpath%/following-sibling::*[text()='This is a required field.' and not(contains(@style,'display: none;'))]"
cannot_delete_account: //li[normalize-space(@class)='error-msg' and contains(.,'You cannot delete your own account.')]
- success_deleted_user: //li[normalize-space(@class)='success-msg' and contains(.,'The user has been deleted.')]
- success_saved_user: //li[normalize-space(@class)='success-msg' and contains(.,'The user has been saved.')]
+ confirmation_for_delete: Are you sure you want to do this?
+ empty_required_field: "%fieldXpath%/following-sibling::*[text()='This is a required field.' and not(contains(@style,'display: none;'))]"
+ error_required_field_role_name: //div[@id='advice-required-entry-role_name']
exist_email: //li[normalize-space(@class)='error-msg' and contains(.,'Email already exists.')]
+ exist_name_or_email: //li[normalize-space(@class)='error-msg' and contains(.,'A user with the same user name or email aleady exists.')]
+ invalid_email: //div[@id='advice-validate-email-user_email']
invalid_password: //div[@id='advice-validate-admin-password-user_password']
password_unmatch: //div[@id='advice-validate-cpassword-user_confirmation']
- invalid_email: //div[@id='advice-validate-email-user_email']
- confirmation_for_delete: Are you sure you want to do this?
+ success_deleted_user: //li[normalize-space(@class)='success-msg' and contains(.,'The user has been deleted.')]
+ success_saved_user: //li[normalize-space(@class)='success-msg' and contains(.,'The user has been saved.')]
+ success_deleted_role: //div[@id='messages']//li[span='The role has been deleted.']
+ success_saved_role: //div[@id='messages']//li[span='The role has been successfully saved.']
# 'New User' page
new_admin_user:
@@ -79,7 +82,7 @@ new_admin_user:
account_information:
xpath: //div[@id='user_base_fieldset']
dropdowns:
- this_acount_is: //select[@id='user_is_active']
+ this_account_is: //select[@id='user_is_active']
fields:
user_name: //input[@id='user_username']
first_name: //input[@id='user_firstname']
@@ -157,8 +160,7 @@ manage_roles:
select_by_role_name: //table[@id="roleGrid_table"]//td[normalize-space(text())="%roleName%"]
buttons:
add_new_role: //button[span='Add New Role']
- messages:
- success_delete_role: //div[@id='messages']//li[span='The role has been deleted.']
+ messages: *adminUserMessages
# 'New Role' page
new_role:
@@ -198,10 +200,7 @@ new_role:
back: //button[span='Back']
reset: //button[span='Reset']
save_role: //button[span='Save Role']
- messages:
- success_save_role: //div[@id='messages']//li[span='The role has been successfully saved.']
- error_required_field_role_name: //div[@id='advice-required-entry-role_name']
-
+ messages: *adminUserMessages
# 'Edit Role' page
edit_role:
@@ -263,9 +262,7 @@ edit_role:
reset: //button[span='Reset']
delete_role: //button[span='Delete Role']
save_role: //button[span='Save Role']
- messages:
- success_save_role: //div[@id='messages']//li[span='The role has been successfully saved.']
- error_required_field_role_name: //div[@id='advice-required-entry-role_name']
+ messages: *adminUserMessages
# 'My Account' page
my_account:
View
0  data/AttributeSet.yml → ...e/Mage/AttributeSet/data/AttributeSet.yml
File renamed without changes
View
7 uimaps/admin/AttributeSet.yml → ...AttributeSet/uimap/admin/AttributeSet.yml
@@ -21,7 +21,7 @@
# @package selenium
# @subpackage uimaps
# @author Magento Core Team <core@magentocommerce.com>
-# @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
+# @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
# @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
#
---
@@ -85,10 +85,13 @@ edit_attribute_set:
set_name: //input[@name='attribute_set_name']
-
groups:
- xpath: //div[@id='tree-div1']
+ xpath: //td[div[@id='tree-div1']]
buttons:
add_group: //button[span='Add New']
delete_group: //button[span='Delete Selected Group']
+ -
+ groups_content:
+ xpath: //div[@id='tree-div1']
links:
group_folder: //div[contains(@class,'x-tree-node-el folder')]//span[text()='%folderName%']
group_attribute: //ul[contains(@class,'x-tree-node-ct')]//span[text()='%attributeName%']
View
2  uimaps/admin/BillingAgreements.yml → ...greement/uimap/admin/BillingAgreement.yml
@@ -20,7 +20,7 @@
# @package selenium
# @subpackage uimaps
# @author Magento Core Team <core@magentocommerce.com>
-# @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
+# @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
# @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
#
---
View
8 uimaps/admin/CacheStorageManagement.yml → ...nt/uimap/admin/CacheStorageManagement.yml
@@ -20,7 +20,7 @@
# @package selenium
# @subpackage uimaps
# @author Magento Core Team <core@magentocommerce.com>
-# @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
+# @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
# @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
#
---
@@ -50,6 +50,6 @@ cache_storage_management:
cache_invalided: //tr[normalize-space(td/span)='Invalidated']
cache_disabled: //tr[normalize-space(td/span)='Disabled']
messages:
- success_refreshed_cache: //li[normalize-space(@class)='success-msg' and contains(.,'%qtySelected% cache type(s) refreshed.)]
- success_disabled_cache: //li[normalize-space(@class)='success-msg' and contains(.,'%qtySelected% cache type(s) disabled.)]
- success_enabled_cache: //li[normalize-space(@class)='success-msg' and contains(.,'%qtySelected% cache type(s) enabled.)]
+ success_refreshed_cache: "//li[normalize-space(@class)='success-msg' and contains(.,'%qtySelected% cache type(s) refreshed.)]"
+ success_disabled_cache: "//li[normalize-space(@class)='success-msg' and contains(.,'%qtySelected% cache type(s) disabled.)]"
+ success_enabled_cache: "//li[normalize-space(@class)='success-msg' and contains(.,'%qtySelected% cache type(s) enabled.)]"
View
100 fixture/default/core/Mage/CatalogPriceRule/data/CatalogPriceRule.yml
@@ -0,0 +1,100 @@
+#
+# Magento
+#
+# NOTICE OF LICENSE
+#
+# This source file is subject to the Academic Free License (AFL 3.0)
+# that is bundled with this package in the file LICENSE_AFL.txt.
+# It is also available through the world-wide-web at this URL:
+# http://opensource.org/licenses/afl-3.0.php
+# If you did not receive a copy of the license and are unable to
+# obtain it through the world-wide-web, please send an email
+# to license@magentocommerce.com so we can send you a copy immediately.
+#
+# DISCLAIMER
+#
+# Do not edit or add to this file if you wish to upgrade Magento to newer
+# versions in the future. If you wish to customize Magento for your
+# needs please refer to http://www.magentocommerce.com for more information.
+#
+# @category tests
+# @package selenium
+# @subpackage test-data
+# @author Magento Core Team <core@magentocommerce.com>
+# @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
+# @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
+#
+---
+################################################################################
+# #
+# Catalog Price Rules #
+# #
+################################################################################
+
+search_catalog_rule:
+ filter_id: %noValue%
+ filter_rule_name: %noValue%
+ filter_date_start_from: %noValue%
+ filter_date_start_to: %noValue%
+ filter_date_expire_from: %noValue%
+ filter_date_expire_to: %noValue%
+ filter_status: %noValue%
+
+condition:
+ select_conditions_aggregator: ANY
+ select_conditions_value: 'TRUE'
+ sub_condition:
+ select_condition_new_child: Category
+ select_condition_operator: is
+ category: Default Category
+
+test_catalog_rule:
+ info:
+ rule_name: test_catalog_rule_%randomize%
+ description: description for test catalog rule
+ status: Inactive
+ websites: Main Website
+ customer_groups: NOT LOGGED IN
+ from_date: %currentDate%
+ to_date: %currentDate%
+ priority: %noValue%
+ conditions: %noValue%
+ actions:
+ apply: To Percentage of the Original Price
+ discount_amount: 15
+ enable_discount_to_subproducts: Yes
+ sub_apply: By Fixed Amount
+ sub_discount_amount: 15
+ stop_further_rules_processing: Yes
+
+by_percentage_of_the_original_price:
+ apply: By Percentage of the Original Price
+ discount_amount: 10
+ enable_discount_to_subproducts: No
+ sub_apply: %noValue%
+ sub_discount_amount: %noValue%
+ stop_further_rules_processing: Yes
+
+to_percentage_of_the_original_price:
+ apply: To Percentage of the Original Price
+ discount_amount: 10
+ enable_discount_to_subproducts: No
+ sub_apply: %noValue%
+ sub_discount_amount: %noValue%
+ stop_further_rules_processing: Yes
+
+by_fixed_amount:
+ apply: By Fixed Amount
+ discount_amount: 10
+ enable_discount_to_subproducts: No
+ sub_apply: %noValue%
+ sub_discount_amount: %noValue%
+ stop_further_rules_processing: Yes
+
+to_fixed_amount:
+ apply: To Fixed Amount
+ discount_amount: 10
+ enable_discount_to_subproducts: No
+ sub_apply: %noValue%
+ sub_discount_amount: %noValue%
+ stop_further_rules_processing: Yes
View
12 uimaps/admin/CatalogPriceRules.yml → ...riceRule/uimap/admin/CatalogPriceRule.yml
@@ -20,7 +20,7 @@
# @package selenium
# @subpackage uimaps
# @author Magento Core Team <core@magentocommerce.com>
-# @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
+# @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
# @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
#
---
@@ -51,6 +51,7 @@ manage_catalog_price_rules:
filter_date_expired_to: //input[@name='to_date[to]']
pageelements:
grid_head: //div[@id='promo_catalog_grid']//tr[@class='headings']
+ price_rule: //table[@id]/tbody/tr
buttons:
add_new_rule: //button[span='Add New Rule']
apply_rules: //button[span='Apply Rules']
@@ -65,6 +66,7 @@ manage_catalog_price_rules:
invalid_sub_discount_amount: "//div[@id='advice-validate-not-negative-number-rule_sub_discount_amount' and not(contains(@style,'display: none;'))]"
empty_required_field: "//div[@id='advice-required-entry-%fieldId%' and not(contains(@style,'display: none;'))]"
confirmation_for_delete: Are you sure you want to do this?
+ no_price_rules: //*[@id='promo_catalog_grid_table']//tr[td='No records found.']
add_new_rule:
mca: promo_catalog/new/
@@ -113,7 +115,7 @@ add_new_rule:
condition_aggregator: //ul[@id='conditions__%condition%__children']/li[%key%]/span[.//select[contains(@name,'aggregator')]]/a
condition_attribute: //ul[@id='conditions__%condition%__children']/li[%key%]/span[.//select[contains(@name,'attribute')]]/a
open_chosser: //ul[@id='conditions__%condition%__children']/li[%key%]//img[contains(@src,'rule_chooser_trigger')]
- confirm_choise: //ul[@id='conditions__%condition%__children']/li[%key%]//img[contains(@src,'rule_component_apply')]
+ confirm_choice: //ul[@id='conditions__%condition%__children']/li[%key%]//img[contains(@src,'rule_component_apply')]
root_category: //ul/div/li[contains(div/a/span,'%rootName%')]
sub_category: //*[@id='%parentCategoryId%']/ancestor::li/ul/li[contains(div/a/span,'%subName%') and not(div/a/span/@id='%parentCategoryId%')]
expand_category: //*[@id='%parentCategoryId%']/ancestor::div/img[contains(@class,'x-tree-elbow-plus') or contains(@class,'x-tree-elbow-end-plus')]
@@ -148,7 +150,7 @@ add_new_rule:
back: //button[span='Back']
reset: //button[span='Reset']
save_and_apply: //button[span='Save and Apply']
- save_rule: //button[span='Save Rule']
+ save_rule: //button[span='Save Rule' or span='Save']
save_and_continue_edit: //button[span='Save and Continue Edit']
messages: *catalogPriceRuleMessages
@@ -161,7 +163,7 @@ edit_rule_page:
back: //button[span='Back']
reset: //button[span='Reset']
save_and_apply: //button[span='Save and Apply']
- save_rule: //button[span='Save Rule']
+ save_rule: //button[span='Save Rule' or span='Save']
save_and_continue_edit: //button[span='Save and Continue Edit']
- delete_rule: //button[span='Delete Rule']
+ delete_rule: //button[span='Delete Rule' or span='Delete']
messages: *catalogPriceRuleMessages
View
4 data/Category.yml → ...ault/core/Mage/Category/data/Category.yml
@@ -74,8 +74,8 @@ root_category_all: &categoryAll
use_parent_category_settings: No
apply_to_products: Yes
custom_design: default
- active_from: 12/12/10
- active_to: 12/12/12
+ active_from: %currentDate%
+ active_to: %currentDate%
page_layout: 3 columns
custom_layout_update: Custom Layout Update
#Category Products
View
8 uimaps/admin/Category.yml → ...re/Mage/Category/uimap/admin/Category.yml
@@ -21,7 +21,7 @@
# @package selenium
# @subpackage uimaps
# @author Magento Core Team <core@magentocommerce.com>
-# @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
+# @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
# @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
#
---
@@ -35,7 +35,7 @@ manage_categories:
form:
fieldsets:
-
- categories_tree:
+ select_category:
xpath: //*[@id='page:left']/div
buttons:
add_root_category: //button[@id='add_root_category_button']
@@ -127,8 +127,8 @@ manage_categories:
category_products_search_sku: //input[@id='catalog_category_products_filter_sku']
category_products_search_price_from: //input[@id='catalog_category_products_filter_price_from']
category_products_search_price_to: //input[@id='catalog_category_products_filter_price_to']
- category_products_search_position_from: //input@id='catalog_category_products_filter_position_from']
- category_products_search_position_to: //input@id='catalog_category_products_filter_position_to']
+ category_products_search_position_from: //input[@id='catalog_category_products_filter_position_from']
+ category_products_search_position_to: //input[@id='catalog_category_products_filter_position_to']
category_products_position: %productXpath%//input[@name='position']
buttons:
reset: //button[span='Reset']
View
10 uimaps/frontend/Category.yml → ...Mage/Category/uimap/frontend/Category.yml
@@ -21,7 +21,7 @@
# @package selenium
# @subpackage uimaps
# @author Magento Core Team <core@magentocommerce.com>
-# @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
+# @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
# @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
#
---
@@ -74,7 +74,7 @@ category_page_before_reindex:
product_tagged: //div[@class='page-title']/h1[contains(.,'%tagName%')]
-
compare_products:
- xpath: //div[@class[contains(.,'block-compare')] and */ol[@id='compare-items']]
+ xpath: //div[contains(div/strong/span,'Compare Products')]
links:
compare_clear_all: //a[text()='Clear All']
compare_delete_product: //li[p='%productName%']/a
@@ -101,7 +101,7 @@ category_page_before_reindex:
vote: //li[span/label='%answer%']/input
-
newsletter:
- xpath: //div[@class='block block-subscribe']
+ xpath: //div[contains(@class,'subscribe')]
buttons:
subscribe: //button[span='Subscribe']
fields:
@@ -114,7 +114,7 @@ category_page_before_reindex:
view_all_tags: //a[text()='View All Tags']
messages: &categoryPageMessages
newsletter_invalid_email: //div[@class='validation-advice' and text()='Please enter a valid email address. For example johndoe@domain.com.']
- newsletter_reqired_field: //*[@id='advice-required-entry-newsletter']
+ newsletter_required_field: //*[@id='advice-required-entry-newsletter']
newsletter_success_subscription: //li[normalize-space(@class)='success-msg' and contains(.,'Thank you for your subscription.')]
newsletter_email_used: "//li[normalize-space(@class)='error-msg' and contains(.,'There was a problem with the subscription: This email address is already assigned to another user.')]"
newsletter_long_email: "//li[normalize-space(@class)='error-msg' and contains(.,'There was a problem with the subscription: Please enter a valid email address.')]"
@@ -135,7 +135,7 @@ sub_category_page_before_reindex:
uimap: *categoryUIMap
category_page_index:
- mca: %categoryUrl%.html%param%
+ mca: %categoryUrl%.html%categoryParam%
title: %categoryTitle%
uimap:
form: *categoryPage
View
391 fixture/default/core/Mage/Checkout/data/MultipleAddressesCheckout.yml
@@ -0,0 +1,391 @@
+#
+# Magento
+#
+# NOTICE OF LICENSE
+#
+# This source file is subject to the Academic Free License (AFL 3.0)
+# that is bundled with this package in the file LICENSE_AFL.txt.
+# It is also available through the world-wide-web at this URL:
+# http://opensource.org/licenses/afl-3.0.php
+# If you did not receive a copy of the license and are unable to
+# obtain it through the world-wide-web, please send an email
+# to license@magentocommerce.com so we can send you a copy immediately.
+#
+# DISCLAIMER
+#
+# Do not edit or add to this file if you wish to upgrade Magento to newer
+# versions in the future. If you wish to customize Magento for your
+# needs please refer to http://www.magentocommerce.com for more information.
+#
+# @category tests
+# @package selenium
+# @subpackage test-data
+# @author Magento Core Team <core@magentocommerce.com>
+# @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
+# @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
+#
+---
+#Test data for Multiple Addresses Checkout(Frontend)
+################################################################################
+# #
+# Address Data #
+# #
+################################################################################
+register_data_special:
+ first_name: %specialValue15%
+ last_name: %specialValue15%
+ email: multiple_checkout_%randomize%@unknown-domain.com
+ sign_up_newsletter: No
+ company: %specialValue15%
+ telephone: %specialValue15%
+ street_address_1: %specialValue15%
+ street_address_2: %specialValue15%
+ city: %specialValue15%
+ state: %noValue%
+ region: %specialValue15%
+ zip_code: %specialValue15%
+ country: Ukraine
+ password: 123123q
+ password_confirmation: 123123q
+
+register_data_long:
+ first_name: %longValue255%
+ last_name: %longValue255%
+ email: multiple_checkout_%randomize%@unknown-domain.com
+ sign_up_newsletter: No
+ company: %longValue255%
+ telephone: %longValue255%
+ street_address_1: %longValue255%
+ street_address_2: %longValue255%
+ city: %longValue255%
+ state: %noValue%
+ region: %longValue255%
+ zip_code: %longValue255%
+ country: Ukraine
+ password: 123123q
+ password_confirmation: 123123q
+
+special_symbols:
+ first_name: %specialValue15%
+ last_name: %specialValue15%
+ company: %specialValue15%
+ street_address_1: %specialValue15%
+ street_address_2: %specialValue15%
+ city: %specialValue15%
+ country: Ukraine
+ state: %noValue%
+ region: %specialValue15%
+ zip_code: %specialValue15%
+ telephone: %specialValue15%
+ fax: %specialValue15%
+
+long_values:
+ first_name: %longValue255%
+ last_name: %longValue255%
+ company: %longValue255%
+ street_address_1: %longValue255%
+ street_address_2: %longValue255%
+ city: %longValue255%
+ country: Ukraine
+ state: %noValue%
+ region: %longValue255%
+ zip_code: %longValue255%
+ telephone: %longValue255%
+ fax: %longValue255%
+
+shipping_france_1: &shipping_france_1
+ first_name: Michèle
+ last_name: St-Pierre
+ company: %noValue%
+ street_address_1: 10, rue Jean Vilar
+ street_address_2: %noValue%
+ city: Bergerac
+ country: France
+ state: Dordogne
+ region: %noValue%
+ zip_code: 24100
+ telephone: 05 53 57 11 61
+ fax: %noValue%
+
+shipping_france_2: &shipping_france_2
+ first_name: Jean
+ last_name: Reno
+ company: %noValue%
+ street_address_1: 13, rue Jean Vilar
+ street_address_2: %noValue%
+ city: Bergerac
+ country: France
+ state: Dordogne
+ region: %noValue%
+ zip_code: 24100
+ telephone: 06 88 07 44 27
+ fax: %noValue%
+################################################################################
+# #
+# Checkout Method #
+# #
+################################################################################
+multiple_register: &register
+ checkout_method: register
+
+multiple_login: &login
+ checkout_method: login
+ additional_data:
+ email: %noValue%
+ password: 123123q
+################################################################################
+# #
+# Order Data with Register Customer #
+# #
+################################################################################
+multiple_with_register:
+ products_to_add:
+ product_1:
+ product_name: %product_1%
+ options: %option_product_1%
+ product_2:
+ product_name: %product_2%
+ options: %option_product_2%
+ checkout_as_customer: *register
+ general_customer_data:
+ first_name: %randomize%_first_name
+ last_name: %randomize%_last_name
+ email: multiple_checkout_%randomize%@unknown-domain.com
+ sign_up_newsletter: No
+ company: %noValue%
+ telephone: 732-757-2923
+ street_address_1: street_address_%randomize%
+ street_address_2: suite %randomize%
+ city: Los Angelos
+ state: California
+ region: %noValue%
+ zip_code: 90064
+ country: United States
+ password: 123123q
+ password_confirmation: 123123q
+ shipping_data: &shipping_data
+ address_data_1:
+ address:
+ first_name: John
+ last_name: Doe
+ company: %noValue%
+ telephone: 732-757-2923
+ fax: %noValue%
+ street_address_1: street_address_1
+ street_address_2: suite 1
+ city: Los Angelos
+ state: California
+ region: %noValue%
+ zip_code: 90064
+ country: United States
+ products:
+ product_1:
+ product_name: %product_1%
+ product_qty: 2
+ shipping:
+ shipping_service: Flat Rate
+ shipping_method: Fixed
+ address_data_2:
+ address:
+ first_name: Chuck
+ last_name: Norris
+ company: %noValue%
+ telephone: 530-918-3581
+ fax: %noValue%
+ street_address_1: street_address_2
+ street_address_2: suite 2
+ city: Culver City
+ state: California
+ region: %noValue%
+ zip_code: 90232
+ country: United States
+ products:
+ product_1:
+ product_name: %product_2%
+ product_qty: 2
+ shipping:
+ shipping_service: Flat Rate
+ shipping_method: Fixed
+ payment_data: &payment_data
+ billing_address:
+ first_name: Charlie
+ last_name: Pane
+ company: %noValue%
+ telephone: 732-757-2923
+ fax: %noValue%
+ street_address_1: street_address_3
+ street_address_2: suite 3
+ city: Los Angelos
+ state: California
+ region: %noValue%
+ zip_code: 90064
+ country: United States
+ payment:
+ payment_method: Check / Money order
+
+multiple_with_register_france:
+ products_to_add:
+ product_1:
+ product_name: %product_1%
+ options: %option_product_1%
+ product_2:
+ product_name: %product_2%
+ options: %option_product_2%
+ checkout_as_customer: *register
+ general_customer_data:
+ first_name: %randomize%_first_name
+ last_name: %randomize%_last_name
+ email: multiple_checkout_%randomize%@unknown-domain.com
+ sign_up_newsletter: No
+ company: %noValue%
+ telephone: 732-757-2923
+ street_address_1: street_address_%randomize%
+ street_address_2: suite %randomize%
+ city: Los Angelos
+ state: California
+ region: %noValue%
+ zip_code: 90064
+ country: United States
+ password: 123123q
+ password_confirmation: 123123q
+ shipping_data: &shipping_data_france
+ address_data_1:
+ address: *shipping_france_1
+ products:
+ product_1:
+ product_name: %product_1%
+ product_qty: 2
+ shipping:
+ shipping_service: Flat Rate
+ shipping_method: Fixed
+ address_data_2:
+ address: *shipping_france_2
+ products:
+ product_1:
+ product_name: %product_2%
+ product_qty: 2
+ shipping:
+ shipping_service: Flat Rate
+ shipping_method: Fixed
+ payment_data:
+ billing_address:
+ first_name: Charlie
+ last_name: Pane
+ company: %noValue%
+ telephone: 732-757-2923
+ fax: %noValue%
+ street_address_1: street_address_3
+ street_address_2: suite 3
+ city: Los Angelos
+ state: California
+ region: %noValue%
+ zip_code: 90064
+ country: United States
+ payment:
+ payment_method: Check / Money order
+################################################################################
+# #
+# Order Data for Signed in Customer #
+# #
+################################################################################
+multiple_with_signed_in:
+ products_to_add:
+ product_1:
+ product_name: %product_1%
+ options: %option_product_1%
+ product_2:
+ product_name: %product_2%
+ options: %option_product_2%
+ general_customer_data:
+ first_name: %randomize%_first_name
+ last_name: %randomize%_last_name
+ company: %noValue%
+ telephone: 732-757-2923
+ fax: %noValue%
+ street_address_1: street_address_%randomize%
+ street_address_2: suite %randomize%
+ city: Los Angelos
+ state: California
+ region: %noValue%
+ zip_code: 90064
+ country: United States
+ shipping_data: *shipping_data
+ payment_data: *payment_data
+
+multiple_with_signed_in_france:
+ products_to_add:
+ product_1:
+ product_name: %product_1%
+ options: %option_product_1%
+ product_2:
+ product_name: %product_2%
+ options: %option_product_2%
+ general_customer_data:
+ first_name: %randomize%_first_name
+ last_name: %randomize%_last_name
+ company: %noValue%
+ telephone: 732-757-2923
+ fax: %noValue%
+ street_address_1: street_address_%randomize%
+ street_address_2: suite %randomize%
+ city: Los Angelos
+ state: California
+ region: %noValue%
+ zip_code: 90064
+ country: United States
+ shipping_data: *shipping_data_france
+ payment_data: *payment_data
+################################################################################
+# #
+# Order Data with logging Customer #
+# #
+################################################################################
+multiple_with_login:
+ products_to_add:
+ product_1:
+ product_name: %product_1%
+ options: %option_product_1%
+ product_2:
+ product_name: %product_2%
+ options: %option_product_2%
+ checkout_as_customer: *login
+ general_customer_data:
+ first_name: %randomize%_first_name
+ last_name: %randomize%_last_name
+ company: %noValue%
+ telephone: 732-757-2923
+ fax: %noValue%
+ street_address_1: street_address_%randomize%
+ street_address_2: suite %randomize%
+ city: Los Angelos
+ state: California
+ region: %noValue%
+ zip_code: 90064
+ country: United States
+ shipping_data: *shipping_data
+ payment_data: *payment_data
+
+multiple_with_login_france:
+ products_to_add:
+ product_1:
+ product_name: %product_1%
+ options: %option_product_1%
+ product_2:
+ product_name: %product_2%
+ options: %option_product_2%
+ checkout_as_customer: *login
+ general_customer_data:
+ first_name: %randomize%_first_name
+ last_name: %randomize%_last_name
+ company: %noValue%
+ telephone: 732-757-2923
+ fax: %noValue%
+ street_address_1: street_address_%randomize%
+ street_address_2: suite %randomize%
+ city: Los Angelos
+ state: California
+ region: %noValue%
+ zip_code: 90064
+ country: United States
+ shipping_data: *shipping_data_france
+ payment_data: *payment_data
View
225 data/OnePageCheckout.yml → ...re/Mage/Checkout/data/OnePageCheckout.yml
@@ -183,7 +183,7 @@ billing_with_register_req_physical_withshipping: &billingWithRegisterReqWithShip
billing_address_choice: New Address
billing_first_name: Steven(billing.req)
billing_last_name: Stevenson(billing.req)
- billing_email: onepage_checkout_%randomize%@example.com
+ billing_email: onepage_checkout_%randomize%@unknown-domain.com
billing_company: %noValue%
billing_street_address_1: street address 1(billing.req)
billing_street_address_2: %noValue%
@@ -203,7 +203,7 @@ billing_with_register_req_physical: &billingWithRegisterReq
billing_address_choice: New Address
billing_first_name: Steven(billing.req)
billing_last_name: Stevenson(billing.req)
- billing_email: onepage_checkout_%randomize%@example.com
+ billing_email: onepage_checkout_%randomize%@unknown-domain.com
billing_company: %noValue%
billing_street_address_1: street address 1(billing.req)
billing_street_address_2: %noValue%
@@ -223,7 +223,7 @@ billing_with_register_req_virtual: &billingWithRegisterReqVirtual
billing_address_choice: New Address
billing_first_name: Steven(billing.req)
billing_last_name: Stevenson(billing.req)
- billing_email: onepage_checkout_%randomize%@example.com
+ billing_email: onepage_checkout_%randomize%@unknown-domain.com
billing_company: %noValue%
billing_street_address_1: street address 1(billing.req)
billing_street_address_2: %noValue%
@@ -242,7 +242,7 @@ billing_with_register_long_values: &billingWithRegisterLongValues
billing_first_name: %longValue255%
billing_last_name: %longValue255%
billing_company: %longValue255%
- billing_email: onepage_checkout_%randomize%@example.com
+ billing_email: onepage_checkout_%randomize%@unknown-domain.com
billing_street_address_1: %longValue255%
billing_street_address_2: %longValue255%
billing_city: %longValue255%
@@ -261,7 +261,7 @@ billing_with_register_long_values: &billingWithRegisterSpecialValues
billing_first_name: %specialValue32%
billing_last_name: %specialValue32%
billing_company: %specialValue32%
- billing_email: onepage_checkout_%randomize%@example.com
+ billing_email: onepage_checkout_%randomize%@unknown-domain.com
billing_street_address_1: %specialValue32%
billing_street_address_2: %specialValue32%
billing_city: %specialValue32%
@@ -279,7 +279,7 @@ billing_with_register_withshipping_usa: &billingWithRegisterWithShippingUsa
billing_address_choice: New Address
billing_first_name: Steven(billing.req)
billing_last_name: Stevenson(billing.req)
- billing_email: onepage_checkout_%randomize%@example.com
+ billing_email: onepage_checkout_%randomize%@unknown-domain.com
billing_company: %noValue%
billing_street_address_1: street address 1(billing.req)
billing_street_address_2: %noValue%
@@ -299,7 +299,7 @@ billing_with_register_withshipping_france: &billingWithRegisterWithShippingFranc
billing_address_choice: New Address
billing_first_name: Jean
billing_last_name: Reno
- billing_email: onepage_checkout_%randomize%@example.com
+ billing_email: onepage_checkout_%randomize%@unknown-domain.com
billing_company: %noValue%
billing_street_address_1: 13, rue Jean Vilar
billing_street_address_2: %noValue%
@@ -320,7 +320,7 @@ billing_guest_req_virtual: &billingGuestReqVirtual
billing_address_choice: New Address
billing_first_name: Steven(billing.req)
billing_last_name: Stevenson(billing.req)
- billing_email: onepage_checkout_%randomize%@example.com
+ billing_email: onepage_checkout_%randomize%@unknown-domain.com
billing_company: %noValue%
billing_street_address_1: street address 1(billing.req)
billing_street_address_2: %noValue%
@@ -336,7 +336,7 @@ billing_guest_req_physical_withshipping: &guestBillingReqWithShipping
billing_address_choice: New Address
billing_first_name: Steven(billing.req)
billing_last_name: Stevenson(billing.req)
- billing_email: onepage_checkout_%randomize%@example.com
+ billing_email: onepage_checkout_%randomize%@unknown-domain.com
billing_company: %noValue%
billing_street_address_1: street address 1(billing.req)
billing_street_address_2: %noValue%
@@ -354,7 +354,7 @@ billing_guest_withshipping_usa: &guestBillingWithShippingUsa
billing_address_choice: New Address
billing_first_name: Steven(billing.req)
billing_last_name: Stevenson(billing.req)
- billing_email: onepage_checkout_%randomize%@example.com
+ billing_email: onepage_checkout_%randomize%@unknown-domain.com
billing_company: %noValue%
billing_street_address_1: street address 1(billing.req)
billing_street_address_2: %noValue%
@@ -372,7 +372,7 @@ billing_guest_withshipping_france: &guestBillingWithShippingFrance
billing_address_choice: New Address
billing_first_name: Jean
billing_last_name: Reno
- billing_email: onepage_checkout_%randomize%@example.com
+ billing_email: onepage_checkout_%randomize%@unknown-domain.com
billing_company: %noValue%
billing_street_address_1: 13, rue Jean Vilar
billing_street_address_2: %noValue%
@@ -473,106 +473,6 @@ shipping_with_register_long_values: &shippingWithRegisterSpecialValues
use_billing_address: No
################################################################################
# #
-# Payment Card Data #
-# #
-################################################################################
-
-front_saved_visa: &visaSavedCC
- name_on_card: 'Test Account'
- card_type: 'Visa'
- card_number: '4000000000000002'
- expiration_month: '07 - July'
- expiration_year: '2020'
- card_verification_number: '111'
-
-front_else_visa: &visaElse
- card_type: 'Visa'
- #card_number: '4832011527418035'
- card_number: '4111111111111111'
- expiration_month: '07 - July'
- expiration_year: '2020'
- card_verification_number: '111'
-
-front_else_mastercard: &mastercardElse
- card_type: 'MasterCard'
- card_number: 5200000000000007
- expiration_month: '07 - July'
- expiration_year: '2020'
- card_verification_number: '111'
-
-################################################################################
-# #
-# Payment Method #
-# #
-################################################################################
-front_payment_checkmoney: &checkMoney
- payment_method: Check / Money order
-
-front_payment_savedcc: &savedCCVisa
- payment_method: Credit Card (saved)
- payment_info: *visaSavedCC
-
-front_payment_paypaldirectuk: &paypalDirectUkMastercard
- payment_method: PayPal Direct Payment Payflow Edition
- payment_info: *mastercardElse
-
-front_payment_paypaldirect: &paypalDirectMastercard
- payment_method: PayPal Direct Payment
- payment_info: *mastercardElse
-
-front_payment_payflowpro: &payfloProVisa
- payment_method: Payflow Pro
- payment_info: *visaElse
-
-front_payment_authorizenet: &authorizeNetVisa
- payment_method: Credit Card (Authorize.net)
- payment_info: *visaElse
-
-################################################################################
-# #
-# Shipping Method #
-# #
-################################################################################
-front_shipping_flatrate: &flatRate
- shipping_service: Flat Rate
- shipping_method: Fixed
-
-front_shipping_free: &freeShipping
- shipping_service: Free Shipping
- shipping_method: Free
-
-front_shipping_ups: &ups
- shipping_service: United Parcel Service
- shipping_method: Ground
-
-front_shipping_upsxml: &upsXml
- shipping_service: United Parcel Service XML
- shipping_method: UPS Ground
-
-front_shipping_usps: &usps
- shipping_service: United States Postal Service
- shipping_method: Express Mail Flat Rate Envelope Hold For Pickup
-
-front_shipping_fedex: &fedex
- shipping_service: Federal Express
- shipping_method: Home Delivery
-
-front_shipping_dhl:
- shipping_service: DHL
- shipping_method: International Express
-
-# Data for a release after CE1.6.2
-#
-#front_shipping_dhl_usa: &dhl_usa
-# shipping_service: DHL USA
-# shipping_method: Express
-#
-#front_shipping_dhl_int: &dhl_int
-# shipping_service: DHL
-# shipping_method: Express easy
-
-################################################################################
-# #
# Order Data for Signed In Customer #
# #
################################################################################
@@ -582,8 +482,11 @@ signedin_flatrate_checkmoney_different_address:
general_name: %noValue%
billing_address_data: *newBillingSignedInReqPhysical
shipping_address_data: *newShippingSignedInReq
- shipping_data: *flatRate
- payment_data: *checkMoney
+ shipping_data:
+ shipping_service: Flat Rate
+ shipping_method: Fixed
+ payment_data:
+ payment_method: Check / Money order
signedin_flatrate_checkmoney_use_billing_in_shipping:
products_to_add:
@@ -593,8 +496,11 @@ signedin_flatrate_checkmoney_use_billing_in_shipping:
shipping_address_data:
shipping_address_choice: New Address
use_billing_address: Yes
- shipping_data: *flatRate
- payment_data: *checkMoney
+ shipping_data:
+ shipping_service: Flat Rate
+ shipping_method: Fixed
+ payment_data:
+ payment_method: Check / Money order
signedin_flatrate_checkmoney_long_address:
products_to_add:
@@ -602,8 +508,11 @@ signedin_flatrate_checkmoney_long_address:
general_name: %noValue%
billing_address_data: *newBillingSignedInLongValues
shipping_address_data: *newShippingSignedInLongValues
- shipping_data: *flatRate
- payment_data: *checkMoney
+ shipping_data:
+ shipping_service: Flat Rate
+ shipping_method: Fixed
+ payment_data:
+ payment_method: Check / Money order
signedin_flatrate_checkmoney_special_address:
produc