<?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="VertexCheckProductAndShippingTaxTotalsInCheckoutAreDifferentValuesActionGroup">
        <arguments>
            <argument name="product" type="string"/>
            <argument name="shipping" type="string"/>
        </arguments>

        <conditionalClick selector="{{StorefrontCheckoutPaymentSection.taxSummary}}" dependentSelector="{{StorefrontCheckoutCartSummarySection.taxRateByName('Sales and Use')}}" visible="false" stepKey="showTaxSummary"/>

        <dontSee stepKey="assertSalesAndUseTaxValueIsDifferent" selector="{{StorefrontCheckoutPaymentSection.taxRateByName('Sales and Use')}}" userInput="${{product}}"/>
        <dontSee stepKey="assertShippingTaxValueIsDifferent" selector="{{StorefrontCheckoutPaymentSection.taxRateByName('Shipping')}}" userInput="${{shipping}}"/>
    </actionGroup>
</actionGroups>
