Skip to content

Commit 723d81a

Browse files
glo74186mohit-adobe
authored andcommitted
ACQE-8895: Verify only PayPal Payments Standard payment method is available during staging preview checkout
- Creatted new element
1 parent c135fc3 commit 723d81a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/code/Magento/Checkout/Test/Mftf/Section/StorefrontCheckoutPaymentMethodSection.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,6 @@
2020
<element name="checkPaypalExpress" type="radio" selector="//div/input[@id='paypal_express']"/>
2121
<element name="checkPaypalExpressActive" type="radio" selector="//div[@class='payment-method _active']/div/input[@id='paypal_express']"/>
2222
<element name="paymentMethod" type="radio" selector="//dl[@class='checkout-payment-method']//label[contains(., '{{methodName}}')]/../..//input" parameterized="true"/>
23+
<element name="creditCard" type="text" selector="//span[@data-bind='text: getTitle()' and contains(text(),'{{cardName}}')]" parameterized="true"/>
2324
</section>
2425
</sections>

0 commit comments

Comments
 (0)