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.
 
 
 
 
 
 

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="StorefrontSelectOptionTimeActionGroup">
  11. <annotations>
  12. <description>Selects the provided Hour, Minute and Part of Day under the provided Product Option Title on a Storefront Product page.</description>
  13. </annotations>
  14. <arguments>
  15. <argument name="optionTitle" defaultValue="ProductOptionTime"/>
  16. <argument name="hour" type="string"/>
  17. <argument name="minute" type="string"/>
  18. <argument name="dayPart" type="string"/>
  19. </arguments>
  20. <selectOption selector="{{StorefrontProductInfoMainSection.customOptionHour(optionTitle.title)}}" userInput="{{hour}}" stepKey="selectHourrForOptionDateTime"/>
  21. <selectOption selector="{{StorefrontProductInfoMainSection.customOptionMinute(optionTitle.title)}}" userInput="{{minute}}" stepKey="selectMinuteForOptionDateTime"/>
  22. <selectOption selector="{{StorefrontProductInfoMainSection.customOptionDayPart(optionTitle.title)}}" userInput="{{dayPart}}" stepKey="selectDayPartForOptionDateTime"/>
  23. </actionGroup>
  24. </actionGroups>