Skip to content

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

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 #4014

Triggered via pull request March 20, 2024 13:49
Status Failure
Total duration 1h 0m 40s
Artifacts 2

smoke-test-pr-merge.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 errors, 13 warnings, and 1 notice
[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#L107
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: Timed out 20000ms waiting for expect(locator).toBeVisible() Locator: getByText('Small').first() Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 20000ms - waiting for getByText('Small').first() - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" 105 | await expect( 106 | page.getByText( attributesData.options[ 0 ] ).first() > 107 | ).toBeVisible(); | ^ 108 | 109 | await page 110 | .locator( at /home/runner/work/woocommerce/woocommerce/plugins/woocommerce/tests/e2e-pw/tests/merchant/products/block-editor/create-variable-product-block-editor.spec.js:107:6
[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#L107
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 Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 20000ms waiting for expect(locator).toBeVisible() Locator: getByText('Small').first() Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 20000ms - waiting for getByText('Small').first() - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" 105 | await expect( 106 | page.getByText( attributesData.options[ 0 ] ).first() > 107 | ).toBeVisible(); | ^ 108 | 109 | await page 110 | .locator( at /home/runner/work/woocommerce/woocommerce/plugins/woocommerce/tests/e2e-pw/tests/merchant/products/block-editor/create-variable-product-block-editor.spec.js:107:6
[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#L107
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 Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 20000ms waiting for expect(locator).toBeVisible() Locator: getByText('Small').first() Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 20000ms - waiting for getByText('Small').first() - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" 105 | await expect( 106 | page.getByText( attributesData.options[ 0 ] ).first() > 107 | ).toBeVisible(); | ^ 108 | 109 | await page 110 | .locator( at /home/runner/work/woocommerce/woocommerce/plugins/woocommerce/tests/e2e-pw/tests/merchant/products/block-editor/create-variable-product-block-editor.spec.js:107:6
[Chrome] › merchant/product-delete.spec.js:110:2 › Products > Delete Product › can permanently delete a product from trash list: plugins/woocommerce/tests/e2e-pw/tests/merchant/product-delete.spec.js#L131
2) [Chrome] › merchant/product-delete.spec.js:110:2 › Products > Delete Product › can permanently delete a product from trash list › Permanently delete the product Error: locator.click: Timeout 20000ms exceeded. Call log: - waiting for locator('#post-175 .submitdelete') - locator resolved to <a class="submitdelete" aria-label="Delete “Product…>Delete Permanently</a> - attempting click action - waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <td data-colname="Name" class="name column-name has-…>…</td> intercepts pointer events - retrying click action, attempt #1 - waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - element is outside of the viewport - retrying click action, attempt #2 - waiting 20ms - waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - element is outside of the viewport - retrying click action, attempt #3 - waiting 100ms - waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - element is outside of the viewport - retrying click action, attempt #4 - waiting 100ms - waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - element is outside of the viewport - retrying click action, attempt #5 - waiting 500ms - waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - element is outside of the viewport - retrying click action, attempt #6 - waiting 500ms - waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - element is outside of the viewport - retrying click action, attempt #7 - waiting 500ms - waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - element is outside of the viewport - retrying click action, attempt #8 - waiting 500ms - waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - element is outside of the viewport - retrying click action, attempt #9 - waiting 500ms - waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - element is outside of the viewport - retrying click action, attempt #10 - waiting 500ms - waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - element is outside of the viewport - retrying click action, attempt #11 - waiting 500ms - waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - element is outside of the viewport - retrying click action, attempt #12 - waiting 500ms - waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scro
[Chrome] › shopper/cart-checkout-block-calculate-tax.spec.js:108:2 › Shopper Cart & Checkout Block Tax Display › can create Cart Block page: plugins/woocommerce/tests/e2e-pw/utils/editor.js#L14
3) [Chrome] › shopper/cart-checkout-block-calculate-tax.spec.js:108:2 › Shopper Cart & Checkout Block Tax Display › can 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-checkout-block-calculate-tax.spec.js:115:3
Run E2E tests
Process completed with exit code 1.
🎭 Playwright Run Summary
1 failed [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 2 flaky [Chrome] › merchant/product-delete.spec.js:110:2 › Products > Delete Product › can permanently delete a product from trash list [Chrome] › shopper/cart-checkout-block-calculate-tax.spec.js:108:2 › Shopper Cart & Checkout Block Tax Display › can create Cart Block page 5 skipped 349 passed (33.8m)
Run API tests
Failed to restore: Cache service responded with 429
Run API tests
Failed to restore: Cache service responded with 429
Run API tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/upload-artifact@v3, aws-actions/configure-aws-credentials@v1-node16. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Runs k6 Performance tests
Failed to restore: Cache service responded with 429
Runs k6 Performance tests
Failed to restore: Cache service responded with 429
Run E2E tests
Failed to restore: Cache service responded with 429
Run E2E tests
Failed to restore: Cache service responded with 429
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 2.0m
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] › 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 1.0m
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 59.9s
Run E2E tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/upload-artifact@v3, aws-actions/configure-aws-credentials@v1-node16, actions/github-script@v6, slackapi/slack-github-action@v1.23.0. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.

Artifacts

Produced during runtime
Name Size
api-pr-merge-45675-run-4014 Expired
5.46 MB
e2e-pr-merge-45675-run-4014 Expired
92 MB