Skip to content

Fix missing order attribution metadata when using ECE #2142

Fix missing order attribution metadata when using ECE

Fix missing order attribution metadata when using ECE #2142

Triggered via pull request November 29, 2024 11:43
Status Failure
Total duration 12m 42s
Artifacts 2

e2e-tests.yml

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

Annotations

19 errors, 10 warnings, and 2 notices
[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#L1
1) [legacy] › _legacy-experience/woocommerce-blocks/sca-card.spec.js:12:5 › customer can checkout with a SCA card @smoke @blocks Test timeout of 90000ms exceeded.
[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#L1
1) [legacy] › _legacy-experience/woocommerce-blocks/sca-card.spec.js:12:5 › customer can checkout with a SCA card @smoke @blocks Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 90000ms exceeded.
[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#L1
1) [legacy] › _legacy-experience/woocommerce-blocks/sca-card.spec.js:12:5 › customer can checkout with a SCA card @smoke @blocks Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 90000ms exceeded.
[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#L1
1) [legacy] › _legacy-experience/woocommerce-blocks/sca-card.spec.js:12:5 › customer can checkout with a SCA card @smoke @blocks Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 90000ms exceeded.
[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 WP=latest, WC=latest, PHP=7.4
Process completed with exit code 1.
[default] › orders/full-refund.spec.js:13:5 › merchant can issue a full refund @smoke: tests/e2e/tests/orders/full-refund.spec.js#L1
1) [default] › orders/full-refund.spec.js:13:5 › merchant can issue a full refund @smoke › customer checkout with Stripe Test timeout of 90000ms exceeded.
[default] › orders/full-refund.spec.js:13:5 › merchant can issue a full refund @smoke: tests/e2e/tests/orders/full-refund.spec.js#L37
1) [default] › orders/full-refund.spec.js:13:5 › merchant can issue a full refund @smoke › customer checkout with Stripe Error: page.waitForURL: Test ended. =========================== logs =========================== waiting for navigation to "**/checkout/order-received/**" until "load" ============================================================ 35 | ); 36 | await userPage.locator( 'text=Place order' ).click(); > 37 | await userPage.waitForURL( '**/checkout/order-received/**' ); | ^ 38 | 39 | await expect( userPage.locator( 'h1.entry-title' ) ).toHaveText( 40 | 'Order received' at /home/runner/work/woocommerce-gateway-stripe/woocommerce-gateway-stripe/tests/e2e/tests/orders/full-refund.spec.js:37:18 at /home/runner/work/woocommerce-gateway-stripe/woocommerce-gateway-stripe/tests/e2e/tests/orders/full-refund.spec.js:24:2
[default] › orders/full-refund.spec.js:13:5 › merchant can issue a full refund @smoke: tests/e2e/tests/orders/full-refund.spec.js#L1
1) [default] › orders/full-refund.spec.js:13:5 › merchant can issue a full refund @smoke › customer checkout with Stripe Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 90000ms exceeded.
[default] › orders/full-refund.spec.js:13:5 › merchant can issue a full refund @smoke: tests/e2e/tests/orders/full-refund.spec.js#L37
1) [default] › orders/full-refund.spec.js:13:5 › merchant can issue a full refund @smoke › customer checkout with Stripe Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: page.waitForURL: Test ended. =========================== logs =========================== waiting for navigation to "**/checkout/order-received/**" until "load" ============================================================ 35 | ); 36 | await userPage.locator( 'text=Place order' ).click(); > 37 | await userPage.waitForURL( '**/checkout/order-received/**' ); | ^ 38 | 39 | await expect( userPage.locator( 'h1.entry-title' ) ).toHaveText( 40 | 'Order received' at /home/runner/work/woocommerce-gateway-stripe/woocommerce-gateway-stripe/tests/e2e/tests/orders/full-refund.spec.js:37:18 at /home/runner/work/woocommerce-gateway-stripe/woocommerce-gateway-stripe/tests/e2e/tests/orders/full-refund.spec.js:24:2
[default] › orders/full-refund.spec.js:13:5 › merchant can issue a full refund @smoke: tests/e2e/tests/orders/full-refund.spec.js#L1
1) [default] › orders/full-refund.spec.js:13:5 › merchant can issue a full refund @smoke › customer checkout with Stripe Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 90000ms exceeded.
[default] › orders/full-refund.spec.js:13:5 › merchant can issue a full refund @smoke: tests/e2e/tests/orders/full-refund.spec.js#L37
1) [default] › orders/full-refund.spec.js:13:5 › merchant can issue a full refund @smoke › customer checkout with Stripe Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: page.waitForURL: Test ended. =========================== logs =========================== waiting for navigation to "**/checkout/order-received/**" until "load" ============================================================ 35 | ); 36 | await userPage.locator( 'text=Place order' ).click(); > 37 | await userPage.waitForURL( '**/checkout/order-received/**' ); | ^ 38 | 39 | await expect( userPage.locator( 'h1.entry-title' ) ).toHaveText( 40 | 'Order received' at /home/runner/work/woocommerce-gateway-stripe/woocommerce-gateway-stripe/tests/e2e/tests/orders/full-refund.spec.js:37:18 at /home/runner/work/woocommerce-gateway-stripe/woocommerce-gateway-stripe/tests/e2e/tests/orders/full-refund.spec.js:24:2
[default] › orders/full-refund.spec.js:13:5 › merchant can issue a full refund @smoke: tests/e2e/tests/orders/full-refund.spec.js#L1
1) [default] › orders/full-refund.spec.js:13:5 › merchant can issue a full refund @smoke › customer checkout with Stripe Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 90000ms exceeded.
[default] › orders/full-refund.spec.js:13:5 › merchant can issue a full refund @smoke: tests/e2e/tests/orders/full-refund.spec.js#L37
1) [default] › orders/full-refund.spec.js:13:5 › merchant can issue a full refund @smoke › customer checkout with Stripe Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── Error: page.waitForURL: Test ended. =========================== logs =========================== waiting for navigation to "**/checkout/order-received/**" until "load" ============================================================ 35 | ); 36 | await userPage.locator( 'text=Place order' ).click(); > 37 | await userPage.waitForURL( '**/checkout/order-received/**' ); | ^ 38 | 39 | await expect( userPage.locator( 'h1.entry-title' ) ).toHaveText( 40 | 'Order received' at /home/runner/work/woocommerce-gateway-stripe/woocommerce-gateway-stripe/tests/e2e/tests/orders/full-refund.spec.js:37:18 at /home/runner/work/woocommerce-gateway-stripe/woocommerce-gateway-stripe/tests/e2e/tests/orders/full-refund.spec.js:24: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: 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)
Slow Test: [legacy] › _legacy-experience/order/full-refund.spec.js#L1
[legacy] › _legacy-experience/order/full-refund.spec.js took 44.1s
Slow Test: [legacy] › _legacy-experience/checkout/saved-card.spec.js#L1
[legacy] › _legacy-experience/checkout/saved-card.spec.js took 42.8s
Slow Test: [legacy] › _legacy-experience/subscriptions/subscription-renewal.spec.js#L1
[legacy] › _legacy-experience/subscriptions/subscription-renewal.spec.js took 39.2s
Slow Test: [legacy] › _legacy-experience/woocommerce-blocks/saved-card.spec.js#L1
[legacy] › _legacy-experience/woocommerce-blocks/saved-card.spec.js took 35.8s
Slow Test: [legacy] › _legacy-experience/checkout/sca-card.spec.js#L1
[legacy] › _legacy-experience/checkout/sca-card.spec.js took 33.9s
Slow Test: [default] › checkout/blocks/saved-card.spec.js#L1
[default] › checkout/blocks/saved-card.spec.js took 49.7s
Slow Test: [default] › checkout/blocks/sca-card.spec.js#L1
[default] › checkout/blocks/sca-card.spec.js took 43.5s
Slow Test: [default] › checkout/blocks/subscription-product.spec.js#L1
[default] › checkout/blocks/subscription-product.spec.js took 39.5s
Slow Test: [default] › checkout/blocks/normal-card.spec.js#L1
[default] › checkout/blocks/normal-card.spec.js took 36.8s
Slow Test: [default] › subscriptions/subscription-renewal.spec.js#L1
[default] › subscriptions/subscription-renewal.spec.js took 21.0s
🎭 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 22 passed (8.3m)
🎭 Playwright Run Summary
1 failed [default] › orders/full-refund.spec.js:13:5 › merchant can issue a full refund @smoke ────────── 4 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 18 passed (9.4m)

Artifacts

Produced during runtime
Name Size
Default-WP_latest-WC_latest-results
230 MB
Legacy-WP_latest-WC_latest-results
105 MB