Skip to content

Commit 0ae58d9

Browse files
committed
MAGETWO-96026: Create MFTF test for MAGETWO-93973
1 parent 86fa595 commit 0ae58d9

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

app/code/Magento/Catalog/Test/Mftf/Section/AdminProductFormSection.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
<element name="advancedPricingLink" type="button" selector="button[data-index='advanced_pricing_button']"/>
2929
<element name="categoriesDropdown" type="multiselect" selector="div[data-index='category_ids']"/>
3030
<element name="productQuantity" type="input" selector=".admin__field[data-index=qty] input"/>
31-
<element name="advancedInventoryLink" type="input" selector="//button[contains(@data-index, 'advanced_inventory_button')]"/>
31+
<element name="advancedInventoryLink" type="button" selector="//button[contains(@data-index, 'advanced_inventory_button')]"/>
3232
<element name="productStockStatus" type="select" selector="select[name='product[quantity_and_stock_status][is_in_stock]']"/>
3333
<element name="productWeight" type="input" selector=".admin__field[data-index=weight] input"/>
3434
<element name="productWeightSelect" type="select" selector="select[name='product[product_has_weight]']"/>

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
<!--Step3. Open *Advanced Pricing* pop-up (Click on *Advanced Pricing* link). Click on *Add* button. Fill *0.5* in *Quantity*-->
4646
<scrollTo selector="{{AdminProductFormSection.productName}}" stepKey="scrollToProductName"/>
4747
<click selector="{{AdminProductFormSection.advancedPricingLink}}" stepKey="clickOnAdvancedPricingLink1"/>
48+
<waitForElement selector="{{AdminProductFormAdvancedPricingSection.customerGroupPriceAddButton}}" stepKey="waitForAddButton"/>
4849
<click selector="{{AdminProductFormAdvancedPricingSection.customerGroupPriceAddButton}}" stepKey="clickOnCustomerGroupPriceAddButton"/>
4950
<fillField selector="{{AdminProductFormAdvancedPricingSection.productTierPriceQtyInput('0')}}" userInput="0.5" stepKey="fillProductTierPriceQty"/>
5051
<!--Step4. Close *Advanced Pricing* (Click on button *Done*). Save *prod1* (Click on button *Save*)-->

0 commit comments

Comments
 (0)