File tree Expand file tree Collapse file tree 2 files changed +5
-7
lines changed
app/code/Magento/Bundle/Test/Mftf/Test Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change 36
36
<requiredEntity createDataKey =" createSimpleProduct" />
37
37
</createData >
38
38
39
- <magentoCron groups =" index" stepKey =" runCronIndex" />
40
- <actionGroup ref =" CliCacheFlushActionGroup" stepKey =" flushCache" >
41
- <argument name =" tags" value =" " />
39
+ <actionGroup ref =" CliIndexerReindexActionGroup" stepKey =" reindexInvalidatedIndices" >
40
+ <argument name =" indices" value =" cataloginventory_stock" />
42
41
</actionGroup >
43
42
<actionGroup ref =" AdminLoginActionGroup" stepKey =" loginAsAdmin" />
44
43
</before >
48
47
<magentoCron groups =" index" stepKey =" reindexInvalidatedIndices" />
49
48
<actionGroup ref =" AdminLogoutActionGroup" stepKey =" logout" />
50
49
</after >
51
- <actionGroup ref =" DeleteProductUsingProductGridActionGroup " stepKey =" deleteBundleProductFilteredBySkuAndName " >
52
- <argument name =" product " value =" $createDynamicBundleProduct$" />
50
+ <actionGroup ref =" DeleteProductBySkuActionGroup " stepKey =" deleteBundleProductBySku " >
51
+ <argument name =" sku " value =" $createDynamicBundleProduct.sku $" />
53
52
</actionGroup >
54
53
<see selector =" {{AdminCategoryMessagesSection.SuccessMessage}}" userInput =" A total of 1 record(s) have been deleted." stepKey =" deleteMessage" />
55
54
<!-- Verify product on Product Page -->
61
60
</actionGroup >
62
61
<!-- Should not see bundle product -->
63
62
<dontSee userInput =" $createDynamicBundleProduct.sku$" selector =" {{StorefrontCatalogSearchMainSection.searchResults}}" stepKey =" dontSeeProduct" />
64
- <comment userInput =" redundant action" stepKey =" seeCantFindProductMessage" />
65
63
<amOnPage url =" {{StorefrontCategoryPage.url($createCategory.custom_attributes[url_key]$)}}" stepKey =" openCategoryPage" />
66
64
<!-- Should not see any products in category -->
67
65
<dontSee userInput =" $createDynamicBundleProduct.name$" selector =" {{StorefrontCategoryMainSection.productsList}}" stepKey =" dontSeeProductInCategory" />
Original file line number Diff line number Diff line change 7
7
-->
8
8
<tests xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
9
9
xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Test/etc/testSchema.xsd" >
10
- <test name =" AdminDeleteBundleDynamicProductTest" >
10
+ <test name =" AdminDeleteBundleDynamicProductTest" deprecated = " Use AdminDeleteBundleDynamicPriceProductTest instead " >
11
11
<annotations >
12
12
<features value =" Bundle" />
13
13
<stories value =" Delete products" />
You can’t perform that action at this time.
0 commit comments