Skip to content

Commit be2ae29

Browse files
authored
ACQE-6733 | [AC-4595] Verify that Terms and Conditions is presented on Storefront for non Main Website
1 parent e42aec8 commit be2ae29

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/code/Magento/CheckoutAgreements/Test/Mftf/ActionGroup/AssertStorefrontTermInCheckoutActionGroup.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
<argument name="termCheckboxText" type="string"/>
1414
</arguments>
1515
<!--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"/>
1618
<waitForText selector="{{StorefrontCheckoutAgreementsSection.checkoutAgreementButton}}" userInput="{{termCheckboxText}}" stepKey="seeTermInCheckout"/>
1719
<waitForElementClickable selector="{{StorefrontCheckoutAgreementsSection.checkoutAgreementCheckbox}}" stepKey="waitForCheckAgreementToBeClickable"/>
1820
<selectOption selector="{{StorefrontCheckoutAgreementsSection.checkoutAgreementCheckbox}}" userInput="{{termCheckboxText}}" stepKey="checkAgreement"/>

0 commit comments

Comments
 (0)