<?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="VertexCheckInvoiceSuccessNoteActionGroup">
        <arguments>
            <argument type="string" name="amount"/>
            <argument type="string" name="currency" defaultValue="USD" />
            <argument type="string" name="locale" defaultValue="en_US"/>
        </arguments>

        <formatCurrency stepKey="formatMoney" currency="{{currency}}" locale="{{locale}}" userInput="{{amount}}"/>

        <see stepKey="seeNote" selector="{{AdminOrderNotesSection.noteContaining('Vertex Invoice sent successfully.')}}" userInput="$formatMoney"/>
    </actionGroup>
</actionGroups>
