25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

26 lines
1.3 KiB

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. /**
  4. * Copyright © Magento, Inc. All rights reserved.
  5. * See COPYING.txt for license details.
  6. */
  7. -->
  8. <actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  9. xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd">
  10. <actionGroup name="AssertAdminCustomerDateOfBirthValidationMessageActionGroup">
  11. <annotations>
  12. <description>Fills 'Date of Birth' input with provided 'dob' value, clicks 'save' button, checks
  13. there is no provided validation error message for the 'Date of Birth' input on the page.</description>
  14. </annotations>
  15. <arguments>
  16. <argument name="message" type="string" defaultValue="The Date of Birth should not be greater than today."/>
  17. <argument name="dob" type="string" defaultValue="15/01/1970"/>
  18. </arguments>
  19. <fillField userInput="{{dob}}" selector="{{AdminCustomerAccountInformationSection.dateOfBirth}}" stepKey="fillDateOfBirth"/>
  20. <click selector="{{AdminCustomerMainActionsSection.saveButton}}" stepKey="saveCustomer"/>
  21. <dontSee selector="{{AdminCustomerAccountInformationSection.dateOfBirthValidationErrorField}}" userInput="{{message}}" stepKey="seeTheErrorMessageIsDisplayed"/>
  22. </actionGroup>
  23. </actionGroups>