E2E Tests on Atomic - All #167
Annotations
9 errors, 5 warnings, and 1 notice
[chromium] › tests/e2e-pw/specs/wcpay/shopper/shopper-checkout-save-card-and-purchase.spec.ts:71:9 › Saved cards › When using a 3ds card added on checkout › should process a payment with the saved card:
tests/e2e-pw/specs/wcpay/shopper/shopper-checkout-save-card-and-purchase.spec.ts#L1
1) [chromium] › tests/e2e-pw/specs/wcpay/shopper/shopper-checkout-save-card-and-purchase.spec.ts:71:9 › Saved cards › When using a 3ds card added on checkout › should process a payment with the saved card
Test timeout of 120000ms exceeded.
|
[chromium] › tests/e2e-pw/specs/wcpay/shopper/shopper-checkout-save-card-and-purchase.spec.ts:71:9 › Saved cards › When using a 3ds card added on checkout › should process a payment with the saved card:
tests/e2e-pw/utils/shopper.ts#L239
1) [chromium] › tests/e2e-pw/specs/wcpay/shopper/shopper-checkout-save-card-and-purchase.spec.ts:71:9 › Saved cards › When using a 3ds card added on checkout › should process a payment with the saved card
Error: page.waitForSelector: Test ended.
Call log:
- waiting for locator('body > div > iframe[name^="__privateStripeFrame"]') to be visible
at ../utils/shopper.ts:239
237 | // Stripe card input also uses __privateStripeFrame as a prefix, so need to make sure we wait for an iframe that
238 | // appears at the top of the DOM.
> 239 | await page.waitForSelector(
| ^
240 | 'body > div > iframe[name^="__privateStripeFrame"]'
241 | );
242 |
at confirmCardAuthentication (/home/runner/work/woocommerce-payments/woocommerce-payments/tests/e2e-pw/utils/shopper.ts:239:13)
at /home/runner/work/woocommerce-payments/woocommerce-payments/tests/e2e-pw/specs/wcpay/shopper/shopper-checkout-save-card-and-purchase.spec.ts:76:7
|
[chromium] › tests/e2e-pw/specs/wcpay/shopper/shopper-checkout-save-card-and-purchase.spec.ts:71:9 › Saved cards › When using a 3ds card added on checkout › should process a payment with the saved card:
tests/e2e-pw/utils/shopper.ts#L550
1) [chromium] › tests/e2e-pw/specs/wcpay/shopper/shopper-checkout-save-card-and-purchase.spec.ts:71:9 › Saved cards › When using a 3ds card added on checkout › should process a payment with the saved card
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 100ms waiting for expect(locator).toBeVisible()
Locator: getByText('Visa ending in 3184 (expires 03/45)').first()
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 100ms
- waiting for getByText('Visa ending in 3184 (expires 03/45)').first()
at ../utils/shopper.ts:550
548 | )
549 | .first();
> 550 | await expect( option ).toBeVisible( { timeout: 100 } );
| ^
551 | await option.click();
552 | };
553 |
at selectSavedCardOnCheckout (/home/runner/work/woocommerce-payments/woocommerce-payments/tests/e2e-pw/utils/shopper.ts:550:25)
at /home/runner/work/woocommerce-payments/woocommerce-payments/tests/e2e-pw/specs/wcpay/shopper/shopper-checkout-save-card-and-purchase.spec.ts:73:37
|
[chromium] › tests/e2e-pw/specs/wcpay/shopper/shopper-checkout-save-card-and-purchase.spec.ts:71:9 › Saved cards › When using a 3ds card added on checkout › should process a payment with the saved card:
tests/e2e-pw/utils/shopper.ts#L550
1) [chromium] › tests/e2e-pw/specs/wcpay/shopper/shopper-checkout-save-card-and-purchase.spec.ts:71:9 › Saved cards › When using a 3ds card added on checkout › should process a payment with the saved card
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 100ms waiting for expect(locator).toBeVisible()
Locator: getByText('Visa ending in 3184 (expires 03/45)').first()
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 100ms
- waiting for getByText('Visa ending in 3184 (expires 03/45)').first()
at ../utils/shopper.ts:550
548 | )
549 | .first();
> 550 | await expect( option ).toBeVisible( { timeout: 100 } );
| ^
551 | await option.click();
552 | };
553 |
at selectSavedCardOnCheckout (/home/runner/work/woocommerce-payments/woocommerce-payments/tests/e2e-pw/utils/shopper.ts:550:25)
at /home/runner/work/woocommerce-payments/woocommerce-payments/tests/e2e-pw/specs/wcpay/shopper/shopper-checkout-save-card-and-purchase.spec.ts:73:37
|
[chromium] › tests/e2e-pw/specs/wcpay/shopper/shopper-checkout-save-card-and-purchase.spec.ts:84:9 › Saved cards › When using a 3ds card added on checkout › should delete the card:
tests/e2e-pw/utils/shopper.ts#L534
2) [chromium] › tests/e2e-pw/specs/wcpay/shopper/shopper-checkout-save-card-and-purchase.spec.ts:84:9 › Saved cards › When using a 3ds card added on checkout › should delete the card
Error: Timed out 100ms waiting for expect(locator).toBeVisible()
Locator: getByRole('row', { name: 'Visa ending in 3184' }).first()
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 100ms
- waiting for getByRole('row', { name: 'Visa ending in 3184' }).first()
at ../utils/shopper.ts:534
532 | ) => {
533 | const row = page.getByRole( 'row', { name: card.label } ).first();
> 534 | await expect( row ).toBeVisible( { timeout: 100 } );
| ^
535 | const button = row.getByRole( 'link', { name: 'Delete' } );
536 | await expect( button ).toBeVisible( { timeout: 100 } );
537 | await expect( button ).toBeEnabled( { timeout: 100 } );
at deleteSavedCard (/home/runner/work/woocommerce-payments/woocommerce-payments/tests/e2e-pw/utils/shopper.ts:534:22)
at /home/runner/work/woocommerce-payments/woocommerce-payments/tests/e2e-pw/specs/wcpay/shopper/shopper-checkout-save-card-and-purchase.spec.ts:86:27
|
[chromium] › tests/e2e-pw/specs/wcpay/shopper/shopper-checkout-save-card-and-purchase.spec.ts:84:9 › Saved cards › When using a 3ds card added on checkout › should delete the card:
tests/e2e-pw/utils/shopper.ts#L534
2) [chromium] › tests/e2e-pw/specs/wcpay/shopper/shopper-checkout-save-card-and-purchase.spec.ts:84:9 › Saved cards › When using a 3ds card added on checkout › should delete the card
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 100ms waiting for expect(locator).toBeVisible()
Locator: getByRole('row', { name: 'Visa ending in 3184' }).first()
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 100ms
- waiting for getByRole('row', { name: 'Visa ending in 3184' }).first()
at ../utils/shopper.ts:534
532 | ) => {
533 | const row = page.getByRole( 'row', { name: card.label } ).first();
> 534 | await expect( row ).toBeVisible( { timeout: 100 } );
| ^
535 | const button = row.getByRole( 'link', { name: 'Delete' } );
536 | await expect( button ).toBeVisible( { timeout: 100 } );
537 | await expect( button ).toBeEnabled( { timeout: 100 } );
at deleteSavedCard (/home/runner/work/woocommerce-payments/woocommerce-payments/tests/e2e-pw/utils/shopper.ts:534:22)
at /home/runner/work/woocommerce-payments/woocommerce-payments/tests/e2e-pw/specs/wcpay/shopper/shopper-checkout-save-card-and-purchase.spec.ts:86:27
|
[chromium] › tests/e2e-pw/specs/wcpay/shopper/shopper-checkout-save-card-and-purchase.spec.ts:84:9 › Saved cards › When using a 3ds card added on checkout › should delete the card:
tests/e2e-pw/utils/shopper.ts#L534
2) [chromium] › tests/e2e-pw/specs/wcpay/shopper/shopper-checkout-save-card-and-purchase.spec.ts:84:9 › Saved cards › When using a 3ds card added on checkout › should delete the card
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 100ms waiting for expect(locator).toBeVisible()
Locator: getByRole('row', { name: 'Visa ending in 3184' }).first()
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 100ms
- waiting for getByRole('row', { name: 'Visa ending in 3184' }).first()
at ../utils/shopper.ts:534
532 | ) => {
533 | const row = page.getByRole( 'row', { name: card.label } ).first();
> 534 | await expect( row ).toBeVisible( { timeout: 100 } );
| ^
535 | const button = row.getByRole( 'link', { name: 'Delete' } );
536 | await expect( button ).toBeVisible( { timeout: 100 } );
537 | await expect( button ).toBeEnabled( { timeout: 100 } );
at deleteSavedCard (/home/runner/work/woocommerce-payments/woocommerce-payments/tests/e2e-pw/utils/shopper.ts:534:22)
at /home/runner/work/woocommerce-payments/woocommerce-payments/tests/e2e-pw/specs/wcpay/shopper/shopper-checkout-save-card-and-purchase.spec.ts:86:27
|
[chromium] › tests/e2e-pw/specs/wcpay/shopper/shopper-checkout-cart-coupon.spec.ts:69:7 › Checkout with free coupon & after modifying cart on Checkout page › Remove free coupon:
tests/e2e-pw/specs/wcpay/shopper/shopper-checkout-cart-coupon.spec.ts#L1
3) [chromium] › tests/e2e-pw/specs/wcpay/shopper/shopper-checkout-cart-coupon.spec.ts:69:7 › Checkout with free coupon & after modifying cart on Checkout page › Remove free coupon, then checkout
Test timeout of 120000ms exceeded.
|
[chromium] › tests/e2e-pw/specs/wcpay/shopper/shopper-checkout-cart-coupon.spec.ts:69:7 › Checkout with free coupon & after modifying cart on Checkout page › Remove free coupon:
tests/e2e-pw/utils/shopper.ts#L189
3) [chromium] › tests/e2e-pw/specs/wcpay/shopper/shopper-checkout-cart-coupon.spec.ts:69:7 › Checkout with free coupon & after modifying cart on Checkout page › Remove free coupon, then checkout
Error: page.waitForSelector: Test timeout of 120000ms exceeded.
Call log:
- waiting for locator('#payment #wcpay-card-element iframe[name^="__privateStripeFrame"]') to be visible
- waiting for" https://wcpaytestecomm.wpcomstaging.com/cart/" navigation to finish...
- navigated to "https://wcpaytestecomm.wpcomstaging.com/cart/"
at ../utils/shopper.ts:189
187 | }
188 | } else {
> 189 | const frameHandle = await page.waitForSelector(
| ^
190 | '#payment #wcpay-card-element iframe[name^="__privateStripeFrame"]'
191 | );
192 | const stripeFrame = await frameHandle.contentFrame();
at fillCardDetails (/home/runner/work/woocommerce-payments/woocommerce-payments/tests/e2e-pw/utils/shopper.ts:189:34)
at /home/runner/work/woocommerce-payments/woocommerce-payments/tests/e2e-pw/specs/wcpay/shopper/shopper-checkout-cart-coupon.spec.ts:73:4
|
Slow Test:
[chromium] › tests/e2e-pw/specs/wcpay/shopper/shopper-myaccount-saved-cards.spec.ts#L1
[chromium] › tests/e2e-pw/specs/wcpay/shopper/shopper-myaccount-saved-cards.spec.ts took 3.0m
|
Slow Test:
[chromium] › tests/e2e-pw/specs/wcpay/shopper/shopper-checkout-failures.spec.ts#L1
[chromium] › tests/e2e-pw/specs/wcpay/shopper/shopper-checkout-failures.spec.ts took 1.8m
|
Slow Test:
[chromium] › tests/e2e-pw/specs/wcpay/shopper/shopper-checkout-purchase-site-editor.spec.ts#L1
[chromium] › tests/e2e-pw/specs/wcpay/shopper/shopper-checkout-purchase-site-editor.spec.ts took 1.5m
|
Slow Test:
[chromium] › tests/e2e-pw/specs/wcpay/shopper/shopper-checkout-purchase.spec.ts#L1
[chromium] › tests/e2e-pw/specs/wcpay/shopper/shopper-checkout-purchase.spec.ts took 1.2m
|
Slow Test:
[chromium] › tests/e2e-pw/specs/wcpay/shopper/shopper-bnpls-checkout.spec.ts#L1
[chromium] › tests/e2e-pw/specs/wcpay/shopper/shopper-bnpls-checkout.spec.ts took 1.2m
|
🎭 Playwright Run Summary
2 failed
[chromium] › tests/e2e-pw/specs/wcpay/shopper/shopper-checkout-save-card-and-purchase.spec.ts:71:9 › Saved cards › When using a 3ds card added on checkout › should process a payment with the saved card
[chromium] › tests/e2e-pw/specs/wcpay/shopper/shopper-checkout-save-card-and-purchase.spec.ts:84:9 › Saved cards › When using a 3ds card added on checkout › should delete the card
1 flaky
[chromium] › tests/e2e-pw/specs/wcpay/shopper/shopper-checkout-cart-coupon.spec.ts:69:7 › Checkout with free coupon & after modifying cart on Checkout page › Remove free coupon, then checkout
87 passed (31.9m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
wp(nightly)-wc(latest)-wcpay-shopper
|
52.7 MB |
|