Skip to content

Commit 862fae6

Browse files
committed
Merge remote-tracking branch 'origin/MC-36776' into 2.3-develop-pr146
2 parents aecf16c + a70ed2d commit 862fae6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/code/Magento/Paypal/Test/Mftf/ActionGroup/StorefrontPayOrderOnPayPalCheckoutActionGroup.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@
1818
<click selector="{{PayPalPaymentSection.cartIcon}}" stepKey="openCart"/>
1919
<waitForElementVisible selector="{{PayPalPaymentSection.itemName(productName)}}" stepKey="waitForCartLoad"/>
2020
<seeElement selector="{{PayPalPaymentSection.itemName(productName)}}" stepKey="seeProductName"/>
21-
<scrollTo selector="{{PayPalPaymentSection.PayPalSubmitBtn}}" stepKey="scrollToPayPalSubmitBtn"/>
22-
<waitForElementVisible selector="{{PayPalPaymentSection.PayPalSubmitBtn}}" stepKey="waitPayPalSubmitBtnVisible"/>
21+
<conditionalClick selector="{{PayPalPaymentSection.acceptCookies}}" dependentSelector="{{PayPalPaymentSection.acceptCookies}}" visible="true" stepKey="acceptCookiesIfAppeared"/>
2322
<click selector="{{PayPalPaymentSection.PayPalSubmitBtn}}" stepKey="clickPayPalSubmitBtn"/>
2423
<switchToPreviousTab stepKey="switchToPreviousTab"/>
2524
<waitForPageLoad stepKey="waitForPageLoad"/>

app/code/Magento/Paypal/Test/Mftf/Section/PayPalExpressCheckoutConfigSection.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,5 +64,6 @@
6464
<element name="PayPalSubmitBtn" type="text" selector="#payment-submit-btn"/>
6565
<element name="nextButton" type="button" selector="#btnNext"/>
6666
<element name="continueButton" type="button" selector=".continueButton"/>
67+
<element name="acceptCookies" type="button" selector=".ccpaCookieBanner_buttonGroup #acceptAllButton" timeout="10"/>
6768
</section>
6869
</sections>

0 commit comments

Comments
 (0)