Correctly handle IPP failed orders #2436
Annotations
20 errors, 10 warnings, and 2 notices
[default] › checkout/shortcode/card-failures.spec.js:34:6 › customer cannot checkout with invalid cards › a declined card shows the correct error message @smoke:
tests/e2e/tests/checkout/shortcode/card-failures.spec.js#L1
1) [default] › checkout/shortcode/card-failures.spec.js:34:6 › customer cannot checkout with invalid cards › a declined card shows the correct error message @smoke
Test timeout of 90000ms exceeded.
|
[default] › checkout/shortcode/card-failures.spec.js:34:6 › customer cannot checkout with invalid cards › a declined card shows the correct error message @smoke:
tests/e2e/tests/checkout/shortcode/card-failures.spec.js#L28
1) [default] › checkout/shortcode/card-failures.spec.js:34:6 › customer cannot checkout with invalid cards › a declined card shows the correct error message @smoke
Error: page.innerText: Test timeout of 90000ms exceeded.
Call log:
- waiting for locator('.woocommerce-error')
26 |
27 | expect
> 28 | .soft( await page.innerText( '.woocommerce-error' ) )
| ^
29 | .toMatch( new RegExp( `(?:${ card.error.join( '|' ) })`, 'i' ) );
30 | };
31 |
at testCard (/home/runner/work/woocommerce-gateway-stripe/woocommerce-gateway-stripe/tests/e2e/tests/checkout/shortcode/card-failures.spec.js:28:21)
|
[default] › checkout/shortcode/card-failures.spec.js:34:6 › customer cannot checkout with invalid cards › a declined card shows the correct error message @smoke:
tests/e2e/tests/checkout/shortcode/card-failures.spec.js#L1
1) [default] › checkout/shortcode/card-failures.spec.js:34:6 › customer cannot checkout with invalid cards › a declined card shows the correct error message @smoke
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 90000ms exceeded.
|
[default] › checkout/shortcode/card-failures.spec.js:34:6 › customer cannot checkout with invalid cards › a declined card shows the correct error message @smoke:
tests/e2e/tests/checkout/shortcode/card-failures.spec.js#L28
1) [default] › checkout/shortcode/card-failures.spec.js:34:6 › customer cannot checkout with invalid cards › a declined card shows the correct error message @smoke
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: page.innerText: Test timeout of 90000ms exceeded.
Call log:
- waiting for locator('.woocommerce-error')
26 |
27 | expect
> 28 | .soft( await page.innerText( '.woocommerce-error' ) )
| ^
29 | .toMatch( new RegExp( `(?:${ card.error.join( '|' ) })`, 'i' ) );
30 | };
31 |
at testCard (/home/runner/work/woocommerce-gateway-stripe/woocommerce-gateway-stripe/tests/e2e/tests/checkout/shortcode/card-failures.spec.js:28:21)
|
[default] › checkout/shortcode/card-failures.spec.js:38:6 › customer cannot checkout with invalid cards › a card with insufficient funds shows the correct error message:
tests/e2e/tests/checkout/shortcode/card-failures.spec.js#L1
2) [default] › checkout/shortcode/card-failures.spec.js:38:6 › customer cannot checkout with invalid cards › a card with insufficient funds shows the correct error message
Test timeout of 90000ms exceeded.
|
[default] › checkout/shortcode/card-failures.spec.js:38:6 › customer cannot checkout with invalid cards › a card with insufficient funds shows the correct error message:
tests/e2e/tests/checkout/shortcode/card-failures.spec.js#L28
2) [default] › checkout/shortcode/card-failures.spec.js:38:6 › customer cannot checkout with invalid cards › a card with insufficient funds shows the correct error message
Error: page.innerText: Test timeout of 90000ms exceeded.
Call log:
- waiting for locator('.woocommerce-error')
26 |
27 | expect
> 28 | .soft( await page.innerText( '.woocommerce-error' ) )
| ^
29 | .toMatch( new RegExp( `(?:${ card.error.join( '|' ) })`, 'i' ) );
30 | };
31 |
at testCard (/home/runner/work/woocommerce-gateway-stripe/woocommerce-gateway-stripe/tests/e2e/tests/checkout/shortcode/card-failures.spec.js:28:21)
|
[default] › checkout/shortcode/card-failures.spec.js:42:6 › customer cannot checkout with invalid cards › a card with invalid number shows the correct error message:
tests/e2e/tests/checkout/shortcode/card-failures.spec.js#L1
3) [default] › checkout/shortcode/card-failures.spec.js:42:6 › customer cannot checkout with invalid cards › a card with invalid number shows the correct error message
Test timeout of 90000ms exceeded.
|
[default] › checkout/shortcode/card-failures.spec.js:42:6 › customer cannot checkout with invalid cards › a card with invalid number shows the correct error message:
tests/e2e/tests/checkout/shortcode/card-failures.spec.js#L28
3) [default] › checkout/shortcode/card-failures.spec.js:42:6 › customer cannot checkout with invalid cards › a card with invalid number shows the correct error message
Error: page.innerText: Test timeout of 90000ms exceeded.
Call log:
- waiting for locator('.woocommerce-error')
26 |
27 | expect
> 28 | .soft( await page.innerText( '.woocommerce-error' ) )
| ^
29 | .toMatch( new RegExp( `(?:${ card.error.join( '|' ) })`, 'i' ) );
30 | };
31 |
at testCard (/home/runner/work/woocommerce-gateway-stripe/woocommerce-gateway-stripe/tests/e2e/tests/checkout/shortcode/card-failures.spec.js:28:21)
|
[default] › checkout/shortcode/card-failures.spec.js:46:6 › customer cannot checkout with invalid cards › an expired card shows the correct error message:
tests/e2e/tests/checkout/shortcode/card-failures.spec.js#L1
4) [default] › checkout/shortcode/card-failures.spec.js:46:6 › customer cannot checkout with invalid cards › an expired card shows the correct error message
Test timeout of 90000ms exceeded.
|
[default] › checkout/shortcode/card-failures.spec.js:46:6 › customer cannot checkout with invalid cards › an expired card shows the correct error message:
tests/e2e/tests/checkout/shortcode/card-failures.spec.js#L28
4) [default] › checkout/shortcode/card-failures.spec.js:46:6 › customer cannot checkout with invalid cards › an expired card shows the correct error message
Error: page.innerText: Test timeout of 90000ms exceeded.
Call log:
- waiting for locator('.woocommerce-error')
26 |
27 | expect
> 28 | .soft( await page.innerText( '.woocommerce-error' ) )
| ^
29 | .toMatch( new RegExp( `(?:${ card.error.join( '|' ) })`, 'i' ) );
30 | };
31 |
at testCard (/home/runner/work/woocommerce-gateway-stripe/woocommerce-gateway-stripe/tests/e2e/tests/checkout/shortcode/card-failures.spec.js:28:21)
|
[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 50.0s
|
Slow Test:
[default] › checkout/blocks/sca-card.spec.js#L1
[default] › checkout/blocks/sca-card.spec.js took 44.3s
|
Slow Test:
[default] › checkout/blocks/subscription-product.spec.js#L1
[default] › checkout/blocks/subscription-product.spec.js took 41.1s
|
Slow Test:
[default] › checkout/blocks/normal-card.spec.js#L1
[default] › checkout/blocks/normal-card.spec.js took 38.0s
|
Slow Test:
[default] › orders/full-refund.spec.js#L1
[default] › orders/full-refund.spec.js took 35.8s
|
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 27.7s
|
Slow Test:
[legacy] › _legacy-experience/woocommerce-blocks/subscription-product.spec.js#L1
[legacy] › _legacy-experience/woocommerce-blocks/subscription-product.spec.js took 18.1s
|
Slow Test:
[legacy] › _legacy-experience/woocommerce-blocks/normal-card.spec.js#L1
[legacy] › _legacy-experience/woocommerce-blocks/normal-card.spec.js took 16.9s
|
🎭 Playwright Run Summary
6 flaky
[default] › checkout/shortcode/card-failures.spec.js:34:6 › customer cannot checkout with invalid cards › a declined card shows the correct error message @smoke
[default] › checkout/shortcode/card-failures.spec.js:38:6 › customer cannot checkout with invalid cards › a card with insufficient funds shows the correct error message
[default] › checkout/shortcode/card-failures.spec.js:42:6 › customer cannot checkout with invalid cards › a card with invalid number shows the correct error message
[default] › checkout/shortcode/card-failures.spec.js:46:6 › customer cannot checkout with invalid cards › an expired card shows the correct error message
[default] › checkout/shortcode/card-failures.spec.js:50:6 › customer cannot checkout with invalid cards › a card with incorrect CVC shows the correct error message @smoke
[default] › checkout/shortcode/sca-card.spec.js:12:5 › customer can checkout with a SCA card @smoke
17 passed (5.6m)
|
🎭 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.9m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
Legacy-WP_latest-WC_latest-results
Expired
|
479 MB |
|