File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
app/code/Magento/Catalog/Test/Mftf/Test Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 111
111
</actionGroup >
112
112
<waitForPageLoad stepKey =" waitForTheProductToLoad" />
113
113
<checkOption selector =" {{AdminAddProductsToGroupPanel.firstCheckbox}}" stepKey =" selectTheSimpleProduct2" />
114
- <click stepKey =" addSelectedProduct" selector =" {{AdminAddRelatedProductsModalSection.AddSelectedProductsButton }}" />
114
+ <click stepKey =" addSelectedProduct" selector =" {{AdminAddRelatedProductsModalSection.AddUpSellProductsButton }}" />
115
115
<waitForPageLoad stepKey =" waitForProductToBeAdded" />
116
116
<click stepKey =" clickOnAddUpSellProductsButton" selector =" {{AdminProductFormRelatedUpSellCrossSellSection.addUpSellProduct}}" />
117
117
<actionGroup ref =" filterProductGridBySku2" stepKey =" filterConfigurableProduct" >
118
118
<argument name =" sku" value =" $$createConfigProduct.sku$$" />
119
119
</actionGroup >
120
120
<waitForPageLoad stepKey =" waitForTheConfigProductToLoad" />
121
121
<checkOption selector =" {{AdminAddProductsToGroupPanel.firstCheckbox}}" stepKey =" selectTheConfigProduct" />
122
- <click stepKey =" addSelectedProductButton" selector =" {{AdminAddRelatedProductsModalSection.AddSelectedProductsButton }}" />
122
+ <click stepKey =" addSelectedProductButton" selector =" {{AdminAddRelatedProductsModalSection.AddUpSellProductsButton }}" />
123
123
<waitForPageLoad stepKey =" waitForConfigProductToBeAdded" />
124
124
<click stepKey =" clickOnRelatedProducts1" selector =" {{AdminProductFormRelatedUpSellCrossSellSection.relatedProductsHeader}}" />
125
125
<click stepKey =" clickOnSaveButton" selector =" {{AdminProductFormActionSection.saveButton}}" />
Original file line number Diff line number Diff line change 41
41
<magentoCLI command =" cron:run" stepKey =" runCron2" />
42
42
</before >
43
43
<after >
44
+ <magentoCLI stepKey =" setFlatCatalogCategory" command =" config:set catalog/frontend/flat_catalog_category 0 " />
45
+ <magentoCLI stepKey =" setIndexersMode" command =" indexer:set-mode" arguments =" realtime" />
46
+ <magentoCLI stepKey =" indexerReindex" command =" indexer:reindex" />
44
47
<deleteData stepKey =" deleteCategory" createDataKey =" createCategory" />
45
48
<actionGroup ref =" AdminDeleteStoreViewActionGroup" stepKey =" deleteStoreViewEn" >
46
49
<argument name =" customStore" value =" customStoreEN" />
47
50
</actionGroup >
48
51
<actionGroup ref =" AdminDeleteStoreViewActionGroup" stepKey =" deleteStoreViewFr" >
49
52
<argument name =" customStore" value =" customStoreFR" />
50
53
</actionGroup >
51
- <magentoCLI stepKey =" setFlatCatalogCategory" command =" config:set catalog/frontend/flat_catalog_category 0 " />
52
54
<actionGroup ref =" logout" stepKey =" logout" />
53
55
</after >
54
56
<!-- Verify Category is not listed in navigation menu-->
You can’t perform that action at this time.
0 commit comments