<?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="StorefrontFillContactUsFormActionGroup">
        <arguments>
            <argument name="customer" type="entity" />
            <argument name="contactUsData" type="entity" />
        </arguments>
        <fillField selector="{{StorefrontContactUsFormSection.nameField}}"  userInput="{{customer.firstname}}" stepKey="fillName"/>
        <fillField selector="{{StorefrontContactUsFormSection.emailField}}"  userInput="{{customer.email}}" stepKey="fillEmail"/>
        <fillField selector="{{StorefrontContactUsFormSection.commentField}}"  userInput="{{contactUsData.comment}}" stepKey="fillComment"/>
    </actionGroup>
</actionGroups>
