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.
 
 
 
 
 
 

47 lines
2.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. <suites xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  9. xsi:noNamespaceSchemaLocation="urn:magento:mftf:Suite/etc/suiteSchema.xsd">
  10. <suite name="RemoteStorageAwsS3EnabledMediaGalleryUiSuite">
  11. <before>
  12. <actionGroup ref="AdminDisableWYSIWYGActionGroup" stepKey="disableWYSIWYG" />
  13. <magentoCLI command="config:set {{MediaGalleryConfigDataEnabled.path}} {{MediaGalleryConfigDataEnabled.value}}" stepKey="enableEnhancedMediaGallery"/>
  14. <magentoCLI command="config:set {{MediaGalleryRenditionsDataEnabled.path}} {{MediaGalleryRenditionsDataEnabled.value}}" stepKey="enableMediaGalleryRenditions"/>
  15. <!-- Create Media Gallery Directories for `catalog/category` and `wysiwyg` -->
  16. <actionGroup ref="AdminLoginActionGroup" stepKey="loginAsAdmin"/>
  17. <actionGroup ref="AdminOpenCategoryPageActionGroup" stepKey="openCategoryPage"/>
  18. <actionGroup ref="AdminOpenMediaGalleryFromCategoryImageUploaderActionGroup" stepKey="openMediaGalleryFromCategoryImage"/>
  19. <actionGroup ref="AdminOpenCreateNewCMSPageActionGroup" stepKey="openNewPage"/>
  20. <actionGroup ref="AdminOpenMediaGalleryFromPageNoEditorActionGroup" stepKey="openMediaGalleryForPage"/>
  21. <actionGroup ref="AdminLogoutActionGroup" stepKey="logout"/>
  22. <!-- Enable AWS S3 Remote Storage -->
  23. <magentoCLI command="setup:config:set {{RemoteStorageAwsS3ConfigData.enable_options}}" stepKey="enableRemoteStorage"/>
  24. <magentoCLI command="remote-storage:sync" timeout="120" stepKey="syncRemoteStorage"/>
  25. </before>
  26. <after>
  27. <magentoCLI command="config:set {{MediaGalleryRenditionsDataDisabled.path}} {{MediaGalleryRenditionsDataDisabled.value}}" stepKey="disableMediaGalleryRenditions"/>
  28. <magentoCLI command="config:set {{MediaGalleryConfigDataDisabled.path}} {{MediaGalleryConfigDataDisabled.value}}" stepKey="disableEnhancedMediaGallery"/>
  29. <actionGroup ref="AdminEnableWYSIWYGActionGroup" stepKey="enableWYSIWYG" />
  30. <!-- Disable Remote Storage -->
  31. <magentoCLI command="setup:config:set {{RemoteStorageAwsS3ConfigData.disable_options}}" stepKey="disableRemoteStorage"/>
  32. </after>
  33. <include>
  34. <group name="remote_storage_aws_s3_media_gallery_ui"/>
  35. </include>
  36. <exclude>
  37. <group name="remote_storage_aws_s3"/>
  38. <group name="remote_storage_disabled"/>
  39. <group name="remote_storage_aws_s3_pagebuilder"/>
  40. </exclude>
  41. </suite>
  42. </suites>