You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

24 lines
1.1 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="AssertAdminCustomerGenderOnCustomerFormActionGroup">
  11. <annotations>
  12. <description>Validates that the provided Customer Gender is selected on the Admin Customer edit page.</description>
  13. </annotations>
  14. <arguments>
  15. <argument name="customerGender" defaultValue="{{Gender.empty}}" type="string"/>
  16. </arguments>
  17. <conditionalClick selector="{{AdminCustomerAccountInformationSection.accountInformationTab}}" dependentSelector="{{AdminCustomerAccountInformationSection.gender}}" visible="false" stepKey="clickOnAccountInfoTab"/>
  18. <waitForPageLoad stepKey="waitForPageLoad"/>
  19. <seeOptionIsSelected userInput="{{customerGender}}" selector="{{AdminCustomerAccountInformationSection.gender}}" stepKey="verifyNeededCustomerGenderSelected"/>
  20. </actionGroup>
  21. </actionGroups>