File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
app/code/Magento/CheckoutAgreements/Test/Mftf/ActionGroup Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change 13
13
<argument name =" termCheckboxText" type =" string" />
14
14
</arguments >
15
15
<!-- Check if agreement is present on checkout and select it-->
16
+ <scrollTo selector =" .checkout-agreements-block" stepKey =" scrollToCheckoutAgreementBlock" />
17
+ <click selector =" .checkout-agreements-block" stepKey =" waitForCheckoutAgreementBlockToBeClickable" />
16
18
<waitForText selector =" {{StorefrontCheckoutAgreementsSection.checkoutAgreementButton}}" userInput =" {{termCheckboxText}}" stepKey =" seeTermInCheckout" />
17
19
<waitForElementClickable selector =" {{StorefrontCheckoutAgreementsSection.checkoutAgreementCheckbox}}" stepKey =" waitForCheckAgreementToBeClickable" />
18
20
<selectOption selector =" {{StorefrontCheckoutAgreementsSection.checkoutAgreementCheckbox}}" userInput =" {{termCheckboxText}}" stepKey =" checkAgreement" />
You can’t perform that action at this time.
0 commit comments