<?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">
    <actionGroup name="AdminAssertProductAttributeInAttributeGridActionGroup">
        <annotations>
            <description>Assert columns label, visible, searchable and comparable for attribute on the product attribute grid</description>
        </annotations>
        <arguments>
            <argument name="productAttributeLabel" type="string"/>
            <argument name="productAttributeVisible" defaultValue="Yes" type="string"/>
            <argument name="productAttributeSearch" defaultValue="Yes" type="string"/>
            <argument name="productAttributeCompare" defaultValue="No" type="string"/>
        </arguments>
        <see selector="{{AdminProductAttributeGridSection.defaultLabelColumn}}" userInput="{{productAttributeLabel}}" stepKey="seeDefaultLabel"/>
        <see selector="{{AdminProductAttributeGridSection.isVisibleColumn}}" userInput="{{productAttributeVisible}}" stepKey="seeIsVisibleColumn"/>
        <see selector="{{AdminProductAttributeGridSection.isSearchableColumn}}" userInput="{{productAttributeSearch}}" stepKey="seeSearchableColumn"/>
        <see selector="{{AdminProductAttributeGridSection.isComparableColumn}}" userInput="{{productAttributeCompare}}" stepKey="seeComparableColumn"/>
    </actionGroup>
</actionGroups>
