<?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="VertexAdminAssertSuggestedBillingAddressActionGroup">
        <annotations>
            <description>Assert that a message indicating the address can be improved is displayed</description>
        </annotations>
        <arguments>
            <argument type="string" name="Street1" defaultValue=""/>
            <argument type="string" name="Street2" defaultValue=""/>
            <argument type="string" name="City" defaultValue=""/>
            <argument type="string" name="State" defaultValue=""/>
            <argument type="string" name="PostalCode" defaultValue=""/>
        </arguments>

        <see stepKey="assertSeeStreet1" selector="{{AdminOrderFormBillingAddressSection.VertexMessageDifference}}" userInput="{{Street1}}"/>
        <see stepKey="assertSeeStreet2" selector="{{AdminOrderFormBillingAddressSection.VertexMessageDifference}}" userInput="{{Street2}}"/>
        <see stepKey="assertSeeCity" selector="{{AdminOrderFormBillingAddressSection.VertexMessageDifference}}" userInput="{{City}}"/>
        <see stepKey="assertSeeState" selector="{{AdminOrderFormBillingAddressSection.VertexMessageDifference}}" userInput="{{State}}"/>
        <see stepKey="assertSeePostalCode" selector="{{AdminOrderFormBillingAddressSection.VertexMessageDifference}}" userInput="{{PostalCode}}"/>
    </actionGroup>
</actionGroups>
