Skip to content

PHP 8.1 compatibility fixes #1296

PHP 8.1 compatibility fixes

PHP 8.1 compatibility fixes #1296

Triggered via pull request August 19, 2024 13:02
Status Failure
Total duration 15m 30s
Artifacts 1

e2e-tests.yml

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

Annotations

11 errors, 10 warnings, and 2 notices
[default] › checkout/shortcode/saved-card.spec.js:30:5 › customer can checkout with a saved card @smoke: tests/e2e/tests/checkout/shortcode/saved-card.spec.js#L1
1) [default] › checkout/shortcode/saved-card.spec.js:30:5 › customer can checkout with a saved card @smoke › checkout and choose to save the card Test timeout of 90000ms exceeded.
[default] › checkout/shortcode/saved-card.spec.js:30:5 › customer can checkout with a saved card @smoke: tests/e2e/tests/checkout/shortcode/saved-card.spec.js#L53
1) [default] › checkout/shortcode/saved-card.spec.js:30:5 › customer can checkout with a saved card @smoke › checkout and choose to save the card Error: page.waitForNavigation: Test timeout of 90000ms exceeded. =========================== logs =========================== waiting for navigation until "load" ============================================================ 51 | await page.locator( 'text=Place order' ).click(); 52 | > 53 | await page.waitForNavigation(); | ^ 54 | await expect( page.locator( 'h1.entry-title' ) ).toHaveText( 55 | 'Order received' 56 | ); at /home/runner/work/woocommerce-gateway-stripe/woocommerce-gateway-stripe/tests/e2e/tests/checkout/shortcode/saved-card.spec.js:53:14 at /home/runner/work/woocommerce-gateway-stripe/woocommerce-gateway-stripe/tests/e2e/tests/checkout/shortcode/saved-card.spec.js:39:2
[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.
Slow Test: [default] › checkout/blocks/saved-card.spec.js#L1
[default] › checkout/blocks/saved-card.spec.js took 48.1s
Slow Test: [default] › checkout/blocks/sca-card.spec.js#L1
[default] › checkout/blocks/sca-card.spec.js took 41.7s
Slow Test: [default] › checkout/blocks/subscription-product.spec.js#L1
[default] › checkout/blocks/subscription-product.spec.js took 36.2s
Slow Test: [default] › checkout/blocks/normal-card.spec.js#L1
[default] › checkout/blocks/normal-card.spec.js took 34.6s
Slow Test: [default] › orders/full-refund.spec.js#L1
[default] › orders/full-refund.spec.js took 31.3s
Slow Test: [legacy] › _legacy-experience/checkout/saved-card.spec.js#L1
[legacy] › _legacy-experience/checkout/saved-card.spec.js took 44.3s
Slow Test: [legacy] › _legacy-experience/subscriptions/subscription-renewal.spec.js#L1
[legacy] › _legacy-experience/subscriptions/subscription-renewal.spec.js took 43.2s
Slow Test: [legacy] › _legacy-experience/order/full-refund.spec.js#L1
[legacy] › _legacy-experience/order/full-refund.spec.js took 41.6s
Slow Test: [legacy] › _legacy-experience/woocommerce-blocks/saved-card.spec.js#L1
[legacy] › _legacy-experience/woocommerce-blocks/saved-card.spec.js took 37.2s
Slow Test: [legacy] › _legacy-experience/woocommerce-blocks/normal-card.spec.js#L1
[legacy] › _legacy-experience/woocommerce-blocks/normal-card.spec.js took 31.9s
🎭 Playwright Run Summary
1 flaky [default] › checkout/shortcode/saved-card.spec.js:30:5 › customer can checkout with a saved card @smoke 22 passed (4.1m)
🎭 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)

Artifacts

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