Skip to content

E2E Tests on Atomic - All #162

E2E Tests on Atomic - All

E2E Tests on Atomic - All #162

Manually triggered February 5, 2025 15:33
Status Failure
Total duration 1h 0m 58s
Artifacts 1

e2e-tests-atomic.yml

on: workflow_dispatch
Matrix: wp-nightly-tests
Fit to window
Zoom out
Zoom in

Annotations

10 errors, 5 warnings, and 2 notices
[chromium] › wcpay/shopper/shopper-checkout-cart-coupon.spec.ts:78: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
1) [chromium] › wcpay/shopper/shopper-checkout-cart-coupon.spec.ts:78:7 › Checkout with free coupon & after modifying cart on Checkout page › Remove free coupon, then checkout Test timeout of 120000ms exceeded.
[chromium] › wcpay/shopper/shopper-checkout-cart-coupon.spec.ts:78:7 › Checkout with free coupon & after modifying cart on Checkout page › Remove free coupon: tests/e2e-pw/utils/shopper.ts#L189
1) [chromium] › wcpay/shopper/shopper-checkout-cart-coupon.spec.ts:78: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 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:82:4
[chromium] › wcpay/shopper/shopper-checkout-cart-coupon.spec.ts:78: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
1) [chromium] › wcpay/shopper/shopper-checkout-cart-coupon.spec.ts:78:7 › Checkout with free coupon & after modifying cart on Checkout page › Remove free coupon, then checkout Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 120000ms exceeded.
[chromium] › wcpay/shopper/shopper-checkout-cart-coupon.spec.ts:78:7 › Checkout with free coupon & after modifying cart on Checkout page › Remove free coupon: tests/e2e-pw/utils/shopper.ts#L189
1) [chromium] › wcpay/shopper/shopper-checkout-cart-coupon.spec.ts:78:7 › Checkout with free coupon & after modifying cart on Checkout page › Remove free coupon, then checkout Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: page.waitForSelector: Test timeout of 120000ms exceeded. Call log: - waiting for locator('#payment #wcpay-card-element iframe[name^="__privateStripeFrame"]') to be visible 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:82:4
[chromium] › wcpay/shopper/shopper-checkout-cart-coupon.spec.ts:78: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
1) [chromium] › wcpay/shopper/shopper-checkout-cart-coupon.spec.ts:78:7 › Checkout with free coupon & after modifying cart on Checkout page › Remove free coupon, then checkout Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 120000ms exceeded.
[chromium] › wcpay/shopper/shopper-checkout-cart-coupon.spec.ts:78:7 › Checkout with free coupon & after modifying cart on Checkout page › Remove free coupon: tests/e2e-pw/utils/shopper.ts#L189
1) [chromium] › wcpay/shopper/shopper-checkout-cart-coupon.spec.ts:78:7 › Checkout with free coupon & after modifying cart on Checkout page › Remove free coupon, then checkout Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: page.waitForSelector: Test timeout of 120000ms exceeded. Call log: - waiting for locator('#payment #wcpay-card-element iframe[name^="__privateStripeFrame"]') to be visible 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:82:4
[chromium] › wcpay/shopper/shopper-checkout-save-card-and-purchase.spec.ts:63:9 › Saved cards › When using a basic 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
2) [chromium] › wcpay/shopper/shopper-checkout-save-card-and-purchase.spec.ts:63:9 › Saved cards › When using a basic card added on checkout › should process a payment with the saved card Test timeout of 120000ms exceeded.
[chromium] › wcpay/shopper/shopper-checkout-save-card-and-purchase.spec.ts:63:9 › Saved cards › When using a basic card added on checkout › should process a payment with the saved card: tests/e2e-pw/utils/shopper.ts#L53
2) [chromium] › wcpay/shopper/shopper-checkout-save-card-and-purchase.spec.ts:63:9 › Saved cards › When using a basic card added on checkout › should process a payment with the saved card Error: locator.selectOption: Test ended. Call log: - waiting for locator('#billing_state') at ../utils/shopper.ts:53 51 | await page 52 | .locator( '#billing_state' ) > 53 | .selectOption( billingAddress.state ); | ^ 54 | } 55 | await page.locator( '#billing_postcode' ).fill( billingAddress.postcode ); 56 | await page.locator( '#billing_phone' ).fill( billingAddress.phone ); at fillBillingAddress (/home/runner/work/woocommerce-payments/woocommerce-payments/tests/e2e-pw/utils/shopper.ts:53:5) at setupCheckout (/home/runner/work/woocommerce-payments/woocommerce-payments/tests/e2e-pw/utils/shopper.ts:326:2) at setupProductCheckout (/home/runner/work/woocommerce-payments/woocommerce-payments/tests/e2e-pw/utils/shopper.ts:369:2) at /home/runner/work/woocommerce-payments/woocommerce-payments/tests/e2e-pw/specs/wcpay/shopper/shopper-checkout-save-card-and-purchase.spec.ts:64:6
[chromium] › wcpay/shopper/shopper-checkout-save-card-and-purchase.spec.ts:63:9 › Saved cards › When using a basic card added on checkout › should process a payment with the saved card: tests/e2e-pw/utils/shopper.ts#L548
2) [chromium] › wcpay/shopper/shopper-checkout-save-card-and-purchase.spec.ts:63:9 › Saved cards › When using a basic 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 4242 (expires 02/45)').first() Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 100ms - waiting for getByText('Visa ending in 4242 (expires 02/45)').first() at ../utils/shopper.ts:548 546 | ) 547 | .first(); > 548 | await expect( option ).toBeVisible( { timeout: 100 } ); | ^ 549 | option.click(); 550 | }; 551 | at selectSavedCardOnCheckout (/home/runner/work/woocommerce-payments/woocommerce-payments/tests/e2e-pw/utils/shopper.ts:548:25) at /home/runner/work/woocommerce-payments/woocommerce-payments/tests/e2e-pw/specs/wcpay/shopper/shopper-checkout-save-card-and-purchase.spec.ts:65:37
[chromium] › wcpay/shopper/shopper-checkout-save-card-and-purchase.spec.ts:63:9 › Saved cards › When using a basic card added on checkout › should process a payment with the saved card: tests/e2e-pw/utils/shopper.ts#L548
2) [chromium] › wcpay/shopper/shopper-checkout-save-card-and-purchase.spec.ts:63:9 › Saved cards › When using a basic 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 4242 (expires 02/45)').first() Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 100ms - waiting for getByText('Visa ending in 4242 (expires 02/45)').first() at ../utils/shopper.ts:548 546 | ) 547 | .first(); > 548 | await expect( option ).toBeVisible( { timeout: 100 } ); | ^ 549 | option.click(); 550 | }; 551 | at selectSavedCardOnCheckout (/home/runner/work/woocommerce-payments/woocommerce-payments/tests/e2e-pw/utils/shopper.ts:548:25) at /home/runner/work/woocommerce-payments/woocommerce-payments/tests/e2e-pw/specs/wcpay/shopper/shopper-checkout-save-card-and-purchase.spec.ts:65:37
Slow Test: [chromium] › wcpay/shopper/shopper-checkout-failures.spec.ts#L1
[chromium] › wcpay/shopper/shopper-checkout-failures.spec.ts took 1.9m
Slow Test: [chromium] › wcpay/shopper/shopper-checkout-purchase-site-editor.spec.ts#L1
[chromium] › wcpay/shopper/shopper-checkout-purchase-site-editor.spec.ts took 1.6m
Slow Test: [chromium] › wcpay/shopper/shopper-checkout-purchase.spec.ts#L1
[chromium] › wcpay/shopper/shopper-checkout-purchase.spec.ts took 1.3m
Slow Test: [chromium] › wcpay/shopper/shopper-pay-for-order.spec.ts#L1
[chromium] › wcpay/shopper/shopper-pay-for-order.spec.ts took 1.1m
Slow Test: [chromium] › wcpay/shopper/shopper-multi-currency-widget.spec.ts#L1
[chromium] › wcpay/shopper/shopper-multi-currency-widget.spec.ts took 1.0m
🎭 Playwright Run Summary
26 failed [chromium] › wcpay/shopper/shopper-checkout-cart-coupon.spec.ts:78:7 › Checkout with free coupon & after modifying cart on Checkout page › Remove free coupon, then checkout [chromium] › wcpay/shopper/shopper-checkout-save-card-and-purchase.spec.ts:63:9 › Saved cards › When using a basic card added on checkout › should process a payment with the saved card [chromium] › wcpay/shopper/shopper-checkout-save-card-and-purchase.spec.ts:76:9 › Saved cards › When using a basic card added on checkout › should delete the card [chromium] › wcpay/shopper/shopper-myaccount-payment-methods-add-fail.spec.ts:61:8 › Payment Methods › when attempting to add a declined card › it should not add the card [chromium] › wcpay/shopper/shopper-myaccount-payment-methods-add-fail.spec.ts:61:8 › Payment Methods › when attempting to add a declined-funds card › it should not add the card [chromium] › wcpay/shopper/shopper-myaccount-payment-methods-add-fail.spec.ts:61:8 › Payment Methods › when attempting to add a declined-incorrect card › it should not add the card [chromium] › wcpay/shopper/shopper-myaccount-payment-methods-add-fail.spec.ts:61:8 › Payment Methods › when attempting to add a declined-expired card › it should not add the card [chromium] › wcpay/shopper/shopper-myaccount-payment-methods-add-fail.spec.ts:61:8 › Payment Methods › when attempting to add a declined-cvc card › it should not add the card [chromium] › wcpay/shopper/shopper-myaccount-payment-methods-add-fail.spec.ts:61:8 › Payment Methods › when attempting to add a declined-processing card › it should not add the card [chromium] › wcpay/shopper/shopper-myaccount-payment-methods-add-fail.spec.ts:61:8 › Payment Methods › when attempting to add a declined-3ds card › it should not add the card [chromium] › wcpay/shopper/shopper-myaccount-saved-cards.spec.ts:89:6 › Shopper can save and delete cards › prevents adding another card for 20 seconds after a card is added [chromium] › wcpay/shopper/shopper-myaccount-saved-cards.spec.ts:133:9 › Shopper can save and delete cards › Testing card: basic › should add the basic card as a new payment method [chromium] › wcpay/shopper/shopper-myaccount-saved-cards.spec.ts:176:9 › Shopper can save and delete cards › Testing card: basic › should be able to purchase with the saved basic card [chromium] › wcpay/shopper/shopper-myaccount-saved-cards.spec.ts:190:9 › Shopper can save and delete cards › Testing card: basic › should be able to set the basic card as default payment method [chromium] › wcpay/shopper/shopper-myaccount-saved-cards.spec.ts:213:9 › Shopper can save and delete cards › Testing card: basic › should be able to delete basic card [chromium] › wcpay/shopper/shopper-myaccount-saved-cards.spec.ts:133:9 › Shopper can save and delete cards › Testing card: 3ds › should add the 3ds card as a new payment method [chromium] › wcpay/shopper/shopper-myaccount-saved-cards.spec.ts:176:9 › Shopper can save and delete cards › Testing card: 3ds › should be able to purchase with the saved 3ds card [chromium] › wcpay/shopper/shopper-myaccount-saved-cards.spec.ts:190:9 › Shopper can save and delete cards › Testing card: 3ds › should be able to set the 3ds card as default payment method [chromium] › wcpay/shopper/shopper-myaccount-saved-cards.spec.ts:213:9 › Shopper can save and delete cards › Testing card: 3ds › should be able to delete 3ds card [chromium] › wcpay/shopper/shopper-myaccount-saved-cards.spec.ts:133:9 › Shopper can save and delete cards › Testing card: 3ds2 › should add the 3ds2 card as a new payment method [chromium] › wcpay/shopper/shopper-myaccount-saved-cards.spec.ts:176:9 › Shopper can save and delete cards › Testing card: 3ds2 › should be able to purchase with the saved 3ds2 card [chromium] › wcpay/shopper/shopper-myaccount-saved-cards.spec.ts:190:9 › Shopper can save and delete cards › Testing card: 3ds2 › should be able to set the 3ds2 card as default payment method [chromium] › wcpay/shopper/shopper-myaccount-s
WP - nightly | WC - latest | wcpay - shopper
tests/e2e/results.json doesn't exist so results are unclear and we will not try again.

Artifacts

Produced during runtime
Name Size
wp(nightly)-wc(latest)-wcpay-shopper Expired
166 MB