File tree Expand file tree Collapse file tree 3 files changed +9
-13
lines changed
app/code/Magento/PageBuilder/Test/Mftf Expand file tree Collapse file tree 3 files changed +9
-13
lines changed Original file line number Diff line number Diff line change 43
43
<actualResult type =" variable" >getValueFromTextarea</actualResult >
44
44
</assertContains >
45
45
</actionGroup >
46
+ <actionGroup name =" clickHtmlInsertImageButton" >
47
+ <comment userInput =" clickHtmlInsertImageButton" stepKey =" commentClickHtmlInsertImageButton" />
48
+ <waitForElementVisible selector =" {{HtmlOnConfiguration.insertImageButton}}" stepKey =" waitForInsertImageButton" />
49
+ <click selector =" {{HtmlOnConfiguration.insertImageButton}}" stepKey =" clickInsertImageButton" />
50
+ <waitForPageLoad stepKey =" waitForPageLoad" />
51
+ <waitForElementVisible selector =" {{MediaGallerySection.StorageRootArrow}}" stepKey =" waitForStorageRootArrow" />
52
+ </actionGroup >
46
53
</actionGroups >
Original file line number Diff line number Diff line change 225
225
<waitForPageLoad stepKey =" waitForPageLoad1" />
226
226
<click selector =" {{PageBuilderPanel.searchPanel}}" stepKey =" loseFocusFromEditor" />
227
227
</actionGroup >
228
- <actionGroup name =" clickButton" >
229
- <arguments >
230
- <argument name =" button" type =" string" />
231
- </arguments >
232
- <comment userInput =" clickButton" stepKey =" commentClickButton" />
233
- <waitForElementVisible selector =" {{button}}" stepKey =" waitForInsertImage" />
234
- <click selector =" {{button}}" stepKey =" clickInsertImage" />
235
- <waitForPageLoad stepKey =" waitForPageLoad" />
236
- </actionGroup >
237
228
</actionGroups >
Original file line number Diff line number Diff line change 53
53
</actionGroup >
54
54
<!-- Add media directives -->
55
55
<comment userInput =" Add media directives" stepKey =" commentAddMediaDirectives" />
56
- <actionGroup ref =" addPageLinkWidgetToHtmlCodeWYSIWYGDisabled" stepKey =" addPageLinkWidgetToHtmlCodeWYSIWYGDisabled" >
56
+ <actionGroup ref =" addPageLinkWidgetToHtmlCodeWYSIWYGDisabled" stepKey =" addPageLinkWidgetToHtmlCodeWYSIWYGDisabled" >
57
57
<argument name =" widget" value =" PageBuilderTextArea_WidgetCMSPageLink" />
58
58
<argument name =" page" value =" html-code{{PageBuilderPageTitle.pageName}}" />
59
59
</actionGroup >
60
- <actionGroup ref =" clickButton" stepKey =" clickInsertImageInHtmlCode" >
61
- <argument name =" button" value =" {{HtmlOnConfiguration.insertImageButton}}" />
62
- </actionGroup >
60
+ <actionGroup ref =" clickHtmlInsertImageButton" stepKey =" clickInsertImageInHtmlCode" />
63
61
<actionGroup ref =" clickMediaGalleryStorageRootArrow" stepKey =" clickMediaGalleryStorageRootArrow" />
64
62
<actionGroup ref =" CreateImageFolder" stepKey =" CreateImageFolder" >
65
63
<argument name =" ImageFolder" value =" ImageFolder" />
You can’t perform that action at this time.
0 commit comments