Skip to content

Commit 76ae2c0

Browse files
authored
Testcase Updated
1 parent 3511972 commit 76ae2c0

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

app/code/Magento/Catalog/Test/Mftf/Test/AdminChangeContentOfWysiwygEditorForDisabledByDefaultTest.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
<test name="AdminChangeContentOfWysiwygEditorForDisabledByDefaultTest">
1111
<annotations>
1212
<features value="Cms"/>
13-
<stories value="Apply WYSIWYG Editor configuration for disabled by default"/>
14-
<title value="Change content of WYSIWYG editor if it's disabled by default"/>
15-
<description value="Admin should be able to Check WYSIWYG editor content can be changed and saved if it is disabled by default"/>
13+
<stories value="Apply Wysiwyg Editor configuration for disabled by default"/>
14+
<title value="Change content of Wysiwyg Editor if it's disabled by default"/>
15+
<description value="Admin should be able to Check Wysiwyg Editor content can be changed and saved if it is disabled by default"/>
1616
<severity value="MAJOR"/>
1717
<testCaseId value="AC-4143"/>
1818
<group value="Cms"/>
@@ -44,7 +44,7 @@
4444
<deleteData createDataKey="createPreReqBlock" stepKey="deletePreReqBlock"/>
4545
<deleteData createDataKey="createCMSPage" stepKey="deletePreReqCMSPage"/>
4646
<!-- Set default option to WYSIWYG Editor Configuration-->
47-
<actionGroup ref="DisabledWYSIWYGActionGroup" stepKey="disableWYSIWYG"/>
47+
<actionGroup ref="DisabledWYSIWYGActionGroup" stepKey="disableWYSIWYGCompletely"/>
4848
<actionGroup ref="CliMediaGalleryEnhancedEnableActionGroup" stepKey="disableOldMediaGallery">
4949
<argument name="enabled" value="1"/>
5050
</actionGroup>
@@ -120,10 +120,10 @@
120120
<actionGroup ref="OpenEditProductOnBackendActionGroup" stepKey="openSimpleProduct">
121121
<argument name="product" value="$$createSimpleProduct$$"/>
122122
</actionGroup>
123-
<!-- Navigate to Content & Click On Show hide button and then Asset WYSIWYG editor for Product-->
123+
<!-- Navigate to Content & Click On Show hide button and then Assert WYSIWYG editor for Product-->
124124
<waitForElementClickable selector="{{AdminProductFormSection.contentTab}}" stepKey="waitToClickContentTab"/>
125125
<click selector="{{AdminProductFormSection.contentTab}}" stepKey="clickContentTabForProduct"/>
126-
<waitForPageLoad stepKey="waitForGridLoad2"/>
126+
<waitForElementClickable selector="{{TinyMCESection.ShowHideBtn}}" stepKey="waitToClickShowHideBtnAgain"/>
127127
<click selector="{{TinyMCESection.ShowHideBtn}}" stepKey="clickShowHideBtnAgain"/>
128128
<waitForElementVisible selector="{{ProductShortDescriptionWysiwygSection.form}} {{TinyMCESection.TinyMCE}}" stepKey="waitForTinyMCEToBeVisible"/>
129129
<click selector="{{ProductShortDescriptionWysiwygSection.form}} {{TinyMCESection.ShowHideBtn}}" stepKey="focusProductShortDescriptionWysiwyg1"/>

0 commit comments

Comments
 (0)