Skip to content

Commit a2dc4f1

Browse files
shanthishanthi
authored andcommitted
ACQE-5286: Added waitactions in the action groups AdminUpdateQuantityInAdvancedPricingWithIndexActionGroup and AdminProductSetAdvancedFixedPricingWithIndexActionGroup
1 parent f5a26d0 commit a2dc4f1

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

app/code/Magento/Catalog/Test/Mftf/ActionGroup/AdminProductSetAdvancedFixedPricingWithIndexActionGroup.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
</annotations>
1515
<remove keyForRemoval="selectProductTierPricePriceInput"></remove>
1616
<selectOption selector="{{AdminProductFormAdvancedPricingSection.productTierPriceValueTypeSelect(index)}}" userInput="{{price}}" after="fillProductTierPriceQtyInput" stepKey="selectProductTierPriceValueType"/>
17+
<waitForElementVisible selector="{{AdminProductFormAdvancedPricingSection.productTierPriceFixedPriceInput(index)}}" stepKey="waitForTierPriceFixedPriceField"/>
1718
<fillField selector="{{AdminProductFormAdvancedPricingSection.productTierPriceFixedPriceInput(index)}}" userInput="{{amount}}" stepKey="selectProductTierPricePriceInput"/>
1819
</actionGroup>
1920
</actionGroups>

app/code/Magento/Catalog/Test/Mftf/ActionGroup/AdminUpdateQuantityInAdvancedPricingWithIndexActionGroup.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
<waitForElementVisible selector="{{AdminProductFormAdvancedPricingSection.customerGroupPriceAddButton}}" stepKey="waitForCustomerGroupPriceAddButton"/>
2121
<waitForElement selector="{{AdminProductFormAdvancedPricingSection.productTierPriceCustGroupSelect(index)}}" stepKey="waitForSelectCustomerGroupNameAttribute2"/>
2222
<fillField selector="{{AdminProductFormAdvancedPricingSection.productTierPriceQtyInput(index)}}" userInput="{{quantity}}" stepKey="fillProductTierPriceQtyInput"/>
23+
<waitForElementClickable selector="{{AdminProductFormAdvancedPricingSection.doneButton}}" stepKey="waitForDoneButtonToBeClicked"/>
2324
<click selector="{{AdminProductFormAdvancedPricingSection.doneButton}}" stepKey="clickDoneButton"/>
2425
<waitForPageLoad stepKey="WaitForProductSave"/>
2526
</actionGroup>

0 commit comments

Comments
 (0)