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 748748 <!-- Return the string value of background-image -->
749749 <executeJS function =" return '{$contentTypeStyle}'.match(/((?< =(background-image: url\((" |\'))).+(?=(" |\')\);))/)[0]" stepKey =" backgroundImageValue" />
750750 <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 >
752752 <actualResult type =" variable" >$backgroundImageValue</actualResult >
753753 </assertRegExp >
754754 <actionGroup ref =" SaveAndContinueEditCmsPageActionGroup" stepKey =" saveAndContinueEditCmsPage" />
Original file line number Diff line number Diff line change 198198 <actionGroup ref =" clickSelectFromGallerySlideOut" stepKey =" clickSelectFromGallerySlideOut" >
199199 <argument name =" property" value =" PageBuilderImageProperty_JPG2" />
200200 </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 >
203209 <actionGroup ref =" CreateImageFolderActionGroup" stepKey =" createImageFolder" >
204210 <argument name =" ImageFolder" value =" ImageFolder" />
205211 </actionGroup >
You can’t perform that action at this time.
0 commit comments