<?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 for the product link. -->
    <!-- Assumes web client is on Grouped Product Page -->
    <actionGroup name="AssertLinkPresenceOnGroupedProductPage">
        <annotations>
            <description>Validates that the provided Product Name is present and correct on a Storefront Grouped Product page.</description>
        </annotations>
        <arguments>
            <argument name="productName" type="string"/>
        </arguments>

        <see selector="{{StorefrontProductInfoMainSection.groupedProductsTable}}" userInput="{{productName}}" stepKey="seeFirstStagedGroupedProduct"/>
    </actionGroup>
</actionGroups>
