Skip to content

Commit 56e69a7

Browse files
Manoranjan.Prakashshanthi
authored andcommitted
updated the disable/enable wysiwig
1 parent 3176582 commit 56e69a7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

app/code/Magento/Widget/Test/Mftf/Test/CheckDisplayingOfApostrophesInTheTextFieldBoxWhileCreatingPageWidgetTest.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,10 @@
2424

2525
<!-- Pre-condition - Disable the page builder -->
2626
<magentoCLI command="config:set cms/pagebuilder/enabled 0" stepKey="disablePageBuilder"/>
27+
<magentoCLI command="config:set cms/wysiwyg/enabled disabled" stepKey="disableWYSIWYG"/>
2728
<magentoCLI stepKey="reindex" command="indexer:reindex"/>
2829
<magentoCLI stepKey="flushCache" command="cache:flush"/>
30+
2931
<!-- Pre-condition 3- Verify page in grid-->
3032
<actionGroup ref="AdminOpenCMSPagesGridActionGroup" stepKey="openCMSPagesGridActionGroup"/>
3133
<actionGroup ref="ClearFiltersAdminDataGridActionGroup" stepKey="clearGridFilters"/>
@@ -78,6 +80,10 @@
7880
<click selector="{{CmsNewPagePageActionsSection.savePageBtn}}" stepKey="clickSavePageToReset"/>
7981
<waitForElementVisible selector="{{CmsPagesPageActionsSection.savePageSuccessMessage}}" stepKey="waitForSuccessMessageLoggedOutToReset" time="5"/>
8082
<see userInput="You saved the page." stepKey="seeSuccessMessageToReset"/>
83+
<magentoCLI command="config:set cms/pagebuilder/enabled 1" stepKey="enablePageBuilder"/>
84+
<magentoCLI command="config:set cms/wysiwyg/enabled enabled" stepKey="enableWYSIWYG"/>
85+
<magentoCLI stepKey="reindex" command="indexer:reindex"/>
86+
<magentoCLI stepKey="flushCache" command="cache:flush"/>
8187
<actionGroup ref="AdminLogoutActionGroup" stepKey="logout"/>
8288
</after>
8389
<actionGroup ref="StorefrontOpenHomePageActionGroup" stepKey="navigateToHomePage"/>

0 commit comments

Comments
 (0)