Fix missing order attribution metadata when using ECE #2145
Annotations
20 errors, 10 warnings, and 2 notices
|
[default] › checkout/blocks/sca-card.spec.js:12:5 › customer can checkout with a SCA card @smoke @blocks:
tests/e2e/tests/checkout/blocks/sca-card.spec.js#L30
1) [default] › checkout/blocks/sca-card.spec.js:12:5 › customer can checkout with a SCA card @smoke @blocks
Error: page.waitForTimeout: Test timeout of 90000ms exceeded.
28 | } )
29 | ) {
> 30 | await page.waitForTimeout( 1000 );
| ^
31 | }
32 | // Not ideal, but the iframe body gets repalced after load, so a waitFor does not work here.
33 | await page.waitForTimeout( 2000 );
at /home/runner/work/woocommerce-gateway-stripe/woocommerce-gateway-stripe/tests/e2e/tests/checkout/blocks/sca-card.spec.js:30:14
|
[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
2) [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
2) [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: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
3) [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
3) [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)
|
[default] › checkout/shortcode/card-failures.spec.js:54:6 › customer cannot checkout with invalid cards › an error processing the card shows the correct error message:
tests/e2e/tests/checkout/shortcode/card-failures.spec.js#L1
4) [default] › checkout/shortcode/card-failures.spec.js:54:6 › customer cannot checkout with invalid cards › an error processing the card shows the correct error message
Test timeout of 90000ms exceeded.
|
[default] › checkout/shortcode/card-failures.spec.js:54:6 › customer cannot checkout with invalid cards › an error processing the card shows the correct error message:
tests/e2e/tests/checkout/shortcode/card-failures.spec.js#L28
4) [default] › checkout/shortcode/card-failures.spec.js:54:6 › customer cannot checkout with invalid cards › an error processing the 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)
|
[default] › checkout/shortcode/card-failures.spec.js:54:6 › customer cannot checkout with invalid cards › an error processing the card shows the correct error message:
tests/e2e/tests/checkout/shortcode/card-failures.spec.js#L1
4) [default] › checkout/shortcode/card-failures.spec.js:54:6 › customer cannot checkout with invalid cards › an error processing the card shows the correct error message
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 90000ms exceeded.
|
[default] › checkout/shortcode/card-failures.spec.js:54:6 › customer cannot checkout with invalid cards › an error processing the card shows the correct error message:
tests/e2e/tests/checkout/shortcode/card-failures.spec.js#L28
4) [default] › checkout/shortcode/card-failures.spec.js:54:6 › customer cannot checkout with invalid cards › an error processing the card shows the correct error message
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)
|
|
[legacy] › _legacy-experience/woocommerce-blocks/sca-card.spec.js:12:5 › customer can checkout with a SCA card @smoke @blocks:
tests/e2e/tests/_legacy-experience/woocommerce-blocks/sca-card.spec.js#L40
1) [legacy] › _legacy-experience/woocommerce-blocks/sca-card.spec.js:12:5 › customer can checkout with a SCA card @smoke @blocks
Error: page.waitForURL: Test timeout of 90000ms exceeded.
=========================== logs ===========================
waiting for navigation to "**/checkout/order-received/**" until "load"
============================================================
38 | .click();
39 |
> 40 | await page.waitForURL( '**/checkout/order-received/**' );
| ^
41 |
42 | await expect( page.locator( 'h1.entry-title' ) ).toHaveText(
43 | 'Order received'
at /home/runner/work/woocommerce-gateway-stripe/woocommerce-gateway-stripe/tests/e2e/tests/_legacy-experience/woocommerce-blocks/sca-card.spec.js:40:13
|
|
[legacy] › _legacy-experience/woocommerce-blocks/sca-card.spec.js:12:5 › customer can checkout with a SCA card @smoke @blocks:
tests/e2e/tests/_legacy-experience/woocommerce-blocks/sca-card.spec.js#L40
1) [legacy] › _legacy-experience/woocommerce-blocks/sca-card.spec.js:12:5 › customer can checkout with a SCA card @smoke @blocks
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: page.waitForURL: Test timeout of 90000ms exceeded.
=========================== logs ===========================
waiting for navigation to "**/checkout/order-received/**" until "load"
============================================================
38 | .click();
39 |
> 40 | await page.waitForURL( '**/checkout/order-received/**' );
| ^
41 |
42 | await expect( page.locator( 'h1.entry-title' ) ).toHaveText(
43 | 'Order received'
at /home/runner/work/woocommerce-gateway-stripe/woocommerce-gateway-stripe/tests/e2e/tests/_legacy-experience/woocommerce-blocks/sca-card.spec.js:40:13
|
|
[legacy] › _legacy-experience/woocommerce-blocks/sca-card.spec.js:12:5 › customer can checkout with a SCA card @smoke @blocks:
tests/e2e/tests/_legacy-experience/woocommerce-blocks/sca-card.spec.js#L40
1) [legacy] › _legacy-experience/woocommerce-blocks/sca-card.spec.js:12:5 › customer can checkout with a SCA card @smoke @blocks
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: page.waitForURL: Test timeout of 90000ms exceeded.
=========================== logs ===========================
waiting for navigation to "**/checkout/order-received/**" until "load"
============================================================
38 | .click();
39 |
> 40 | await page.waitForURL( '**/checkout/order-received/**' );
| ^
41 |
42 | await expect( page.locator( 'h1.entry-title' ) ).toHaveText(
43 | 'Order received'
at /home/runner/work/woocommerce-gateway-stripe/woocommerce-gateway-stripe/tests/e2e/tests/_legacy-experience/woocommerce-blocks/sca-card.spec.js:40:13
|
|
[legacy] › _legacy-experience/woocommerce-blocks/sca-card.spec.js:12:5 › customer can checkout with a SCA card @smoke @blocks:
tests/e2e/tests/_legacy-experience/woocommerce-blocks/sca-card.spec.js#L40
1) [legacy] › _legacy-experience/woocommerce-blocks/sca-card.spec.js:12:5 › customer can checkout with a SCA card @smoke @blocks
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: page.waitForURL: Test timeout of 90000ms exceeded.
=========================== logs ===========================
waiting for navigation to "**/checkout/order-received/**" until "load"
============================================================
38 | .click();
39 |
> 40 | await page.waitForURL( '**/checkout/order-received/**' );
| ^
41 |
42 | await expect( page.locator( 'h1.entry-title' ) ).toHaveText(
43 | 'Order received'
at /home/runner/work/woocommerce-gateway-stripe/woocommerce-gateway-stripe/tests/e2e/tests/_legacy-experience/woocommerce-blocks/sca-card.spec.js:40:13
|
[legacy] › _legacy-experience/woocommerce-blocks/card-failures.spec.js:63:6 › customer cannot checkout with invalid cards @blocks › an error processing the card shows the correct error message:
tests/e2e/tests/_legacy-experience/woocommerce-blocks/card-failures.spec.js#L1
2) [legacy] › _legacy-experience/woocommerce-blocks/card-failures.spec.js:63:6 › customer cannot checkout with invalid cards @blocks › an error processing the card shows the correct error message
Test timeout of 90000ms exceeded.
|
[legacy] › _legacy-experience/woocommerce-blocks/card-failures.spec.js:63:6 › customer cannot checkout with invalid cards @blocks › an error processing the card shows the correct error message:
tests/e2e/tests/_legacy-experience/woocommerce-blocks/card-failures.spec.js#L31
2) [legacy] › _legacy-experience/woocommerce-blocks/card-failures.spec.js:63:6 › customer cannot checkout with invalid cards @blocks › an error processing the card shows the correct error message
Error: page.innerText: Test timeout of 90000ms exceeded.
Call log:
- waiting for locator('.wc-block-store-notice.is-error .wc-block-components-notice-banner__content')
29 | * The customer isn't allowed to place the order for this type of card failure.
30 | */
> 31 | const expected = await page.innerText(
| ^
32 | cardKey === 'cards.declined-incorrect'
33 | ? '.wc-card-number-element .wc-block-components-validation-error'
34 | : '.wc-block-store-notice.is-error .wc-block-components-notice-banner__content'
at testCard (/home/runner/work/woocommerce-gateway-stripe/woocommerce-gateway-stripe/tests/e2e/tests/_legacy-experience/woocommerce-blocks/card-failures.spec.js:31:30)
|
Slow Test:
[default] › checkout/blocks/saved-card.spec.js#L1
[default] › checkout/blocks/saved-card.spec.js took 47.5s
|
Slow Test:
[default] › checkout/blocks/subscription-product.spec.js#L1
[default] › checkout/blocks/subscription-product.spec.js took 39.1s
|
Slow Test:
[default] › checkout/blocks/normal-card.spec.js#L1
[default] › checkout/blocks/normal-card.spec.js took 35.0s
|
Slow Test:
[default] › subscriptions/subscription-renewal.spec.js#L1
[default] › subscriptions/subscription-renewal.spec.js took 26.3s
|
Slow Test:
[default] › checkout/shortcode/saved-card.spec.js#L1
[default] › checkout/shortcode/saved-card.spec.js took 19.3s
|
Slow Test:
[legacy] › _legacy-experience/order/full-refund.spec.js#L1
[legacy] › _legacy-experience/order/full-refund.spec.js took 47.3s
|
Slow Test:
[legacy] › _legacy-experience/checkout/saved-card.spec.js#L1
[legacy] › _legacy-experience/checkout/saved-card.spec.js took 43.0s
|
Slow Test:
[legacy] › _legacy-experience/subscriptions/subscription-renewal.spec.js#L1
[legacy] › _legacy-experience/subscriptions/subscription-renewal.spec.js took 39.9s
|
Slow Test:
[legacy] › _legacy-experience/woocommerce-blocks/saved-card.spec.js#L1
[legacy] › _legacy-experience/woocommerce-blocks/saved-card.spec.js took 39.6s
|
Slow Test:
[legacy] › _legacy-experience/checkout/sca-card.spec.js#L1
[legacy] › _legacy-experience/checkout/sca-card.spec.js took 33.3s
|
🎭 Playwright Run Summary
6 flaky
[default] › checkout/blocks/sca-card.spec.js:12:5 › customer can checkout with a SCA card @smoke @blocks
[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:46:6 › customer cannot checkout with invalid cards › an expired card shows the correct error message
[default] › checkout/shortcode/card-failures.spec.js:54:6 › customer cannot checkout with invalid cards › an error processing the card shows the correct error message
[default] › checkout/shortcode/sca-card.spec.js:12:5 › customer can checkout with a SCA card @smoke
[default] › orders/full-refund.spec.js:13:5 › merchant can issue a full refund @smoke ──────────
17 passed (6.8m)
|
🎭 Playwright Run Summary
1 failed
[legacy] › _legacy-experience/woocommerce-blocks/sca-card.spec.js:12:5 › customer can checkout with a SCA card @smoke @blocks
1 flaky
[legacy] › _legacy-experience/woocommerce-blocks/card-failures.spec.js:63:6 › customer cannot checkout with invalid cards @blocks › an error processing the card shows the correct error message
21 passed (8.3m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
Legacy-WP_latest-WC_latest-results
|
146 MB |
|