<?xml version="1.0" encoding="UTF-8"?>
<!--
 /**
  * @copyright  Vertex. All rights reserved.  https://www.vertexinc.com/
  * @author     Mediotype                     https://www.mediotype.com/
  */
-->
<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
              xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd">
    <actionGroup name="VertexCheckProductPricingInAdminInvoiceViewActionGroup">
        <arguments>
            <argument name="product"/>
            <argument type="string" name="priceExclTax"/>
            <argument type="string" name="priceInclTax"/>
            <argument type="string" name="subtotalExclTax"/>
            <argument type="string" name="subtotalInclTax"/>
            <argument type="string" name="tax"/>
            <argument type="string" name="discount"/>
            <argument type="string" name="rowTotal"/>
        </arguments>

        <see stepKey="seePriceExclTax" userInput="{{priceExclTax}}" selector="{{AdminInvoiceItemsOrderedSection.itemPriceExclTaxByName(product.name)}}"/>
        <see stepKey="seePriceInclTax" userInput="{{priceInclTax}}" selector="{{AdminInvoiceItemsOrderedSection.itemPriceInclTaxByName(product.name)}}"/>
        <see stepKey="seeSubtotalExclTax" userInput="{{subtotalExclTax}}" selector="{{AdminInvoiceItemsOrderedSection.itemSubtotalExclTaxByName(product.name)}}"/>
        <see stepKey="seeSubtotalInclTax" userInput="{{subtotalInclTax}}" selector="{{AdminInvoiceItemsOrderedSection.itemSubtotalInclTaxByName(product.name)}}"/>
        <see stepKey="seeTax" userInput="{{tax}}" selector="{{AdminInvoiceItemsOrderedSection.itemTaxByName(product.name)}}"/>
        <see stepKey="seeDiscount" userInput="{{discount}}" selector="{{AdminInvoiceItemsOrderedSection.itemDiscountByName(product.name)}}"/>
        <see stepKey="seeRowTotal" userInput="{{rowTotal}}" selector="{{AdminInvoiceItemsOrderedSection.itemTotalByName(product.name)}}"/>
    </actionGroup>
</actionGroups>
