<?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="CheckingGiftOptionsActionGroup">
        <annotations>
            <description>Clicks on Checkout with Multiple Addresses. Clicks on Add Gift option. Validates that the Success Message is present and correct. PLEASE NOTE: The message is Hardcoded.</description>
        </annotations>
        
        <click stepKey="clickOnCheckoutWithMultipleAddresses" selector="{{MultishippingSection.checkoutWithMultipleAddresses}}"/>
        <waitForPageLoad stepKey="waitForPageLoad1"/>
        <click stepKey="goToShippingInformation" selector="{{AdminShipmentAddressInformationSection.goToShippingInformation}}"/>
        <waitForPageLoad stepKey="waitForGiftOption"/>
        <click stepKey="thickAddGiftOptions" selector="{{GiftOptionsOnFrontSection.giftOptionCheckbox}}"/>
        <waitForPageLoad stepKey="waitForOptions"/>
        <see stepKey="seeAddGiftOptionsForIndividualItems" userInput="Add Gift Options for Individual Items"/>
        <dontSee stepKey="dontSeeOtherElement1" userInput="Send Gift Receipt"/>
        <dontSee stepKey="dontSeeOtherElement2" userInput="Add Printed Card"/>
    </actionGroup>
</actionGroups>
