|
20 | 20 | </annotations> |
21 | 21 | <before> |
22 | 22 | <!-- Enable Old Media Gallery --> |
23 | | - <magentoCLI command="config:set {{AdobeStockDisableNewMediaGallery.path}} {{AdobeStockDisableNewMediaGallery.value}}" stepKey="enabledOldMediaGallery"/> |
| 23 | + <magentoCLI command="config:set {{MediaGalleryConfigDataDisabled.path}} {{MediaGalleryConfigDataDisabled.value}}" stepKey="enabledOldMediaGallery"/> |
24 | 24 |
|
25 | 25 | <!-- Clean cache --> |
26 | 26 | <actionGroup ref="CliCacheCleanActionGroup" stepKey="cleanCache"> |
|
30 | 30 | </before> |
31 | 31 | <after> |
32 | 32 | <!-- Enable Old Media Gallery --> |
33 | | - <magentoCLI command="config:set {{AdobeStockDisableNewMediaGallery.path}} {{AdobeStockDisableNewMediaGallery.value}}" stepKey="enableOldMediaGallery"/> |
| 33 | + <magentoCLI command="config:set {{MediaGalleryConfigDataDisabled.path}} {{MediaGalleryConfigDataDisabled.value}}" stepKey="enableOldMediaGallery"/> |
34 | 34 |
|
35 | 35 | <!-- Enable Adobe Stock Integration --> |
36 | 36 | <magentoCLI command="config:set {{AdobeStockIntegrationEnable.path}} {{AdobeStockIntegrationEnable.value}}" stepKey="enableAdobeStockIntegration"/> |
|
39 | 39 | <actionGroup ref="AdminLogoutActionGroup" stepKey="logoutFromAdmin"/> |
40 | 40 | </after> |
41 | 41 | <!-- Check to dont see media gallery button --> |
42 | | - <actionGroup ref="AdminOpenContentTabActionGroup" stepKey="openContentTab"/> |
| 42 | + <actionGroup ref="AdminOpenContentMenuTabActionGroup" stepKey="openContentTab"/> |
43 | 43 | <dontSeeElement selector="{{AdminMenuSection.menuItem('magento-mediagalleryui-media-gallery')}}" stepKey="dontSeeMediaGalleryMenuItem"/> |
44 | | - <actionGroup ref="AdminCloseContentTabActionGroup" stepKey="closeContentTab"/> |
| 44 | + <actionGroup ref="AdminCloseContentMenuTabActionGroup" stepKey="closeContentTab"/> |
45 | 45 |
|
46 | 46 | <!-- Disabled Old Media Gallery --> |
47 | | - <magentoCLI command="config:set {{AdobeStockEnableNewMediaGallery.path}} {{AdobeStockEnableNewMediaGallery.value}}" stepKey="disabledOldMediaGallery"/> |
| 47 | + <magentoCLI command="config:set {{MediaGalleryConfigDataEnabled.path}} {{MediaGalleryConfigDataEnabled.value}}" stepKey="disabledOldMediaGallery"/> |
48 | 48 |
|
49 | 49 | <!-- Disabled Adobe Stock Integration --> |
50 | 50 | <magentoCLI command="config:set {{AdobeStockIntegrationDisable.path}} {{AdobeStockIntegrationDisable.value}}" stepKey="disableAdobeStockIntegration"/> |
|
56 | 56 | <actionGroup ref="ReloadPageActionGroup" stepKey="reloadPage"/> |
57 | 57 |
|
58 | 58 | <!-- Check that media gallery button is available--> |
59 | | - <actionGroup ref="AdminOpenContentTabActionGroup" stepKey="openContentTabToCheckViewMediaGallery"/> |
60 | | - <seeElement selector="{{AdminMenuSection.menuItem('magento-mediagalleryui-media')}}" stepKey="checkIsMediaGalleryButtonVisible"/> |
| 59 | + <actionGroup ref="AdminOpenContentMenuTabActionGroup" stepKey="openContentTabToCheckViewMediaGallery"/> |
| 60 | + <seeElement selector="{{AdminMenuSection.menuItem('magento-mediagalleryui-media')}}" stepKey="checkIsMediaGalleryMenuItemVisible"/> |
61 | 61 | </test> |
62 | 62 | </tests> |
0 commit comments