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

38 строки
1.7 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="AdminEnhancedMediaGalleryVerifyImageDetailsActionGroup">
  11. <annotations>
  12. <description>Verifies image information on the View Details panel</description>
  13. </annotations>
  14. <arguments>
  15. <argument name="image"/>
  16. </arguments>
  17. <grabTextFrom selector="{{AdminEnhancedMediaGalleryViewDetailsSection.title}}" stepKey="grabImageTitle"/>
  18. <assertStringContainsString stepKey="verifyImageTitle">
  19. <actualResult type="variable">grabImageTitle</actualResult>
  20. <expectedResult type="string">{{image.fileName}}</expectedResult>
  21. </assertStringContainsString>
  22. <grabTextFrom selector="{{AdminEnhancedMediaGalleryViewDetailsSection.contentType}}" stepKey="grabContentType"/>
  23. <assertStringContainsStringIgnoringCase stepKey="verifyContentType">
  24. <actualResult type="variable">grabContentType</actualResult>
  25. <expectedResult type="string">{{image.extension}}</expectedResult>
  26. </assertStringContainsStringIgnoringCase>
  27. <grabTextFrom selector="{{AdminEnhancedMediaGalleryViewDetailsSection.type}}" stepKey="grabType"/>
  28. <assertStringContainsString stepKey="verifyType">
  29. <actualResult type="variable">grabType</actualResult>
  30. <expectedResult type="string">Image</expectedResult>
  31. </assertStringContainsString>
  32. </actionGroup>
  33. </actionGroups>