<?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="SetCategoryByNameActionGroup">
        <annotations>
            <description>Sets the provided Category Name for a Product on the Product creation/edit page.</description>
        </annotations>
        <arguments>
            <argument name="categoryName" type="string"/>
        </arguments>

        <searchAndMultiSelectOption selector="{{AdminProductFormSection.categoriesDropdown}}" parameterArray="[{{categoryName}}]" stepKey="searchAndSelectCategory"/>
    </actionGroup>
</actionGroups>
