<?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="StorefrontPickInStoreActionGroup">
        <annotations>
            <description>Clicks on the 'In Store Pickup' Button on the Storefront Checkout page.</description>
        </annotations>
        <scrollTo selector="{{StorefrontSelectStoreSection.pickInStoreBtn}}" stepKey="scrollPickInStoreBtn"/>
        <waitForElementClickable selector="{{StorefrontSelectStoreSection.pickInStoreBtn}}" stepKey="waitForPickInStoreBtnClickable"/>
        <click selector="{{StorefrontSelectStoreSection.pickInStoreBtn}}" stepKey="clickPickInStoreBtn"/>
        <waitForElement selector="{{StorefrontPickInStoreModalSection.search}}" stepKey="waitForPickInStoreTabLoad"/>
    </actionGroup>
</actionGroups>
