Skip to content

Commit 4680f70

Browse files
fix mftf
1 parent 0110496 commit 4680f70

File tree

1 file changed

+12
-7
lines changed

1 file changed

+12
-7
lines changed

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

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,22 +26,27 @@
2626
<createData entity="tierProductPriceDiscount" stepKey="addTierPrice">
2727
<requiredEntity createDataKey="createProduct"/>
2828
</createData>
29-
30-
<createData entity="specialProductPrice2" stepKey="addSpecialToSimpleProduct">
31-
<requiredEntity createDataKey="createProduct"/>
32-
<field key="price">65.00</field>
33-
</createData>
34-
<magentoCLI command="cron:run --group=index" stepKey="runCronIndex"/>
3529
</before>
3630
<after>
3731
<deleteData createDataKey="createProduct" stepKey="deleteSimpleProduct"/>
3832
<deleteData createDataKey="createCategory" stepKey="deleteCategory"/>
3933
</after>
4034

35+
<actionGroup ref="LoginAsAdmin" stepKey="LoginAsAdmin"/>
36+
37+
<actionGroup ref="GoToProductPageViaIDActionGroup" stepKey="openAdminProductEditPage">
38+
<argument name="productId" value="$createProduct.id$"/>
39+
</actionGroup>
40+
41+
<actionGroup ref="AddSpecialPriceToProductActionGroup" stepKey="addSpecialPriceToProduct">
42+
<argument name="price" value="65.00"/>
43+
</actionGroup>
44+
45+
<actionGroup ref="SaveProductFormActionGroup" stepKey="saveProductForm"/>
46+
4147
<actionGroup ref="StorefrontOpenProductPageActionGroup" stepKey="openProductPage">
4248
<argument name="productUrl" value="$createProduct.custom_attributes[url_key]$"/>
4349
</actionGroup>
44-
<waitForPageLoad stepKey="waitForProductPageLoad"/>
4550

4651
<actionGroup ref="AssertStorefrontProductDetailPageNameActionGroup" stepKey="assertProductNameText">
4752
<argument name="productName" value="$createProduct.name$"/>

0 commit comments

Comments
 (0)