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

27 lines
1.4 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="AdminCustomerShowDateOfBirthActionGroup">
  11. <annotations>
  12. <description>Goes to the customer configuration. Set "Show Date of Birth" with provided value.</description>
  13. </annotations>
  14. <arguments>
  15. <argument name="value" type="string" defaultValue="{{ShowDateOfBirth.optional}}"/>
  16. </arguments>
  17. <amOnPage url="{{AdminCustomerConfigPage.url('#customer_address-link')}}" stepKey="openCustomerConfigPage"/>
  18. <waitForPageLoad stepKey="waitCustomerConfigPage"/>
  19. <scrollTo selector="{{AdminCustomerConfigSection.showDateOfBirth}}" x="0" y="-100" stepKey="scrollToShowDateOfBirth"/>
  20. <uncheckOption selector="{{AdminCustomerConfigSection.showDateOfBirthInherit}}" stepKey="uncheckUseSystem"/>
  21. <selectOption selector="{{AdminCustomerConfigSection.showDateOfBirth}}" userInput="{{value}}" stepKey="fillShowDateOfBirth"/>
  22. <click selector="{{AdminMainActionsSection.save}}" stepKey="clickSave"/>
  23. <seeElement selector="{{AdminMessagesSection.success}}" stepKey="seeSuccessMessage"/>
  24. </actionGroup>
  25. </actionGroups>