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 12
12
<element name =" checkoutAgreementCheckbox" type =" checkbox" selector =" div.checkout-agreement.field.choice.required > input" />
13
13
<element name =" checkoutAgreementButton" type =" button" selector =" div.checkout-agreements-block > div > div > div > label > button > span" />
14
14
<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" />
16
15
<element name =" checkoutAgreementCheckboxcheck" type =" checkbox" selector =" //span[text()='{{agreementname}}']/../../../input[@type='checkbox']" parameterized =" true" />
17
16
</section >
18
17
</sections >
Original file line number Diff line number Diff line change 18
18
<testCaseId value =" AC-4723" />
19
19
</annotations >
20
20
<before >
21
- <!-- enable flat rate-->
22
- <magentoCLI command =" config:set {{EnableFlatRateConfigData.path}} {{EnableFlatRateConfigData.value}}" stepKey =" enableFlatRate" />
23
21
<!-- Create Category-->
24
22
<createData entity =" _defaultCategory" stepKey =" testCategory" />
25
23
<!-- Create SimpleProductWithPrice100 -->
96
94
<!-- Section for *CheckMoneyOrder* is opened-->
97
95
<seeElement selector =" {{StorefrontCheckoutAgreementsSection.checkoutPaymentMethod('checkmo')}}" stepKey =" checkMoneyOrderPageIsOpened" />
98
96
<!-- Check Section for *Cash On Delivery* is closed -->
99
- <dontSeeElement selector =" {{StorefrontCheckoutAgreementsSection .checkoutPaymentMethod('cashondelivery')}}" stepKey =" cashOnDelivery" />
97
+ <dontSeeElement selector =" {{AdminOrderFormPaymentSection .checkoutPaymentMethod('cashondelivery')}}" stepKey =" cashOnDelivery" />
100
98
<!-- Check-box with text for Terms and Condition is presented-->
101
99
<seeElement selector =" {{StorefrontCheckoutAgreementsSection.checkoutAgreementCheckbox}}" stepKey =" seeTermInCheckoutIsPresent" />
102
100
<see selector =" {{StorefrontCheckoutAgreementsSection.checkoutAgreementButton}}" userInput =" {{newHtmlTerm.checkboxText}}" stepKey =" seeTermTextInCheckoutIsPresent" />
Original file line number Diff line number Diff line change 30
30
<element name =" purchaseOrderNumber" type =" input" selector =" #po_number" />
31
31
<element name =" freePaymentLabel" type =" text" selector =" #order-billing_method_form label[for='p_method_free']" />
32
32
<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" />
33
34
</section >
34
35
</sections >
You can’t perform that action at this time.
0 commit comments