Skip to content

Fix excessive emails when enabling the gateway #2479

Fix excessive emails when enabling the gateway

Fix excessive emails when enabling the gateway #2479

Triggered via pull request January 9, 2025 12:53
Status Failure
Total duration 25m 0s
Artifacts 1

e2e-tests.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

10 errors, 10 warnings, and 2 notices
[legacy] › _legacy-experience/checkout/card-failures.spec.js:49:6 › customer cannot checkout with invalid cards › a declined card shows the correct error message @smoke: tests/e2e/tests/_legacy-experience/checkout/card-failures.spec.js#L1
1) [legacy] › _legacy-experience/checkout/card-failures.spec.js:49:6 › customer cannot checkout with invalid cards › a declined card shows the correct error message @smoke Test timeout of 90000ms exceeded.
[legacy] › _legacy-experience/checkout/card-failures.spec.js:49:6 › customer cannot checkout with invalid cards › a declined card shows the correct error message @smoke: tests/e2e/utils/payments.js#L155
1) [legacy] › _legacy-experience/checkout/card-failures.spec.js:49:6 › customer cannot checkout with invalid cards › a declined card shows the correct error message @smoke Error: locator.fill: Test timeout of 90000ms exceeded. Call log: - waiting for frameLocator('#stripe-card-element iframe[name^="__privateStripeFrame"]').locator('[name="cardnumber"]') at ../utils/payments.js:155 153 | ) 154 | .locator( '[name="cardnumber"]' ) > 155 | .fill( card.number ); | ^ 156 | await page 157 | .frameLocator( 158 | '#stripe-exp-element iframe[name^="__privateStripeFrame"]' at fillCreditCardDetailsShortcodeLegacy (/home/runner/work/woocommerce-gateway-stripe/woocommerce-gateway-stripe/tests/e2e/utils/payments.js:155:4) at testCard (/home/runner/work/woocommerce-gateway-stripe/woocommerce-gateway-stripe/tests/e2e/tests/_legacy-experience/checkout/card-failures.spec.js:24:8) at /home/runner/work/woocommerce-gateway-stripe/woocommerce-gateway-stripe/tests/e2e/tests/_legacy-experience/checkout/card-failures.spec.js:51:9
[legacy] › _legacy-experience/checkout/card-failures.spec.js:49:6 › customer cannot checkout with invalid cards › a declined card shows the correct error message @smoke: tests/e2e/tests/_legacy-experience/checkout/card-failures.spec.js#L1
1) [legacy] › _legacy-experience/checkout/card-failures.spec.js:49:6 › customer cannot checkout with invalid cards › a declined card shows the correct error message @smoke Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 90000ms exceeded.
[legacy] › _legacy-experience/checkout/card-failures.spec.js:49:6 › customer cannot checkout with invalid cards › a declined card shows the correct error message @smoke: tests/e2e/utils/payments.js#L155
1) [legacy] › _legacy-experience/checkout/card-failures.spec.js:49:6 › customer cannot checkout with invalid cards › a declined card shows the correct error message @smoke Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.fill: Test timeout of 90000ms exceeded. Call log: - waiting for frameLocator('#stripe-card-element iframe[name^="__privateStripeFrame"]').locator('[name="cardnumber"]') at ../utils/payments.js:155 153 | ) 154 | .locator( '[name="cardnumber"]' ) > 155 | .fill( card.number ); | ^ 156 | await page 157 | .frameLocator( 158 | '#stripe-exp-element iframe[name^="__privateStripeFrame"]' at fillCreditCardDetailsShortcodeLegacy (/home/runner/work/woocommerce-gateway-stripe/woocommerce-gateway-stripe/tests/e2e/utils/payments.js:155:4) at testCard (/home/runner/work/woocommerce-gateway-stripe/woocommerce-gateway-stripe/tests/e2e/tests/_legacy-experience/checkout/card-failures.spec.js:24:8) at /home/runner/work/woocommerce-gateway-stripe/woocommerce-gateway-stripe/tests/e2e/tests/_legacy-experience/checkout/card-failures.spec.js:51:9
[legacy] › _legacy-experience/checkout/card-failures.spec.js:49:6 › customer cannot checkout with invalid cards › a declined card shows the correct error message @smoke: tests/e2e/tests/_legacy-experience/checkout/card-failures.spec.js#L1
1) [legacy] › _legacy-experience/checkout/card-failures.spec.js:49:6 › customer cannot checkout with invalid cards › a declined card shows the correct error message @smoke Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 90000ms exceeded.
[legacy] › _legacy-experience/checkout/card-failures.spec.js:49:6 › customer cannot checkout with invalid cards › a declined card shows the correct error message @smoke: tests/e2e/utils/payments.js#L155
1) [legacy] › _legacy-experience/checkout/card-failures.spec.js:49:6 › customer cannot checkout with invalid cards › a declined card shows the correct error message @smoke Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.fill: Test timeout of 90000ms exceeded. Call log: - waiting for frameLocator('#stripe-card-element iframe[name^="__privateStripeFrame"]').locator('[name="cardnumber"]') at ../utils/payments.js:155 153 | ) 154 | .locator( '[name="cardnumber"]' ) > 155 | .fill( card.number ); | ^ 156 | await page 157 | .frameLocator( 158 | '#stripe-exp-element iframe[name^="__privateStripeFrame"]' at fillCreditCardDetailsShortcodeLegacy (/home/runner/work/woocommerce-gateway-stripe/woocommerce-gateway-stripe/tests/e2e/utils/payments.js:155:4) at testCard (/home/runner/work/woocommerce-gateway-stripe/woocommerce-gateway-stripe/tests/e2e/tests/_legacy-experience/checkout/card-failures.spec.js:24:8) at /home/runner/work/woocommerce-gateway-stripe/woocommerce-gateway-stripe/tests/e2e/tests/_legacy-experience/checkout/card-failures.spec.js:51:9
[legacy] › _legacy-experience/checkout/card-failures.spec.js:49:6 › customer cannot checkout with invalid cards › a declined card shows the correct error message @smoke: tests/e2e/tests/_legacy-experience/checkout/card-failures.spec.js#L1
1) [legacy] › _legacy-experience/checkout/card-failures.spec.js:49:6 › customer cannot checkout with invalid cards › a declined card shows the correct error message @smoke Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 90000ms exceeded.
[legacy] › _legacy-experience/checkout/card-failures.spec.js:49:6 › customer cannot checkout with invalid cards › a declined card shows the correct error message @smoke: tests/e2e/utils/payments.js#L155
1) [legacy] › _legacy-experience/checkout/card-failures.spec.js:49:6 › customer cannot checkout with invalid cards › a declined card shows the correct error message @smoke Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.fill: Test timeout of 90000ms exceeded. Call log: - waiting for frameLocator('#stripe-card-element iframe[name^="__privateStripeFrame"]').locator('[name="cardnumber"]') at ../utils/payments.js:155 153 | ) 154 | .locator( '[name="cardnumber"]' ) > 155 | .fill( card.number ); | ^ 156 | await page 157 | .frameLocator( 158 | '#stripe-exp-element iframe[name^="__privateStripeFrame"]' at fillCreditCardDetailsShortcodeLegacy (/home/runner/work/woocommerce-gateway-stripe/woocommerce-gateway-stripe/tests/e2e/utils/payments.js:155:4) at testCard (/home/runner/work/woocommerce-gateway-stripe/woocommerce-gateway-stripe/tests/e2e/tests/_legacy-experience/checkout/card-failures.spec.js:24:8) at /home/runner/work/woocommerce-gateway-stripe/woocommerce-gateway-stripe/tests/e2e/tests/_legacy-experience/checkout/card-failures.spec.js:51:9
[legacy] › _legacy-experience/checkout/card-failures.spec.js:53:6 › customer cannot checkout with invalid cards › a card with insufficient funds shows the correct error message: tests/e2e/tests/_legacy-experience/checkout/card-failures.spec.js#L1
2) [legacy] › _legacy-experience/checkout/card-failures.spec.js:53:6 › customer cannot checkout with invalid cards › a card with insufficient funds shows the correct error message Test timeout of 90000ms exceeded.
[legacy] › _legacy-experience/checkout/card-failures.spec.js:53:6 › customer cannot checkout with invalid cards › a card with insufficient funds shows the correct error message: tests/e2e/utils/payments.js#L155
2) [legacy] › _legacy-experience/checkout/card-failures.spec.js:53:6 › customer cannot checkout with invalid cards › a card with insufficient funds shows the correct error message Error: locator.fill: Test timeout of 90000ms exceeded. Call log: - waiting for frameLocator('#stripe-card-element iframe[name^="__privateStripeFrame"]').locator('[name="cardnumber"]') at ../utils/payments.js:155 153 | ) 154 | .locator( '[name="cardnumber"]' ) > 155 | .fill( card.number ); | ^ 156 | await page 157 | .frameLocator( 158 | '#stripe-exp-element iframe[name^="__privateStripeFrame"]' at fillCreditCardDetailsShortcodeLegacy (/home/runner/work/woocommerce-gateway-stripe/woocommerce-gateway-stripe/tests/e2e/utils/payments.js:155:4) at testCard (/home/runner/work/woocommerce-gateway-stripe/woocommerce-gateway-stripe/tests/e2e/tests/_legacy-experience/checkout/card-failures.spec.js:24:8) at /home/runner/work/woocommerce-gateway-stripe/woocommerce-gateway-stripe/tests/e2e/tests/_legacy-experience/checkout/card-failures.spec.js:55:9
Default WP=latest, WC=latest, PHP=7.4
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Slow Test: [default] › checkout/blocks/saved-card.spec.js#L1
[default] › checkout/blocks/saved-card.spec.js took 58.4s
Slow Test: [default] › checkout/blocks/sca-card.spec.js#L1
[default] › checkout/blocks/sca-card.spec.js took 46.6s
Slow Test: [default] › checkout/shortcode/saved-card.spec.js#L1
[default] › checkout/shortcode/saved-card.spec.js took 44.4s
Slow Test: [default] › checkout/blocks/subscription-product.spec.js#L1
[default] › checkout/blocks/subscription-product.spec.js took 43.5s
Slow Test: [default] › orders/full-refund.spec.js#L1
[default] › orders/full-refund.spec.js took 40.7s
Legacy WP=latest, WC=latest, PHP=7.4
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Slow Test: [legacy] › _legacy-experience/woocommerce-blocks/saved-card.spec.js#L1
[legacy] › _legacy-experience/woocommerce-blocks/saved-card.spec.js took 25.1s
Slow Test: [legacy] › _legacy-experience/woocommerce-blocks/subscription-product.spec.js#L1
[legacy] › _legacy-experience/woocommerce-blocks/subscription-product.spec.js took 17.1s
Slow Test: [legacy] › _legacy-experience/woocommerce-blocks/normal-card.spec.js#L1
[legacy] › _legacy-experience/woocommerce-blocks/normal-card.spec.js took 16.1s
🎭 Playwright Run Summary
23 passed (3.2m)
🎭 Playwright Run Summary
13 failed [legacy] › _legacy-experience/checkout/card-failures.spec.js:49:6 › customer cannot checkout with invalid cards › a declined card shows the correct error message @smoke [legacy] › _legacy-experience/checkout/card-failures.spec.js:53:6 › customer cannot checkout with invalid cards › a card with insufficient funds shows the correct error message [legacy] › _legacy-experience/checkout/card-failures.spec.js:57:6 › customer cannot checkout with invalid cards › a card with invalid number shows the correct error message [legacy] › _legacy-experience/checkout/card-failures.spec.js:61:6 › customer cannot checkout with invalid cards › an expired card shows the correct error message [legacy] › _legacy-experience/checkout/card-failures.spec.js:65:6 › customer cannot checkout with invalid cards › a card with incorrect CVC shows the correct error message @smoke [legacy] › _legacy-experience/checkout/card-failures.spec.js:69:6 › customer cannot checkout with invalid cards › an error processing the card shows the correct error message [legacy] › _legacy-experience/checkout/normal-card.spec.js:12:5 › customer can checkout with a normal credit card @smoke [legacy] › _legacy-experience/checkout/saved-card.spec.js:30:5 › customer can checkout with a saved card @smoke [legacy] › _legacy-experience/checkout/sca-card.spec.js:12:5 › customer can checkout with a SCA card @smoke [legacy] › _legacy-experience/checkout/subscription-product.spec.js:35:5 › customer can purchase a subscription product @smoke @subscriptions [legacy] › _legacy-experience/order/full-refund.spec.js:13:5 › merchant can issue a full refund @smoke [legacy] › _legacy-experience/subscriptions/subscription-renewal.spec.js:50:5 › customer can renew a subscription @smoke @subscriptions [legacy] › _legacy-experience/woocommerce-blocks/sca-card.spec.js:12:5 › customer can checkout with a SCA card @smoke @blocks 10 passed (19.8m)

Artifacts

Produced during runtime
Name Size
Legacy-WP_latest-WC_latest-results Expired
477 MB