<?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="AddBundleOptionWithOneProductActionGroup" extends="AddBundleOptionWithTwoProductsActionGroup">
        <annotations>
            <description>Requires Navigation to the Product Creation page. Adds Bundle Option with One Product as specified in arguments. 'x' refers to Bundle option number. 'n' refers to the first number after x.</description>
        </annotations>

        <remove keyForRemoval="openProductFilters2"/>
        <remove keyForRemoval="fillProductSkuFilter2"/>
        <remove keyForRemoval="clickApplyFilters2"/>
        <remove keyForRemoval="waitForFilteredGridLoad2"/>
        <remove keyForRemoval="selectProduct2"/>
        <remove keyForRemoval="selectProduct2"/>
        <remove keyForRemoval="fillQuantity1"/>
        <remove keyForRemoval="fillQuantity2"/>
        <fillField selector="{{AdminProductFormBundleSection.bundleOptionXProductYQuantity(x, '0')}}" userInput="1" stepKey="fillQuantity" after="clickAddButton1"/>
    </actionGroup>
</actionGroups>
