Skip to content

Commit 71b24df

Browse files
committed
MAGETWO-97240: Category rules should apply to complex products
1 parent e35ac87 commit 71b24df

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

app/code/Magento/SalesRule/Test/Mftf/Test/StorefrontCategoryRulesShouldApplyToComplexProductsTest.xml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,28 +31,28 @@
3131
</actionGroup>
3232
<actionGroup ref="LoginAsAdmin" stepKey="loginAsAdmin"/>
3333
<!-- Assign config1 and the associated child products to CAT1 -->
34-
<actionGroup ref="AdminAssignProductToCategory" stepKey="assignProductToCategory">
34+
<actionGroup ref="AdminAssignProductToCategory" stepKey="assignConfigurableProduct1ToCategory">
3535
<argument name="productId" value="$$createConfigProductCreateConfigurableProduct1.id$$"/>
3636
<argument name="categoryName" value="$$createCategory.name$$"/>
3737
</actionGroup>
38-
<actionGroup ref="AdminAssignProductToCategory" stepKey="assignProductToCategory2">
38+
<actionGroup ref="AdminAssignProductToCategory" stepKey="assignConfig1ChildProduct1ToCategory">
3939
<argument name="productId" value="$$createConfigChildProduct1CreateConfigurableProduct1.id$$"/>
4040
<argument name="categoryName" value="$$createCategory.name$$"/>
4141
</actionGroup>
42-
<actionGroup ref="AdminAssignProductToCategory" stepKey="assignProductToCategory3">
42+
<actionGroup ref="AdminAssignProductToCategory" stepKey="assignConfig1ChildProduct2ToCategory">
4343
<argument name="productId" value="$$createConfigChildProduct2CreateConfigurableProduct1.id$$"/>
4444
<argument name="categoryName" value="$$createCategory.name$$"/>
4545
</actionGroup>
4646
<!-- Assign config12 and the associated child products to CAT2 -->
47-
<actionGroup ref="AdminAssignProductToCategory" stepKey="assignProductToCategory5">
47+
<actionGroup ref="AdminAssignProductToCategory" stepKey="assignConfigurableProduct2ToCategory2">
4848
<argument name="productId" value="$$createConfigProductCreateConfigurableProduct2.id$$"/>
49-
<argument name="categoryName" value="$$createCategory.name$$"/>
49+
<argument name="categoryName" value="$$createCategory2.name$$"/>
5050
</actionGroup>
51-
<actionGroup ref="AdminAssignProductToCategory" stepKey="assignProductToCategor5">
51+
<actionGroup ref="AdminAssignProductToCategory" stepKey="assignConfig2ChildProduct1ToCategory2">
5252
<argument name="productId" value="$$createConfigChildProduct1CreateConfigurableProduct2.id$$"/>
5353
<argument name="categoryName" value="$$createCategory2.name$$"/>
5454
</actionGroup>
55-
<actionGroup ref="AdminAssignProductToCategory" stepKey="assignProductToCategory6">
55+
<actionGroup ref="AdminAssignProductToCategory" stepKey="assignConfig2ChildProduct2ToCategory2">
5656
<argument name="productId" value="$$createConfigChildProduct2CreateConfigurableProduct2.id$$"/>
5757
<argument name="categoryName" value="$$createCategory2.name$$"/>
5858
</actionGroup>

0 commit comments

Comments
 (0)