mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-01 07:02:48 +08:00
Fix block cart continuation
This commit is contained in:
parent
6049f8b396
commit
0d8f86eefa
2 changed files with 19 additions and 1 deletions
|
@ -141,3 +141,16 @@ test('PayPal express block', async ({page}) => {
|
|||
|
||||
await completeBlockContinuation(page);
|
||||
});
|
||||
|
||||
test('PayPal express block cart', async ({page}) => {
|
||||
|
||||
await page.goto('/cart-block?add-to-cart=' + PRODUCT_ID)
|
||||
|
||||
const popup = await openPaypalPopup(page);
|
||||
|
||||
await loginIntoPaypal(popup);
|
||||
|
||||
await popup.locator('#payment-submit-btn').click();
|
||||
|
||||
await completeBlockContinuation(page);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue