Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 
 
 
 
 

27 wiersze
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="AdminCheckIfCustomerIsNotifiedOfOrderCommentActionGroup">
  11. <annotations>
  12. <description>Check if customer is notified/not Notified of Order Comment</description>
  13. </annotations>
  14. <arguments>
  15. <argument name="orderComment" type="string"/>
  16. <argument name="expectedStatus" type="string"/>
  17. </arguments>
  18. <grabTextFrom selector="{{AdminOrderNotesSection.customerNotifiedStatusOfOrderNoteByText(orderComment)}}" stepKey="grabStatusOfOrderNote"/>
  19. <assertEquals message="Assert Order Note status is correct" stepKey="assertCustomerIsNotified">
  20. <actualResult type="const">$grabStatusOfOrderNote</actualResult>
  21. <expectedResult type="string">{{expectedStatus}}</expectedResult>
  22. </assertEquals>
  23. </actionGroup>
  24. </actionGroups>