File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
app/code/Magento/PageBuilder/Test/Mftf/Test Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 500
500
</actionGroup >
501
501
<!-- Assert Text placeholder-->
502
502
<comment userInput =" Assert Text placeholder" stepKey =" assertTextPlaceholder" />
503
- <seeElement selector =" {{TextOnStage.placeholder ('1')}}" stepKey =" seeTextPlaceholder" />
503
+ <seeElement selector =" {{TextOnStage.textareaPlaceholder ('1')}}" stepKey =" seeTextPlaceholder" />
504
504
<actionGroup ref =" saveAndContinueEditCmsPage" stepKey =" saveAndContinueEditCmsPage2" />
505
505
<!-- Verify empty content type on storefront-->
506
506
<comment userInput =" Verify empty content type on storefront" stepKey =" commentVerifyEmptyBlock" />
1711
1711
<actionGroup ref =" saveEditPanelSettings" stepKey =" saveEditPanelSettings" />
1712
1712
<!-- Validate Stage -->
1713
1713
<comment userInput =" Validate Stage" stepKey =" commentValidateStage" />
1714
- <waitForElementVisible selector =" {{TextOnStage.textAreaText('1', PageBuilderTextProperty.value)}}" stepKey =" waitForTextStage" />
1714
+ <executeJS function =" return document.evaluate(" {{TextOnStage.textArea('1')}}" , document.body).iterateNext().value" stepKey =" textareaValueAfterSaving" />
1715
+ <assertEquals stepKey =" assertTextValueAfterSaving" >
1716
+ <expectedResult type =" string" >{{PageBuilderTextProperty.value}}</expectedResult >
1717
+ <actualResult type =" variable" >textareaValueAfterSaving</actualResult >
1718
+ </assertEquals >
1715
1719
<!-- Validate Edit Panel -->
1716
1720
<comment userInput =" Validate Edit Panel" stepKey =" commentValidateEditPanel" />
1717
1721
<actionGroup ref =" openPageBuilderEditPanel" stepKey =" openEditMenuOnStage2" >
You can’t perform that action at this time.
0 commit comments