You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

26 lines
1.6 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="CheckoutSuccessMainSection">
  11. <element name="successTitle" type="text" selector=".page-title"/>
  12. <element name="success" type="text" selector="div.checkout-success"/>
  13. <element name="orderNumber" type="text" selector="div.checkout-success > p:nth-child(1) > span"/>
  14. <element name="orderNumber22" type="text" selector=".order-number>strong"/>
  15. <element name="orderLink" type="text" selector="a[href*=order_id].order-number" timeout="30"/>
  16. <element name="orderLinks" type="text" selector="a[href*=order_id]" timeout="30"/>
  17. <element name="orderNumberText" type="text" selector=".checkout-success > p:nth-child(1)"/>
  18. <element name="continueShoppingButton" type="button" selector=".action.primary.continue" timeout="30"/>
  19. <element name="createAnAccount" type="button" selector="[data-bind*=&quot;i18n: 'Create an Account'&quot;]" timeout="30"/>
  20. <element name="printLink" type="button" selector=".print" timeout="30"/>
  21. <element name="orderNumberWithoutLink" type="text" selector="//div[contains(@class, 'checkout-success')]//p/span"/>
  22. <element name="orderLinkByOrderNumber" type="text" selector="//div[contains(@class,'success')]//a[contains(.,'{{orderNumber}}')]" parameterized="true" timeout="30"/>
  23. </section>
  24. </sections>