File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed
app/code/Magento/PageBuilder/Test/Mftf/Test Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 748
748
<!-- Return the string value of background-image -->
749
749
<executeJS function =" return '{$contentTypeStyle}'.match(/((?< =(background-image: url\((" |\'))).+(?=(" |\')\);))/)[0]" stepKey =" backgroundImageValue" />
750
750
<assertRegExp stepKey =" assertBackgroundImageContainsFileInformation" >
751
- <expectedResult type =" string" >/\/pub\/media\/{{PageBuilderBackgroundImageRoot_JPG.fileName}}(_\d+)?\.{{PageBuilderBackgroundImageRoot_JPG.extension}}/</expectedResult >
751
+ <expectedResult type =" string" >/\/pub\/media\/wysiwyg\/{{ImageFolder.name}}\/ {{PageBuilderBackgroundImageRoot_JPG.fileName}}(_\d+)?\.{{PageBuilderBackgroundImageRoot_JPG.extension}}/</expectedResult >
752
752
<actualResult type =" variable" >$backgroundImageValue</actualResult >
753
753
</assertRegExp >
754
754
<actionGroup ref =" SaveAndContinueEditCmsPageActionGroup" stepKey =" saveAndContinueEditCmsPage" />
Original file line number Diff line number Diff line change 198
198
<actionGroup ref =" clickSelectFromGallerySlideOut" stepKey =" clickSelectFromGallerySlideOut" >
199
199
<argument name =" property" value =" PageBuilderImageProperty_JPG2" />
200
200
</actionGroup >
201
- <click selector =" {{MediaGallerySection.StorageRootArrow}}" stepKey =" clickStorageRoot" />
202
- <waitForPageLoad stepKey =" waitForPageLoad" />
201
+ <comment userInput =" BIC workaround" stepKey =" clickStorageRoot" />
202
+ <comment userInput =" BIC workaround" stepKey =" waitForPageLoad" />
203
+ <actionGroup ref =" AdminExpandMediaGalleryFolderActionGroup" stepKey =" expandStorageRootFolder" >
204
+ <argument name =" FolderName" value =" Storage Root" />
205
+ </actionGroup >
206
+ <actionGroup ref =" NavigateToMediaFolderActionGroup" stepKey =" navigateToWysiwygFolder" >
207
+ <argument name =" FolderName" value =" wysiwyg" />
208
+ </actionGroup >
203
209
<actionGroup ref =" CreateImageFolderActionGroup" stepKey =" createImageFolder" >
204
210
<argument name =" ImageFolder" value =" ImageFolder" />
205
211
</actionGroup >
You can’t perform that action at this time.
0 commit comments