Skip to content

Commit 45c0da1

Browse files
committed
MC-3091: Improve MFTF tests for Block Configuration
1 parent b14067f commit 45c0da1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@
4646
<comment userInput="Validate Storefront" stepKey="commentValidateStorefront"/>
4747
<amOnPage url="$$createCMSPage.identifier$$" stepKey="amOnPageTestPage"/>
4848
<waitForPageLoad stepKey="waitForPageLoad"/>
49-
<seeElement selector="{{BlockOnStorefront.empty}}" stepKey="seeBlockContentOnCmsStage"/>
49+
<waitForElement selector="{{BlockOnStorefront.empty}}" stepKey="waitForSeeElement"/>
50+
<seeElementInDOM selector="{{BlockOnStorefront.empty}}" stepKey="seeBlockContentOnCmsStage"/>
5051
</test>
5152
<test name="AddBlockToCmsPage">
5253
<annotations>
@@ -83,6 +84,7 @@
8384
<actionGroup ref="searchBlockInGrid" stepKey="searchBlockInGrid">
8485
<argument name="block" value="$$createPreReqBlock$$"/>
8586
</actionGroup>
87+
<waitForElementVisible selector="{{BlockOnForm.title('$$createPreReqBlock.title$$')}}" stepKey="waitToSeeBlockTitle"/>
8688
<seeElement selector="{{BlockOnForm.title('$$createPreReqBlock.title$$')}}" stepKey="seeBlockTitleOnForm"/>
8789
<actionGroup ref="saveEditPanelSettings" stepKey="saveEditPanelSettings"/>
8890
<actionGroup ref="verifyBlockOnStage" stepKey="verifyBlockOnStage">

0 commit comments

Comments
 (0)