Fix block cart continuation

This commit is contained in:
Alex P 2023-04-17 17:15:37 +03:00
parent 6049f8b396
commit 0d8f86eefa
No known key found for this signature in database
GPG key ID: 54487A734A204D71
2 changed files with 19 additions and 1 deletions

View file

@ -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);
});