Skip to content

Commit 2d02740

Browse files
committed
Merge remote-tracking branch 'github-magento2ce/MAGETWO-98635' into EPAM-PR-56
2 parents 0421665 + 138ef5b commit 2d02740

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

app/code/Magento/Cms/Test/Mftf/ActionGroup/ClearWidgetsFromCMSContentActionGroup.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,13 @@
2121
<waitForPageLoad stepKey="waitSaveToBeApplied"/>
2222
<see selector="{{AdminProductMessagesSection.successMessage}}" userInput="You saved the page." stepKey="seeSaveSuccess"/>
2323
</actionGroup>
24+
<actionGroup name="ClearWidgetsForCMSHomePageContentWYSIWYGDisabled">
25+
<amOnPage url="{{CmsPageEditPage.url('2')}}" stepKey="navigateToEditHomePagePage"/>
26+
<waitForPageLoad stepKey="waitForCmsPageEditPage"/>
27+
<conditionalClick selector="{{CmsNewPagePageActionsSection.contentSectionName}}" dependentSelector="{{CatalogWidgetSection.insertWidgetButton}}" visible="false" stepKey="clickShowHideEditorIfVisible"/>
28+
<waitForElementVisible selector="{{CmsNewPagePageContentSection.content}}" stepKey="waitForContentField"/>
29+
<fillField selector="{{CmsNewPagePageContentSection.content}}" userInput="CMS homepage content goes here." stepKey="resetCMSPageToDefaultContent"/>
30+
<click selector="{{CmsNewPagePageActionsSection.saveAndContinueEdit}}" stepKey="clickSave"/>
31+
<waitForPageLoad stepKey="waitForSettingsApply"/>
32+
</actionGroup>
2433
</actionGroups>

0 commit comments

Comments
 (0)