File tree Expand file tree Collapse file tree 2 files changed +4
-18
lines changed
app/code/Magento/Catalog/Test/Mftf Expand file tree Collapse file tree 2 files changed +4
-18
lines changed Original file line number Diff line number Diff line change 215
215
<waitForElementNotVisible selector =" {{AdminProductFormAdvancedPricingSection.specialPrice}}" stepKey =" waitForCloseModalWindow" />
216
216
</actionGroup >
217
217
218
- <!-- Select Product In Websites-->
219
- <actionGroup name =" SelectProductInWebsitesActionGroup" >
220
- <arguments >
221
- <argument name =" website" type =" string" />
222
- </arguments >
223
- <scrollTo selector =" {{CreateProductSection.productInWebsite}}" stepKey =" ScrollToWebsites" />
224
- <click selector =" {{CreateProductSection.productInWebsite}}" stepKey =" ClickTpOpenProductInWebsite" />
225
- <waitForPageLoad stepKey =" waitForPageOpened" />
226
- <click selector =" {{CreateProductSection.isSelected(website)}}" stepKey =" SelectWebsite" />
227
- <click selector =" {{CreateProductSection.saveButton}}" stepKey =" clickSaveProduct" />
228
- </actionGroup >
229
-
230
218
<!-- Switch to New Store view-->
231
219
<actionGroup name =" SwitchToTheNewStoreView" >
232
220
<arguments >
Original file line number Diff line number Diff line change 7
7
-->
8
8
9
9
<tests xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
10
- xsi : noNamespaceSchemaLocation =" ../../../../../../../vendor/ magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/ Test/etc/testSchema.xsd" >
10
+ xsi : noNamespaceSchemaLocation =" urn: magento:mftf: Test/etc/testSchema.xsd" >
11
11
<test name =" AdminRemoveImageAffectsAllScopesTest" >
12
12
<annotations >
13
13
<features value =" Catalog" />
65
65
</actionGroup >
66
66
<deleteData createDataKey =" category" stepKey =" deletePreReqCategory" />
67
67
<deleteData createDataKey =" product" stepKey =" deleteFirstProduct" />
68
- <amOnPage url = " {{AdminLogoutPage.url}} " stepKey =" amOnLogoutPage " />
68
+ <actionGroup ref = " logout " stepKey =" logout " />
69
69
</after >
70
70
71
71
<!-- Create product-->
86
86
<actionGroup ref =" addProductImage" stepKey =" addSecondImageForProduct" >
87
87
<argument name =" image" value =" MagentoLogo" />
88
88
</actionGroup >
89
-
90
89
<!-- "Product in Websites": select both Websites-->
91
- <actionGroup ref =" SelectProductInWebsitesActionGroup " stepKey =" selectFirstWebsite " >
90
+ <actionGroup ref =" ProductSetWebsite " stepKey =" ProductSetWebsite1 " >
92
91
<argument name =" website" value =" FirstWebSite" />
93
92
</actionGroup >
94
-
95
- <actionGroup ref =" SelectProductInWebsitesActionGroup" stepKey =" selectSecondWebsite" >
93
+ <actionGroup ref =" ProductSetWebsite" stepKey =" ProductSetWebsite2" >
96
94
<argument name =" website" value =" SecondWebSite" />
97
95
</actionGroup >
98
96
You can’t perform that action at this time.
0 commit comments