<?xml version="1.0" encoding="UTF-8"?>
<!--
 /**
  * Copyright © Magento, Inc. All rights reserved.
  * See COPYING.txt for license details.
  */
-->

<sections xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:noNamespaceSchemaLocation="urn:magento:mftf:Page/etc/SectionObject.xsd">
    <section name="CheckoutSuccessMainSection">
        <element name="successTitle" type="text" selector=".page-title"/>
        <element name="success" type="text" selector="div.checkout-success"/>
        <element name="orderNumber" type="text" selector="div.checkout-success > p:nth-child(1) > span"/>
        <element name="orderNumber22" type="text" selector=".order-number>strong"/>
        <element name="orderLink" type="text" selector="a[href*=order_id].order-number" timeout="30"/>
        <element name="orderLinks" type="text" selector="a[href*=order_id]" timeout="30"/>
        <element name="orderNumberText" type="text" selector=".checkout-success > p:nth-child(1)"/>
        <element name="continueShoppingButton" type="button" selector=".action.primary.continue" timeout="30"/>
        <element name="createAnAccount" type="button" selector="[data-bind*=&quot;i18n: 'Create an Account'&quot;]" timeout="30"/>
        <element name="printLink" type="button" selector=".print" timeout="30"/>
        <element name="orderNumberWithoutLink" type="text" selector="//div[contains(@class, 'checkout-success')]//p/span"/>
        <element name="orderLinkByOrderNumber" type="text" selector="//div[contains(@class,'success')]//a[contains(.,'{{orderNumber}}')]" parameterized="true" timeout="30"/>
    </section>
</sections>
