Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 
 
 
 

44 строки
3.9 KiB

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. /**
  4. * Copyright © Magento, Inc. All rights reserved.
  5. * See COPYING.txt for license details.
  6. */
  7. -->
  8. <sections xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  9. xsi:noNamespaceSchemaLocation="urn:magento:mftf:Page/etc/SectionObject.xsd">
  10. <section name="CheckoutCartSummarySection">
  11. <element name="itemsInCartLabel" type="text" selector="//*[@id='opc-sidebar']/div[1]/div/div[1]/strong/span[2]"/>
  12. <element name="orderTotal" type="input" selector=".grand.totals .amount .price"/>
  13. <element name="subTotal" type="input" selector="span[data-th='Subtotal']"/>
  14. <element name="expandShoppingCartSummary" type="button" selector="//*[contains(@class, 'items-in-cart')][not(contains(@class, 'active'))]"/>
  15. <element name="elementPosition" type="text" selector=".data.table.totals > tbody tr:nth-of-type({{value}}) > th" parameterized="true"/>
  16. <element name="subtotal" type="text" selector="//*[@id='cart-totals']//tr[@class='totals sub']//td//span[@class='price']"/>
  17. <element name="shippingMethodForm" type="text" selector="#co-shipping-method-form"/>
  18. <element name="shippingMethod" type="text" selector="//*[@id='cart-totals']//tr[@class='totals shipping excl']//th//span[@class='value']"/>
  19. <element name="shipping" type="text" selector="//*[@id='cart-totals']//tr[@class='totals shipping excl']//td//span[@class='price']"/>
  20. <element name="shippingAmount" type="text" selector="//*[@id='cart-totals']//tr[@class='totals shipping excl']//td//span[@class='price' and contains(text(), '{{amount}}')]" parameterized="true"/>
  21. <element name="total" type="text" selector="//*[@id='cart-totals']//tr[@class='grand totals']//td//span[@class='price']"/>
  22. <element name="totalAmount" type="text" selector="//*[@id='cart-totals']//tr[@class='grand totals']//td//span[@class='price' and contains(text(), '{{amount}}')]" parameterized="true"/>
  23. <element name="proceedToCheckout" type="button" selector=".action.primary.checkout span" timeout="30"/>
  24. <element name="discountAmount" type="text" selector="td[data-th='Discount']"/>
  25. <element name="shippingHeading" type="button" selector="#block-shipping-heading" timeout="10"/>
  26. <element name="postcode" type="input" selector="input[name='postcode']" timeout="10"/>
  27. <element name="stateProvince" type="select" selector="select[name='region_id']" timeout="10"/>
  28. <element name="stateProvinceInput" type="input" selector="input[name='region']"/>
  29. <element name="country" type="select" selector="select[name='country_id']" timeout="10"/>
  30. <element name="countryParameterized" type="select" selector="select[name='country_id'] > option:nth-child({{var}})" timeout="10" parameterized="true"/>
  31. <element name="estimateShippingAndTax" type="text" selector="#block-shipping-heading" timeout="5"/>
  32. <element name="flatRateShippingMethod" type="input" selector="#s_method_flatrate_flatrate" timeout="30"/>
  33. <element name="estimateShippingAndTaxSummary" type="text" selector="#block-summary"/>
  34. <element name="shippingMethodLabel" type="text" selector="#co-shipping-method-form dl dt span"/>
  35. <element name="methodName" type="text" selector="#co-shipping-method-form label"/>
  36. <element name="shippingPrice" type="text" selector="#co-shipping-method-form span .price"/>
  37. <element name="shippingMethodElementId" type="radio" selector="#s_method_{{carrierCode}}_{{methodCode}}" parameterized="true" timeout="30"/>
  38. <element name="estimateShippingAndTaxForm" type="block" selector="#shipping-zip-form"/>
  39. <element name="proceedToCheckoutDisabled" type="button" selector=".action.primary.checkout.disabled" timeout="60"/>
  40. <element name="checkoutWithMultipleAddresses" type="button" selector=".cart-summary .action.multicheckout"/>
  41. </section>
  42. </sections>