Skip to content

Commit 79fc871

Browse files
committed
MC-3582: Build stabilization for MC-1405
- Fixed test
1 parent 169dc3d commit 79fc871

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

app/code/Magento/PageBuilder/Test/Mftf/Test/AdminPageBuilderTextTest.xml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -220,12 +220,13 @@
220220
<actionGroup ref="saveAndContinueEditCmsPage" stepKey="saveAndContinueEditCmsPage2"/>
221221
<actionGroup ref="switchToPageBuilderStage" stepKey="switchToPageBuilderStage2"/>
222222
<!--Verify Text Content Type on stage after saving cms page-->
223-
<comment userInput="Verify text content type on storefront" stepKey="commentVerifyTextOnStage"/>
224-
<see userInput="{{PageBuilderTextContentTypeDefault.value}}" stepKey="seeTextOnStage"/>
223+
<comment userInput="Verify text content type on stage" stepKey="commentVerifyTextOnStage"/>
224+
<grabValueFrom selector="{{TextOnStage.tinymce('1')}}" stepKey="grabStageValue"/>
225+
<assertEmpty stepKey="seeTextOnStage" actual="grabStageValue" actualType="variable"/>
225226
<!--Verify Text Content Type on storefront-->
226227
<comment userInput="Verify Text Content Type on storefront" stepKey="commentVerifyTextContenTypeOnStorefront"/>
227228
<amOnPage url="$$createCMSPage.identifier$$" stepKey="amOnPageTestPage"/>
228-
<see userInput="{{PageBuilderTextContentTypeDefault.value}}" stepKey="seeTextOnStorefront"/>
229+
<dontSeeElement selector="{{TextOnStorefront.base('1')}}" stepKey="doneSeeTextOnStorefront"/>
229230
</test>
230231
<test name="TextInlineImageEditing">
231232
<annotations>

0 commit comments

Comments
 (0)