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

<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
              xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd">
    <!-- Check Default Value for Disable Automatic Group Changes Based on VAT ID in Customer Form -->
    <actionGroup name="AdminAssertDefaultValueDisableAutoGroupInCustomerFormActionGroup">
        <annotations>
            <description>Check Default Value for Disable Automatic Group Changes Based on VAT ID in Create Customer form.</description>
        </annotations>
        <arguments>
            <argument name="isChecked" type="string"/>
        </arguments>

        <grabValueFrom selector="{{AdminCustomerAccountInformationSection.disableAutomaticGroupChange}}" stepKey="grabDisableAutomaticGroupChange"/>
        <assertEquals stepKey="assertDisableAutomaticGroupChangeNo" message="pass">
            <expectedResult type="string">{{isChecked}}</expectedResult>
            <actualResult type="variable">grabDisableAutomaticGroupChange</actualResult>
        </assertEquals>
    </actionGroup>
</actionGroups>
