Skip to content

Commit d66ac1c

Browse files
committed
MC-3330: Add Missing P0-P1 MFTF Tests For PageBuilder On Catalog Category
Add support for baseContent param (arg) in closeEditPanelSettings action group
1 parent 3dde450 commit d66ac1c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

app/code/Magento/PageBuilder/Test/Mftf/ActionGroup/EditFormActionGroup.xml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,14 @@
99
<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
1010
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd">
1111
<actionGroup name="closeEditPanelSettings">
12+
<arguments>
13+
<argument name="baseContent" defaultValue="{{CmsNewPagePageActionsSection.saveAndContinueEdit}}" type="string"/>
14+
</arguments>
1215
<waitForLoadingMaskToDisappear stepKey="waitForLoadingMask"/>
1316
<waitForElementVisible time="2" selector="{{EditPanelForm.editFormClose}}" stepKey="waitForCloseButton"/>
1417
<click selector="{{EditPanelForm.editFormClose}}" stepKey="clickCloseButton"/>
1518
<waitForElementNotVisible time="5" selector="{{EditPanelForm.editForm}}" stepKey="waitForEditFormNotVisible"/>
16-
<waitForElementVisible time="1" selector="{{CmsNewPagePageActionsSection.saveAndContinueEdit}}" stepKey="waitForCmsPageSaveButton"/>
19+
<waitForElementVisible time="1" selector="{{baseContent}}" stepKey="waitForCmsPageSaveButton"/>
1720
</actionGroup>
1821
<actionGroup name="saveEditPanelSettings">
1922
<arguments>

0 commit comments

Comments
 (0)