File tree Expand file tree Collapse file tree 3 files changed +2
-4
lines changed
CheckoutAgreements/Test/Mftf Expand file tree Collapse file tree 3 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 1212 <element name =" checkoutAgreementCheckbox" type =" checkbox" selector =" div.checkout-agreement.field.choice.required > input" />
1313 <element name =" checkoutAgreementButton" type =" button" selector =" div.checkout-agreements-block > div > div > div > label > button > span" />
1414 <element name =" checkoutAgreementErrorMessage" type =" button" selector =" div.checkout-agreement.field.choice.required > div.mage-error" />
15- <element name =" checkoutPaymentMethod" type =" radio" selector =" //div[@class='payment-method _active']/div/input[@id= '{{methodName}}']" parameterized =" true" />
1615 <element name =" checkoutAgreementCheckboxcheck" type =" checkbox" selector =" //span[text()='{{agreementname}}']/../../../input[@type='checkbox']" parameterized =" true" />
1716 </section >
1817</sections >
Original file line number Diff line number Diff line change 1818 <testCaseId value =" AC-4723" />
1919 </annotations >
2020 <before >
21- <!-- enable flat rate-->
22- <magentoCLI command =" config:set {{EnableFlatRateConfigData.path}} {{EnableFlatRateConfigData.value}}" stepKey =" enableFlatRate" />
2321 <!-- Create Category-->
2422 <createData entity =" _defaultCategory" stepKey =" testCategory" />
2523 <!-- Create SimpleProductWithPrice100 -->
9694 <!-- Section for *CheckMoneyOrder* is opened-->
9795 <seeElement selector =" {{StorefrontCheckoutAgreementsSection.checkoutPaymentMethod('checkmo')}}" stepKey =" checkMoneyOrderPageIsOpened" />
9896 <!-- Check Section for *Cash On Delivery* is closed -->
99- <dontSeeElement selector =" {{StorefrontCheckoutAgreementsSection .checkoutPaymentMethod('cashondelivery')}}" stepKey =" cashOnDelivery" />
97+ <dontSeeElement selector =" {{AdminOrderFormPaymentSection .checkoutPaymentMethod('cashondelivery')}}" stepKey =" cashOnDelivery" />
10098 <!-- Check-box with text for Terms and Condition is presented-->
10199 <seeElement selector =" {{StorefrontCheckoutAgreementsSection.checkoutAgreementCheckbox}}" stepKey =" seeTermInCheckoutIsPresent" />
102100 <see selector =" {{StorefrontCheckoutAgreementsSection.checkoutAgreementButton}}" userInput =" {{newHtmlTerm.checkboxText}}" stepKey =" seeTermTextInCheckoutIsPresent" />
Original file line number Diff line number Diff line change 3030 <element name =" purchaseOrderNumber" type =" input" selector =" #po_number" />
3131 <element name =" freePaymentLabel" type =" text" selector =" #order-billing_method_form label[for='p_method_free']" />
3232 <element name =" paymentLabelWithRadioButton" type =" text" selector =" #order-billing_method_form .admin__field-option input[title='{{paymentMethodName}}'] + label" parameterized =" true" />
33+ <element name =" checkoutPaymentMethod" type =" radio" selector =" //div[@class='payment-method _active']/div/input[@id= '{{methodName}}']" parameterized =" true" />
3334 </section >
3435</sections >
You can’t perform that action at this time.
0 commit comments