Skip to content

Commit 3383209

Browse files
committed
#702: Automate MC-3317, MC-15481, MC-15482
- Rearranging product attributes in MFTF test
1 parent 3b32a15 commit 3383209

File tree

1 file changed

+35
-35
lines changed

1 file changed

+35
-35
lines changed

app/code/Magento/PageBuilder/Test/Mftf/Test/AdminCatalogProductPageBuilderTest/PageBuilderCatalogProductVerifyProductFullWidthLayoutTest.xml

Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -103,41 +103,38 @@
103103
<actionGroup ref="AdminLogoutActionGroup" stepKey="logout"/>
104104
</after>
105105

106-
<!-- Add Row & Heading to Product Description -->
107-
<actionGroup ref="NavigateToCreatedProductEditPageActionGroup" stepKey="navigateToCreatedProductEditPage">
108-
<argument name="product" value="$$createProduct$$"/>
109-
</actionGroup>
110-
<actionGroup ref="ExpandAdminProductSectionActionGroup" stepKey="expandAdminProductSection"/>
111-
<actionGroup ref="openPageBuilderForAttribute" stepKey="openPageBuilderForDescription">
112-
<argument name="pageBuilderArea" value="{{PageBuilderProductAttribute.PageBuilderArea('description')}}"/>
106+
<!-- Add Row & Heading to Product Custom Page Builder Attribute -->
107+
<actionGroup ref="openPageBuilderForAttribute" stepKey="openPageBuilderForCustomPageBuilderAttribute">
108+
<argument name="attributeCode" value="$$createPageBuilderAttribute.attribute_code$$"/>
109+
<argument name="pageBuilderArea" value="{{PageBuilderProductAttribute.PageBuilderArea($$createPageBuilderAttribute.attribute_code$$)}}"/>
113110
</actionGroup>
114-
<actionGroup ref="dragContentTypeToStage" stepKey="dragRowToRootContainer">
111+
<actionGroup ref="dragContentTypeToStage" stepKey="dragRowToRootContainer3">
115112
<argument name="contentType" value="PageBuilderRowContentType"/>
116113
<argument name="containerTargetType" value="PageBuilderRootContainerContentType"/>
117114
</actionGroup>
118-
<actionGroup ref="openPageBuilderEditPanelByIndex" stepKey="openEditMenuOnStage">
115+
<actionGroup ref="openPageBuilderEditPanelByIndex" stepKey="openEditMenuOnStage3">
119116
<argument name="contentType" value="PageBuilderRowContentType"/>
120117
</actionGroup>
121-
<actionGroup ref="chooseVisualSelectOption" stepKey="enterAppearance">
118+
<actionGroup ref="chooseVisualSelectOption" stepKey="enterAppearance3">
122119
<argument name="property" value="PageBuilderRowAppearance_FullBleed"/>
123120
</actionGroup>
124-
<actionGroup ref="fillSlideOutPanelFieldGeneral" stepKey="enterBackgroundColor">
125-
<argument name="property" value="PageBuilderBackgroundColor_Sprout"/>
121+
<actionGroup ref="fillSlideOutPanelFieldGeneral" stepKey="enterBackgroundColor3">
122+
<argument name="property" value="PageBuilderBackgroundColor_Cornflower"/>
126123
</actionGroup>
127-
<actionGroup ref="saveEditPanelSettings" stepKey="saveEditPanelSettings"/>
128-
<actionGroup ref="expandPageBuilderPanelMenuSection" stepKey="expandPageBuilderPanelMenuSection">
124+
<actionGroup ref="saveEditPanelSettings" stepKey="saveEditPanelSettings3"/>
125+
<actionGroup ref="expandPageBuilderPanelMenuSection" stepKey="expandPageBuilderPanelMenuSection3">
129126
<argument name="contentType" value="PageBuilderHeadingContentType"/>
130127
</actionGroup>
131-
<actionGroup ref="dragContentTypeToContainer" stepKey="dragHeadingToRow">
128+
<actionGroup ref="dragContentTypeToContainer" stepKey="dragHeadingToRow3">
132129
<argument name="contentType" value="PageBuilderHeadingContentType"/>
133130
</actionGroup>
134-
<actionGroup ref="enterHeadingOnStage" stepKey="enterHeadingOnStage">
135-
<argument name="headingText" value="PageBuilderHeadingText_Description"/>
131+
<actionGroup ref="enterHeadingOnStage" stepKey="enterHeadingOnStage3">
132+
<argument name="headingText" value="PageBuilderHeadingText_CustomAttribute"/>
136133
</actionGroup>
137-
<actionGroup ref="clickOutsideLiveEditHeading" stepKey="clickOutsideLiveEditHeading">
134+
<actionGroup ref="clickOutsideLiveEditHeading" stepKey="clickOutsideLiveEditHeading3">
138135
<argument name="index" value="1"/>
139136
</actionGroup>
140-
<actionGroup ref="exitPageBuilderFullScreen" stepKey="exitPageBuilderFullScreen"/>
137+
<actionGroup ref="exitPageBuilderFullScreen" stepKey="exitPageBuilderFullScreen3"/>
141138

142139
<!-- Add Row & Heading to Product Short Description -->
143140
<actionGroup ref="openPageBuilderForAttribute" stepKey="openPageBuilderForShortDescription">
@@ -176,42 +173,45 @@
176173
</actionGroup>
177174
<actionGroup ref="exitPageBuilderFullScreen" stepKey="exitPageBuilderFullScreen2"/>
178175

179-
<!-- Add Row & Heading to Product Custom Page Builder Attribute -->
180-
<actionGroup ref="openPageBuilderForAttribute" stepKey="openPageBuilderForCustomPageBuilderAttribute">
181-
<argument name="attributeCode" value="$$createPageBuilderAttribute.attribute_code$$"/>
182-
<argument name="pageBuilderArea" value="{{PageBuilderProductAttribute.PageBuilderArea($$createPageBuilderAttribute.attribute_code$$)}}"/>
176+
<!-- Add Row & Heading to Product Description -->
177+
<actionGroup ref="NavigateToCreatedProductEditPageActionGroup" stepKey="navigateToCreatedProductEditPage">
178+
<argument name="product" value="$$createProduct$$"/>
183179
</actionGroup>
184-
<actionGroup ref="dragContentTypeToStage" stepKey="dragRowToRootContainer3">
180+
<actionGroup ref="ExpandAdminProductSectionActionGroup" stepKey="expandAdminProductSection"/>
181+
<actionGroup ref="openPageBuilderForAttribute" stepKey="openPageBuilderForDescription">
182+
<argument name="pageBuilderArea" value="{{PageBuilderProductAttribute.PageBuilderArea('description')}}"/>
183+
</actionGroup>
184+
<actionGroup ref="dragContentTypeToStage" stepKey="dragRowToRootContainer">
185185
<argument name="contentType" value="PageBuilderRowContentType"/>
186186
<argument name="containerTargetType" value="PageBuilderRootContainerContentType"/>
187187
<argument name="containerTargetIndex" value="3"/>
188188
</actionGroup>
189-
<actionGroup ref="openPageBuilderEditPanelByIndex" stepKey="openEditMenuOnStage3">
189+
<actionGroup ref="openPageBuilderEditPanelByIndex" stepKey="openEditMenuOnStage">
190190
<argument name="contentType" value="PageBuilderRowContentType"/>
191191
<argument name="contentTypeIndex" value="3"/>
192192
</actionGroup>
193-
<actionGroup ref="chooseVisualSelectOption" stepKey="enterAppearance3">
193+
<actionGroup ref="chooseVisualSelectOption" stepKey="enterAppearance">
194194
<argument name="property" value="PageBuilderRowAppearance_FullBleed"/>
195195
</actionGroup>
196-
<actionGroup ref="fillSlideOutPanelFieldGeneral" stepKey="enterBackgroundColor3">
197-
<argument name="property" value="PageBuilderBackgroundColor_Cornflower"/>
196+
<actionGroup ref="fillSlideOutPanelFieldGeneral" stepKey="enterBackgroundColor">
197+
<argument name="property" value="PageBuilderBackgroundColor_Sprout"/>
198198
</actionGroup>
199-
<actionGroup ref="saveEditPanelSettings" stepKey="saveEditPanelSettings3"/>
200-
<actionGroup ref="expandPageBuilderPanelMenuSection" stepKey="expandPageBuilderPanelMenuSection3">
199+
<actionGroup ref="saveEditPanelSettings" stepKey="saveEditPanelSettings"/>
200+
<actionGroup ref="expandPageBuilderPanelMenuSection" stepKey="expandPageBuilderPanelMenuSection">
201201
<argument name="contentType" value="PageBuilderHeadingContentType"/>
202202
</actionGroup>
203-
<actionGroup ref="dragContentTypeToContainer" stepKey="dragHeadingToRow3">
203+
<actionGroup ref="dragContentTypeToContainer" stepKey="dragHeadingToRow">
204204
<argument name="contentType" value="PageBuilderHeadingContentType"/>
205205
<argument name="containerTargetIndex" value="3"/>
206206
</actionGroup>
207-
<actionGroup ref="enterHeadingOnStage" stepKey="enterHeadingOnStage3">
208-
<argument name="headingText" value="PageBuilderHeadingText_CustomAttribute"/>
207+
<actionGroup ref="enterHeadingOnStage" stepKey="enterHeadingOnStage">
208+
<argument name="headingText" value="PageBuilderHeadingText_Description"/>
209209
<argument name="index" value="3"/>
210210
</actionGroup>
211-
<actionGroup ref="clickOutsideLiveEditHeading" stepKey="clickOutsideLiveEditHeading3">
211+
<actionGroup ref="clickOutsideLiveEditHeading" stepKey="clickOutsideLiveEditHeading">
212212
<argument name="index" value="1"/>
213213
</actionGroup>
214-
<actionGroup ref="exitPageBuilderFullScreen" stepKey="exitPageBuilderFullScreen3"/>
214+
<actionGroup ref="exitPageBuilderFullScreen" stepKey="exitPageBuilderFullScreen"/>
215215

216216
<!-- Add Product Image -->
217217
<actionGroup ref="AddProductImageActionGroup" stepKey="addProductImage"/>

0 commit comments

Comments
 (0)