Skip to content

Commit 0242350

Browse files
committed
MC-17014: Cannot Save FPT (Fixed Product Tax) On Catalog Product For Specific Website
- Update automated test script.
1 parent 9743530 commit 0242350

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

app/code/Magento/Weee/Test/Mftf/Test/AdminFixedTaxValSavedForSpecificWebsiteTest.xml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,15 +50,13 @@
5050
<!--Set catalog price scope to Global-->
5151
<comment userInput="Set catalog price scope to Global" stepKey="commentSetPriceScope"/>
5252
<magentoCLI command="config:set catalog/price/scope 0" stepKey="setPriceScopeGlobal"/>
53-
<magentoCLI command="indexer:reindex" stepKey="reindex"/>
53+
<magentoCLI command="indexer:reindex catalog_product_price" stepKey="reindex"/>
5454
<magentoCLI command="cache:flush" stepKey="flushCache"/>
5555
</before>
5656
<after>
5757
<!--Set catalog price scope to Global-->
5858
<comment userInput="Set catalog price scope to Global" stepKey="commentSetPriceScope"/>
5959
<magentoCLI command="config:set catalog/price/scope 0" stepKey="setPriceScopeGlobal"/>
60-
<magentoCLI command="indexer:reindex" stepKey="reindex"/>
61-
<magentoCLI command="cache:flush" stepKey="flushCache"/>
6260
<!-- Delete created data and log out -->
6361
<comment userInput="Delete created data and log out" stepKey="deleteDataAndLogOut"/>
6462
<deleteData createDataKey="createProduct" stepKey="deleteProduct"/>
@@ -96,7 +94,7 @@
9694
<!--Set catalog price scope to Website-->
9795
<comment userInput="Set catalog price scope to Website" stepKey="commentSetPriceScope"/>
9896
<magentoCLI command="config:set catalog/price/scope 1" stepKey="setPriceScopeWebsite"/>
99-
<magentoCLI command="indexer:reindex" stepKey="reindex"/>
97+
<magentoCLI command="indexer:reindex catalog_product_price" stepKey="reindex"/>
10098
<magentoCLI command="cache:flush" stepKey="flushCache"/>
10199
<!--See available websites only 'All Websites'-->
102100
<comment userInput="See available websites 'All Websites', 'Main Website' and Second website" stepKey="commentCheckWebsitesInProductPage"/>
@@ -115,6 +113,6 @@
115113
<seeElement selector="{{AdminProductAddFPTValueSection.setWebSiteForFPTOption($$createProductFPTAttribute.attribute_code$$, NewWebSiteData.name)}}" stepKey="checkSecondWebsitesInDropDownSecondTime"/>
116114
<!-- Check if created tax attribute is saved -->
117115
<comment userInput="Check if created tax attribute is saved" stepKey="checkTaxAttributeIsSaved"/>
118-
<seeElement selector="{{AdminProductAddFPTValueSection.setTaxValueForFPT($$createProductFPTAttribute.attribute_code$$)}}" stepKey="checkTaxAttributeSaved"/>
116+
<seeInField selector="{{AdminProductAddFPTValueSection.setTaxValueForFPT($$createProductFPTAttribute.attribute_code$$)}}" userInput="10" stepKey="checkTaxAttributeSaved"/>
119117
</test>
120118
</tests>

0 commit comments

Comments
 (0)