File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed
app/code/Magento/Catalog/Test/Mftf/ActionGroup Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change 495
495
<click selector =" {{AdminAddUpSellProductsModalSection.AddSelectedProductsButton}}" stepKey =" addRelatedProductSelected" />
496
496
<waitForPageLoad stepKey =" waitForPageToLoad1" />
497
497
</actionGroup >
498
+ <actionGroup name =" adminProductAdvancedPricingNewCustomerGroupPrice" >
499
+ <arguments >
500
+ <argument name =" qty" type =" string" defaultValue =" 2" />
501
+ <argument name =" priceType" type =" string" defaultValue =" Discount" />
502
+ <argument name =" discount" type =" string" defaultValue =" 75" />
503
+ <argument name =" customerGroup" type =" string" defaultValue =" 0" />
504
+ </arguments >
505
+ <click selector =" {{AdminProductFormAdvancedPricingSection.customerGroupPriceAddButton}}" stepKey =" addCustomerGroup" />
506
+ <fillField selector =" {{AdminProductFormAdvancedPricingSection.productTierPriceQtyInput(customerGroup)}}" userInput =" {{qty}}" stepKey =" fillProductTierPriceQtyInput1" />
507
+ <selectOption selector =" {{AdminProductFormAdvancedPricingSection.productTierPriceValueTypeSelect(customerGroup)}}" userInput =" {{priceType}}" stepKey =" selectProductTierPriceValueType1" />
508
+ <fillField selector =" {{AdminProductFormAdvancedPricingSection.productTierPricePercentageValuePriceInput(customerGroup)}}" userInput =" {{discount}}" stepKey =" selectProductTierPricePriceInput" />
509
+ <click selector =" {{AdminProductFormAdvancedPricingSection.doneButton}}" stepKey =" clickDoneButton1" />
510
+ </actionGroup >
498
511
<actionGroup name =" AdminSetProductDisabled" >
499
512
<conditionalClick selector =" {{AdminProductFormSection.enableProductLabel}}" dependentSelector =" {{AdminProductFormSection.productStatusValue('1')}}" visible =" true" stepKey =" disableProduct" />
500
513
<seeElement selector =" {{AdminProductFormSection.productStatusValue('2')}}" stepKey =" assertThatProductSetToDisabled" />
You can’t perform that action at this time.
0 commit comments