Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 
 
 
 

27 строки
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="AdminAssertRefundOrderStatusCommentsHistoryActionGroup">
  11. <annotations>
  12. <description>Clicks on the 'Comments History' on Admin View Order page. Validates that the provided Order Status and Refund message are present and correct.</description>
  13. </annotations>
  14. <arguments>
  15. <argument name="orderStatus" type="string"/>
  16. <argument name="refundMessage" type="string"/>
  17. </arguments>
  18. <!-- Assert refund order status in Comments History -->
  19. <click selector="{{AdminOrderDetailsOrderViewSection.commentsHistory}}" stepKey="clickOnTabCommentsHistory"/>
  20. <waitForPageLoad stepKey="waitForComments"/>
  21. <see userInput="{{orderStatus}}" selector="{{AdminOrderCommentsTabSection.orderNotesList}}" stepKey="assertRefundOrderStatusInCommentsHistory"/>
  22. <see userInput="{{refundMessage}}" selector="{{AdminOrderCommentsTabSection.orderComment}}" stepKey="assertOrderStatus"/>
  23. </actionGroup>
  24. </actionGroups>