Skip to content

Commit e08f991

Browse files
committed
MC-31892: Attribute sets not preserving attribute values when set is changed
1 parent 3c7613d commit e08f991

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

app/code/Magento/Catalog/Test/Mftf/Test/AdminChangeProductAttributeGroupTest.xml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -26,21 +26,21 @@
2626
<createData entity="CatalogAttributeSet" stepKey="createAttributeSet"/>
2727
<createData entity="CatalogAttributeSet" stepKey="createSecondAttributeSet"/>
2828

29-
<actionGroup ref="LoginAsAdmin" stepKey="login"/>
29+
<actionGroup ref="AdminLoginActionGroup" stepKey="login"/>
3030
<amOnPage url="{{AdminProductAttributeSetEditPage.url}}/$createAttributeSet.attribute_set_id$/"
3131
stepKey="onAttributeSetEdit"/>
32-
<actionGroup ref="AssignAttributeToGroup" stepKey="assignAttributeToGroup">
32+
<actionGroup ref="AssignAttributeToGroupActionGroup" stepKey="assignAttributeToGroup">
3333
<argument name="group" value="Product Details"/>
3434
<argument name="attribute" value="$createProductAttribute.attribute_code$"/>
3535
</actionGroup>
36-
<actionGroup ref="SaveAttributeSet" stepKey="saveAttributeSet"/>
36+
<actionGroup ref="SaveAttributeSetActionGroup" stepKey="saveAttributeSet"/>
3737
<amOnPage url="{{AdminProductAttributeSetEditPage.url}}/$createSecondAttributeSet.attribute_set_id$/"
3838
stepKey="onSecondAttributeSetEdit"/>
39-
<actionGroup ref="AssignAttributeToGroup" stepKey="assignAttributeToContentGroup">
39+
<actionGroup ref="AssignAttributeToGroupActionGroup" stepKey="assignAttributeToContentGroup">
4040
<argument name="group" value="Content"/>
4141
<argument name="attribute" value="$createProductAttribute.attribute_code$"/>
4242
</actionGroup>
43-
<actionGroup ref="SaveAttributeSet" stepKey="saveSecondAttributeSet"/>
43+
<actionGroup ref="SaveAttributeSetActionGroup" stepKey="saveSecondAttributeSet"/>
4444
</before>
4545
<after>
4646
<deleteData createDataKey="createSimpleProduct" stepKey="deleteProduct"/>
@@ -51,8 +51,8 @@
5151
<actionGroup ref="ClearProductsFilterActionGroup" stepKey="clearProductsFilter"/>
5252

5353
<!-- Reindex invalidated indices after product attribute has been created/deleted -->
54-
<actionGroup ref="CliRunReindexUsingCronJobsActionGroup" stepKey="reindexInvalidatedIndices"/>
55-
<actionGroup ref="logout" stepKey="logout"/>
54+
<magentoCron groups="index" stepKey="reindexInvalidatedIndices"/>
55+
<actionGroup ref="AdminLogoutActionGroup" stepKey="logout"/>
5656
</after>
5757

5858
<actionGroup ref="SearchForProductOnBackendActionGroup" stepKey="searchForSimpleProduct">
@@ -63,14 +63,14 @@
6363
<argument name="product" value="$createSimpleProduct$"/>
6464
</actionGroup>
6565

66-
<actionGroup ref="AdminProductPageSelectAttributeSet" stepKey="selectAttributeSet">
66+
<actionGroup ref="AdminProductPageSelectAttributeSetActionGroup" stepKey="selectAttributeSet">
6767
<argument name="attributeSetName" value="$createAttributeSet.attribute_set_name$"/>
6868
</actionGroup>
6969
<waitForText userInput="$createProductAttribute.default_frontend_label$" stepKey="seeAttributeInForm"/>
7070
<fillField selector="{{AdminProductFormSection.attributeRequiredInput($createProductAttribute.attribute_code$)}}"
7171
userInput="test"
7272
stepKey="fillProductAttributeValue"/>
73-
<actionGroup ref="AdminProductPageSelectAttributeSet" stepKey="selectSecondAttributeSet">
73+
<actionGroup ref="AdminProductPageSelectAttributeSetActionGroup" stepKey="selectSecondAttributeSet">
7474
<argument name="attributeSetName" value="$createSecondAttributeSet.attribute_set_name$"/>
7575
</actionGroup>
7676
<actionGroup ref="ExpandAdminProductSectionActionGroup" stepKey="expandContentSection"/>

0 commit comments

Comments
 (0)