Skip to content

Prevent warning if there was no post ID available in some product elements #8230

Prevent warning if there was no post ID available in some product elements

Prevent warning if there was no post ID available in some product elements #8230

Triggered via pull request March 19, 2024 10:08
Status Success
Total duration 25m 34s
Artifacts 7
Matrix: Runs E2E tests with HPOS disabled.
Runs API tests with HPOS disabled.
8m 57s
Runs API tests with HPOS disabled.
Evaluate e2e tests results
0s
Evaluate e2e tests results
Merge e2e test reports
4m 59s
Merge e2e test reports
Fit to window
Zoom out
Zoom in

Annotations

3 errors, 35 warnings, and 5 notices
[Chrome] › shopper/cart-block-calculate-shipping.spec.js:142:2 › Cart Block Calculate Shipping › create Cart Block page: plugins/woocommerce/tests/e2e-pw/utils/editor.js#L14
1) [Chrome] › shopper/cart-block-calculate-shipping.spec.js:142:2 › Cart Block Calculate Shipping › create Cart Block page Error: page.waitForFunction: Timeout 20000ms exceeded. at ../utils/editor.js:14 12 | const disableWelcomeModal = async ( { page } ) => { 13 | await page.waitForLoadState(); > 14 | await page.waitForFunction( () => window?.wp?.data ); | ^ 15 | 16 | const isWelcomeGuideActive = await page.evaluate( () => 17 | wp.data.select( 'core/edit-post' ).isFeatureActive( 'welcomeGuide' ) at disableWelcomeModal (/home/runner/work/woocommerce/woocommerce/plugins/woocommerce/tests/e2e-pw/utils/editor.js:14:13) at /home/runner/work/woocommerce/woocommerce/plugins/woocommerce/tests/e2e-pw/tests/shopper/cart-block-calculate-shipping.spec.js:149:3
[Chrome] › shopper/cart-block-calculate-shipping.spec.js:142:2 › Cart Block Calculate Shipping › create Cart Block page: plugins/woocommerce/tests/e2e-pw/utils/editor.js#L14
1) [Chrome] › shopper/cart-block-calculate-shipping.spec.js:142:2 › Cart Block Calculate Shipping › create Cart Block page Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: page.waitForFunction: Timeout 20000ms exceeded. at ../utils/editor.js:14 12 | const disableWelcomeModal = async ( { page } ) => { 13 | await page.waitForLoadState(); > 14 | await page.waitForFunction( () => window?.wp?.data ); | ^ 15 | 16 | const isWelcomeGuideActive = await page.evaluate( () => 17 | wp.data.select( 'core/edit-post' ).isFeatureActive( 'welcomeGuide' ) at disableWelcomeModal (/home/runner/work/woocommerce/woocommerce/plugins/woocommerce/tests/e2e-pw/utils/editor.js:14:13) at /home/runner/work/woocommerce/woocommerce/plugins/woocommerce/tests/e2e-pw/tests/shopper/cart-block-calculate-shipping.spec.js:149:3
[Chrome] › merchant/products/block-editor/create-variable-product-block-editor.spec.js:56:3 › Variations tab › Create variable product › can create a variation option and publish the product: plugins/woocommerce/tests/e2e-pw/tests/merchant/products/block-editor/create-variable-product-block-editor.spec.js#L161
1) [Chrome] › merchant/products/block-editor/create-variable-product-block-editor.spec.js:56:3 › Variations tab › Create variable product › can create a variation option and publish the product Error: expect(received).toEqual(expected) // deep equality Expected: 3 Received: 5 159 | ) 160 | .count() > 161 | ).toEqual( attributesData.options.length ); | ^ 162 | 163 | await page 164 | .locator( '.woocommerce-product-variations__table-body > div' ) at /home/runner/work/woocommerce/woocommerce/plugins/woocommerce/tests/e2e-pw/tests/merchant/products/block-editor/create-variable-product-block-editor.spec.js:161:6
🎭 Playwright Run Summary
3 skipped 61 passed (4.1m)
🎭 Playwright Run Summary
1 skipped 64 passed (5.2m)
🎭 Playwright Run Summary
1 flaky [Chrome] › shopper/cart-block-calculate-shipping.spec.js:142:2 › Cart Block Calculate Shipping › create Cart Block page 76 passed (7.2m)
🎭 Playwright Run Summary
82 passed (7.6m)
🎭 Playwright Run Summary
1 flaky [Chrome] › merchant/products/block-editor/create-variable-product-block-editor.spec.js:56:3 › Variations tab › Create variable product › can create a variation option and publish the product 1 skipped 67 passed (8.8m)
Runs API tests with HPOS disabled.
Failed to restore: Cache service responded with 429
Runs API tests with HPOS disabled.
Failed to restore: Cache service responded with 429
Runs API tests with HPOS disabled.
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Runs E2E tests with HPOS disabled. (5, 5/5)
Failed to restore: Cache service responded with 429
Runs E2E tests with HPOS disabled. (5, 5/5)
Failed to restore: Cache service responded with 429
Slow Test: plugins/woocommerce/[Chrome] › shopper/checkout-block.spec.js#L1
plugins/woocommerce/[Chrome] › shopper/checkout-block.spec.js took 53.2s
Runs E2E tests with HPOS disabled. (2, 2/5)
Failed to restore: Cache service responded with 429
Runs E2E tests with HPOS disabled. (2, 2/5)
Failed to restore: Cache service responded with 429
Slow Test: plugins/woocommerce/[Chrome] › merchant/order-edit.spec.js#L1
plugins/woocommerce/[Chrome] › merchant/order-edit.spec.js took 1.0m
Slow Test: plugins/woocommerce/[Chrome] › merchant/order-search.spec.js#L1
plugins/woocommerce/[Chrome] › merchant/order-search.spec.js took 58.7s
Slow Test: plugins/woocommerce/[Chrome] › merchant/create-shipping-zones.spec.js#L1
plugins/woocommerce/[Chrome] › merchant/create-shipping-zones.spec.js took 52.0s
Slow Test: plugins/woocommerce/[Chrome] › merchant/order-status-filter.spec.js#L1
plugins/woocommerce/[Chrome] › merchant/order-status-filter.spec.js took 34.6s
Runs E2E tests with HPOS disabled. (4, 4/5)
Failed to restore: Cache service responded with 429
Runs E2E tests with HPOS disabled. (4, 4/5)
Failed to restore: Cache service responded with 429
Slow Test: plugins/woocommerce/[Chrome] › shopper/cart-block-calculate-shipping.spec.js#L1
plugins/woocommerce/[Chrome] › shopper/cart-block-calculate-shipping.spec.js took 1.1m
Slow Test: plugins/woocommerce/[Chrome] › shopper/cart-checkout-restricted-coupons.spec.js#L1
plugins/woocommerce/[Chrome] › shopper/cart-checkout-restricted-coupons.spec.js took 44.8s
Slow Test: plugins/woocommerce/[Chrome] › merchant/products/block-editor/product-inventory-block-editor.spec.js#L1
plugins/woocommerce/[Chrome] › merchant/products/block-editor/product-inventory-block-editor.spec.js took 40.3s
Slow Test: plugins/woocommerce/[Chrome] › shopper/cart-checkout-block-calculate-tax.spec.js#L1
plugins/woocommerce/[Chrome] › shopper/cart-checkout-block-calculate-tax.spec.js took 35.5s
Slow Test: plugins/woocommerce/[Chrome] › merchant/products/block-editor/product-images-block-editor.spec.js#L1
plugins/woocommerce/[Chrome] › merchant/products/block-editor/product-images-block-editor.spec.js took 34.3s
Runs E2E tests with HPOS disabled. (1, 1/5)
Failed to restore: Cache service responded with 429
Runs E2E tests with HPOS disabled. (1, 1/5)
Failed to restore: Cache service responded with 429
Slow Test: plugins/woocommerce/[Chrome] › merchant/create-restricted-coupons.spec.js#L1
plugins/woocommerce/[Chrome] › merchant/create-restricted-coupons.spec.js took 1.4m
Slow Test: plugins/woocommerce/[Chrome] › admin-analytics/analytics-data.spec.js#L1
plugins/woocommerce/[Chrome] › admin-analytics/analytics-data.spec.js took 58.1s
Slow Test: plugins/woocommerce/[Chrome] › activate-and-setup/core-profiler.spec.js#L1
plugins/woocommerce/[Chrome] › activate-and-setup/core-profiler.spec.js took 42.4s
Slow Test: plugins/woocommerce/[Chrome] › merchant/command-palette.spec.js#L1
plugins/woocommerce/[Chrome] › merchant/command-palette.spec.js took 34.5s
Slow Test: plugins/woocommerce/[Chrome] › admin-analytics/analytics.spec.js#L1
plugins/woocommerce/[Chrome] › admin-analytics/analytics.spec.js took 31.5s
Runs E2E tests with HPOS disabled. (3, 3/5)
Failed to restore: Cache service responded with 429
Runs E2E tests with HPOS disabled. (3, 3/5)
Failed to restore: Cache service responded with 429
Slow Test: plugins/woocommerce/[Chrome] › merchant/page-loads.spec.js#L1
plugins/woocommerce/[Chrome] › merchant/page-loads.spec.js took 55.0s
Slow Test: plugins/woocommerce/[Chrome] › merchant/products/block-editor/create-variable-product-block-editor.spec.js#L1
plugins/woocommerce/[Chrome] › merchant/products/block-editor/create-variable-product-block-editor.spec.js took 53.1s
Slow Test: plugins/woocommerce/[Chrome] › merchant/products/block-editor/disable-block-product-editor.spec.js#L1
plugins/woocommerce/[Chrome] › merchant/products/block-editor/disable-block-product-editor.spec.js took 51.6s
Slow Test: plugins/woocommerce/[Chrome] › merchant/product-import-csv.spec.js#L1
plugins/woocommerce/[Chrome] › merchant/product-import-csv.spec.js took 31.8s
Slow Test: plugins/woocommerce/[Chrome] › merchant/products/add-variable-product/update-variations.spec.js#L1
plugins/woocommerce/[Chrome] › merchant/products/add-variable-product/update-variations.spec.js took 30.8s
Merge e2e test reports
Failed to restore: Cache service responded with 429
Merge e2e test reports
Failed to restore: Cache service responded with 429

Artifacts

Produced during runtime
Name Size
all-blob-reports-1 Expired
107 KB
all-blob-reports-2 Expired
74.7 KB
all-blob-reports-3 Expired
5.79 MB
all-blob-reports-4 Expired
2.06 MB
all-blob-reports-5 Expired
87.3 KB
api-test-report---pr-45675 Expired
5.46 MB
e2e-test-report---pr-45675 Expired
17.4 MB