<?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="AdminCreateApiConfigurableProductWithHiddenChildActionGroup" extends="AdminCreateApiConfigurableProductActionGroup">
        <annotations>
            <description>EXTENDS: AdminCreateApiConfigurableProductActionGroup. Adds 2 Hidden Product Options.</description>
        </annotations>

        <!-- Create the 2 children that will be a part of the configurable product -->
        <createData entity="ApiSimpleOneHidden" stepKey="createConfigChildProduct1">
            <requiredEntity createDataKey="createConfigProductAttribute"/>
            <requiredEntity createDataKey="getConfigAttributeOption1"/>
        </createData>
        <createData entity="ApiSimpleTwoHidden" stepKey="createConfigChildProduct2">
            <requiredEntity createDataKey="createConfigProductAttribute"/>
            <requiredEntity createDataKey="getConfigAttributeOption2"/>
        </createData>
    </actionGroup>
</actionGroups>
