Skip to content

Commit c959f28

Browse files
committed
MC-29124: Fix and unskip StorefrontSortingByPriceForConfigurableProductWithCatalogRuleAppliedTest
1 parent 4fb3e7b commit c959f28

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

app/code/Magento/CatalogRule/Test/Mftf/ActionGroup/AdminCatalogPriceRuleAddSkuConditionActionGroup.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<description>Create new product SKU based condition in Catalog Price Rule form.</description>
1313
</annotations>
1414
<arguments>
15-
<argument name="productSku"/>
15+
<argument name="productSku" type="string" defaultValue="{{ApiSimpleTwo.sku}}"/>
1616
</arguments>
1717

1818
<conditionalClick selector="{{AdminNewCatalogPriceRule.conditionsTabTitle}}" dependentSelector="{{AdminNewCatalogPriceRule.conditionsTabBody}}" visible="false" stepKey="openConditionsSectionIfNeeded"/>

app/code/Magento/ConfigurableProduct/Test/Mftf/Test/StorefrontCheckSortingByPriceForConfigurableWithCatalogRuleAppliedTest.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
<description value="Sort by price should be correct if the apply Catalog Rule to child product of configurable product"/>
1717
<severity value="CRITICAL"/>
1818
<testCaseId value="MC-11926"/>
19+
<useCaseId value="MAGETWO-66688"/>
1920
<group value="catalog"/>
2021
<group value="catalogRule"/>
2122
<group value="configurableProduct"/>
@@ -120,6 +121,8 @@
120121
</actionGroup>
121122
<actionGroup ref="AdminCatalogPriceRuleDeleteAllActionGroup" stepKey="deleteAllRules"/>
122123
<actionGroup ref="logout" stepKey="logoutFromAdmin"/>
124+
<!-- Need reindex because creating new product attributes break some indices and this may affect other tests in testsuite -->
125+
<magentoCLI command="indexer:reindex" stepKey="reindexIndices"/>
123126
</after>
124127

125128
<!--Open category with products and Sort by price desc-->

0 commit comments

Comments
 (0)