Skip to content

E2E Tests on Atomic - All #163

E2E Tests on Atomic - All

E2E Tests on Atomic - All #163

Manually triggered February 5, 2025 18:51
Status Failure
Total duration 47m 7s
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-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] › 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] › 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] › 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] › 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#L551
1) [chromium] › 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: hidden Call log: - expect.toBeVisible with timeout 100ms - waiting for getByText('Visa ending in 3184 (expires 03/45)').first() at ../utils/shopper.ts:551 549 | ) 550 | .first(); > 551 | await expect( option ).toBeVisible( { timeout: 100 } ); | ^ 552 | await option.click(); 553 | }; 554 | at selectSavedCardOnCheckout (/home/runner/work/woocommerce-payments/woocommerce-payments/tests/e2e-pw/utils/shopper.ts:551: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] › 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#L551
1) [chromium] › 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: hidden Call log: - expect.toBeVisible with timeout 100ms - waiting for getByText('Visa ending in 3184 (expires 03/45)').first() at ../utils/shopper.ts:551 549 | ) 550 | .first(); > 551 | await expect( option ).toBeVisible( { timeout: 100 } ); | ^ 552 | await option.click(); 553 | }; 554 | at selectSavedCardOnCheckout (/home/runner/work/woocommerce-payments/woocommerce-payments/tests/e2e-pw/utils/shopper.ts:551: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] › 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#L535
2) [chromium] › 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: hidden Call log: - expect.toBeVisible with timeout 100ms - waiting for getByRole('row', { name: 'Visa ending in 3184' }).first() at ../utils/shopper.ts:535 533 | ) => { 534 | const row = page.getByRole( 'row', { name: card.label } ).first(); > 535 | await expect( row ).toBeVisible( { timeout: 100 } ); | ^ 536 | const button = row.getByRole( 'link', { name: 'Delete' } ); 537 | await expect( button ).toBeVisible( { timeout: 100 } ); 538 | await expect( button ).toBeEnabled( { timeout: 100 } ); at deleteSavedCard (/home/runner/work/woocommerce-payments/woocommerce-payments/tests/e2e-pw/utils/shopper.ts:535: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] › 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#L535
2) [chromium] › 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: hidden Call log: - expect.toBeVisible with timeout 100ms - waiting for getByRole('row', { name: 'Visa ending in 3184' }).first() at ../utils/shopper.ts:535 533 | ) => { 534 | const row = page.getByRole( 'row', { name: card.label } ).first(); > 535 | await expect( row ).toBeVisible( { timeout: 100 } ); | ^ 536 | const button = row.getByRole( 'link', { name: 'Delete' } ); 537 | await expect( button ).toBeVisible( { timeout: 100 } ); 538 | await expect( button ).toBeEnabled( { timeout: 100 } ); at deleteSavedCard (/home/runner/work/woocommerce-payments/woocommerce-payments/tests/e2e-pw/utils/shopper.ts:535: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] › 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#L535
2) [chromium] › 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: hidden Call log: - expect.toBeVisible with timeout 100ms - waiting for getByRole('row', { name: 'Visa ending in 3184' }).first() at ../utils/shopper.ts:535 533 | ) => { 534 | const row = page.getByRole( 'row', { name: card.label } ).first(); > 535 | await expect( row ).toBeVisible( { timeout: 100 } ); | ^ 536 | const button = row.getByRole( 'link', { name: 'Delete' } ); 537 | await expect( button ).toBeVisible( { timeout: 100 } ); 538 | await expect( button ).toBeEnabled( { timeout: 100 } ); at deleteSavedCard (/home/runner/work/woocommerce-payments/woocommerce-payments/tests/e2e-pw/utils/shopper.ts:535: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] › wcpay/shopper/shopper-myaccount-payment-methods-add-fail.spec.ts:69:8 › Payment Methods › when attempting to add a declined card › it should not add the card: tests/e2e-pw/utils/helpers.ts#L164
3) [chromium] › wcpay/shopper/shopper-myaccount-payment-methods-add-fail.spec.ts:69:8 › Payment Methods › when attempting to add a declined card › it should not add the card TypeError: Cannot read properties of undefined (reading 'goto') at ../utils/helpers.ts:164 162 | 163 | export const isCustomerLoggedIn = async ( page: Page ) => { > 164 | await page.goto( '/my-account' ); | ^ 165 | const logoutLink = page.locator( 166 | '.woocommerce-MyAccount-navigation-link--customer-logout' 167 | ); at isCustomerLoggedIn (/home/runner/work/woocommerce-payments/woocommerce-payments/tests/e2e-pw/utils/helpers.ts:164:13) at ensureCustomerIsLoggedIn (/home/runner/work/woocommerce-payments/woocommerce-payments/tests/e2e-pw/utils/helpers.ts:216:17) at /home/runner/work/woocommerce-payments/woocommerce-payments/tests/e2e-pw/specs/wcpay/shopper/shopper-myaccount-payment-methods-add-fail.spec.ts:66:35
[chromium] › wcpay/shopper/shopper-myaccount-payment-methods-add-fail.spec.ts:69:8 › Payment Methods › when attempting to add a declined card › it should not add the card: tests/e2e-pw/utils/helpers.ts#L164
3) [chromium] › wcpay/shopper/shopper-myaccount-payment-methods-add-fail.spec.ts:69:8 › Payment Methods › when attempting to add a declined card › it should not add the card Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TypeError: Cannot read properties of undefined (reading 'goto') at ../utils/helpers.ts:164 162 | 163 | export const isCustomerLoggedIn = async ( page: Page ) => { > 164 | await page.goto( '/my-account' ); | ^ 165 | const logoutLink = page.locator( 166 | '.woocommerce-MyAccount-navigation-link--customer-logout' 167 | ); at isCustomerLoggedIn (/home/runner/work/woocommerce-payments/woocommerce-payments/tests/e2e-pw/utils/helpers.ts:164:13) at ensureCustomerIsLoggedIn (/home/runner/work/woocommerce-payments/woocommerce-payments/tests/e2e-pw/utils/helpers.ts:216:17) at /home/runner/work/woocommerce-payments/woocommerce-payments/tests/e2e-pw/specs/wcpay/shopper/shopper-myaccount-payment-methods-add-fail.spec.ts:66:35
[chromium] › wcpay/shopper/shopper-myaccount-payment-methods-add-fail.spec.ts:69:8 › Payment Methods › when attempting to add a declined card › it should not add the card: tests/e2e-pw/utils/helpers.ts#L164
3) [chromium] › wcpay/shopper/shopper-myaccount-payment-methods-add-fail.spec.ts:69:8 › Payment Methods › when attempting to add a declined card › it should not add the card Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TypeError: Cannot read properties of undefined (reading 'goto') at ../utils/helpers.ts:164 162 | 163 | export const isCustomerLoggedIn = async ( page: Page ) => { > 164 | await page.goto( '/my-account' ); | ^ 165 | const logoutLink = page.locator( 166 | '.woocommerce-MyAccount-navigation-link--customer-logout' 167 | ); at isCustomerLoggedIn (/home/runner/work/woocommerce-payments/woocommerce-payments/tests/e2e-pw/utils/helpers.ts:164:13) at ensureCustomerIsLoggedIn (/home/runner/work/woocommerce-payments/woocommerce-payments/tests/e2e-pw/utils/helpers.ts:216:17) at /home/runner/work/woocommerce-payments/woocommerce-payments/tests/e2e-pw/specs/wcpay/shopper/shopper-myaccount-payment-methods-add-fail.spec.ts:66:35
Slow Test: [chromium] › wcpay/shopper/shopper-myaccount-saved-cards.spec.ts#L1
[chromium] › wcpay/shopper/shopper-myaccount-saved-cards.spec.ts took 3.4m
Slow Test: [chromium] › wcpay/shopper/shopper-checkout-failures.spec.ts#L1
[chromium] › wcpay/shopper/shopper-checkout-failures.spec.ts took 2.0m
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-bnpls-checkout.spec.ts#L1
[chromium] › wcpay/shopper/shopper-bnpls-checkout.spec.ts took 1.4m
Slow Test: [chromium] › wcpay/shopper/shopper-checkout-purchase.spec.ts#L1
[chromium] › wcpay/shopper/shopper-checkout-purchase.spec.ts took 1.3m
🎭 Playwright Run Summary
12 failed [chromium] › 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] › 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 [chromium] › wcpay/shopper/shopper-myaccount-payment-methods-add-fail.spec.ts:69: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:69: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:69: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:69: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:69: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:69: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:69:8 › Payment Methods › when attempting to add a declined-3ds card › it should not add the card [chromium] › wcpay/shopper/shopper-wc-blocks-checkout-failures.spec.ts:93:8 › WooCommerce Blocks > Checkout failures › Should show error – Your card was declined. [chromium] › wcpay/shopper/shopper-wc-blocks-checkout-purchase.spec.ts:44:7 › WooCommerce Blocks > Successful purchase › using a basic card [chromium] › wcpay/shopper/shopper-wc-blocks-saved-card-checkout-and-usage.spec.ts:54:7 › WooCommerce Blocks > Saved cards › should be able to save basic card on Blocks checkout 11 skipped 67 passed (45.9m)
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
48.3 MB