Prevent possible type error during WC_Install::create_options()
#4011
smoke-test-pr-merge.yml
on: pull_request
Run API tests
9m 40s
Runs k6 Performance tests
7m 42s
Run E2E tests
42m 15s
Annotations
4 errors, 11 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
|
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
5 skipped
351 passed (33.6m)
|
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 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/.
|
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] › admin-analytics/analytics-data.spec.js#L1
plugins/woocommerce/[Chrome] › admin-analytics/analytics-data.spec.js took 57.1s
|
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-45730-run-4011
Expired
|
5.46 MB |
|
e2e-pr-merge-45730-run-4011
Expired
|
60.2 MB |
|