|
- <?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="AssertAdminCustomerDateOfBirthValidationMessageActionGroup">
- <annotations>
- <description>Fills 'Date of Birth' input with provided 'dob' value, clicks 'save' button, checks
- there is no provided validation error message for the 'Date of Birth' input on the page.</description>
- </annotations>
- <arguments>
- <argument name="message" type="string" defaultValue="The Date of Birth should not be greater than today."/>
- <argument name="dob" type="string" defaultValue="15/01/1970"/>
- </arguments>
-
- <fillField userInput="{{dob}}" selector="{{AdminCustomerAccountInformationSection.dateOfBirth}}" stepKey="fillDateOfBirth"/>
- <click selector="{{AdminCustomerMainActionsSection.saveButton}}" stepKey="saveCustomer"/>
- <dontSee selector="{{AdminCustomerAccountInformationSection.dateOfBirthValidationErrorField}}" userInput="{{message}}" stepKey="seeTheErrorMessageIsDisplayed"/>
- </actionGroup>
- </actionGroups>
|