Skip to content

Change when stock notif emails are triggered #24408

Change when stock notif emails are triggered

Change when stock notif emails are triggered #24408

Triggered via pull request July 16, 2024 18:43
Status Failure
Total duration 15m 9s
Artifacts 2

ci.yml

on: pull_request
Build Project Jobs
48s
Build Project Jobs
Matrix: project-test-jobs
Matrix: project-lint-jobs
Matrix: test-reports
Create issues for flaky tests
6s
Create issues for flaky tests
Evaluate Project Job Statuses
6s
Evaluate Project Job Statuses
Report results on Slack
0s
Report results on Slack
Fit to window
Zoom out
Zoom in

Annotations

23 errors, 17 warnings, and 6 notices
Lint - @woocommerce/plugin-woocommerce
Process completed with exit code 1.
[default] › merchant/create-woocommerce-blocks.spec.js:143:3 › Add WooCommerce Blocks Into Page › can insert all WooCommerce blocks into page: plugins/woocommerce/tests/e2e-pw/utils/editor.js#L58
1) [default] › merchant/create-woocommerce-blocks.spec.js:143:3 › Add WooCommerce Blocks Into Page › can insert all WooCommerce blocks into page › Insert All Products block TimeoutError: locator.fill: Timeout 20000ms exceeded. Call log: - waiting for getByPlaceholder('Search', { exact: true }) at ../utils/editor.js:58 56 | const insertBlock = async ( page, blockName ) => { 57 | await page.getByLabel( 'Toggle block inserter' ).click(); > 58 | await page.getByPlaceholder( 'Search', { exact: true } ).fill( blockName ); | ^ 59 | await page.getByRole( 'option', { name: blockName, exact: true } ).click(); 60 | await page.getByLabel( 'Toggle block inserter' ).click(); 61 | }; at insertBlock (/home/runner/work/woocommerce/woocommerce/plugins/woocommerce/tests/e2e-pw/utils/editor.js:58:59) at /home/runner/work/woocommerce/woocommerce/plugins/woocommerce/tests/e2e-pw/tests/merchant/create-woocommerce-blocks.spec.js:153:6 at /home/runner/work/woocommerce/woocommerce/plugins/woocommerce/tests/e2e-pw/tests/merchant/create-woocommerce-blocks.spec.js:152:5
[default] › merchant/create-woocommerce-blocks.spec.js:143:3 › Add WooCommerce Blocks Into Page › can insert all WooCommerce blocks into page: plugins/woocommerce/tests/e2e-pw/utils/editor.js#L58
1) [default] › merchant/create-woocommerce-blocks.spec.js:143:3 › Add WooCommerce Blocks Into Page › can insert all WooCommerce blocks into page › Insert All Products block Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.fill: Timeout 20000ms exceeded. Call log: - waiting for getByPlaceholder('Search', { exact: true }) at ../utils/editor.js:58 56 | const insertBlock = async ( page, blockName ) => { 57 | await page.getByLabel( 'Toggle block inserter' ).click(); > 58 | await page.getByPlaceholder( 'Search', { exact: true } ).fill( blockName ); | ^ 59 | await page.getByRole( 'option', { name: blockName, exact: true } ).click(); 60 | await page.getByLabel( 'Toggle block inserter' ).click(); 61 | }; at insertBlock (/home/runner/work/woocommerce/woocommerce/plugins/woocommerce/tests/e2e-pw/utils/editor.js:58:59) at /home/runner/work/woocommerce/woocommerce/plugins/woocommerce/tests/e2e-pw/tests/merchant/create-woocommerce-blocks.spec.js:153:6 at /home/runner/work/woocommerce/woocommerce/plugins/woocommerce/tests/e2e-pw/tests/merchant/create-woocommerce-blocks.spec.js:152:5
[default] › merchant/create-woocommerce-patterns.spec.js:31:3 › Add WooCommerce Patterns Into Page › can insert WooCommerce patterns into page: plugins/woocommerce/tests/e2e-pw/utils/editor.js#L59
2) [default] › merchant/create-woocommerce-patterns.spec.js:31:3 › Add WooCommerce Patterns Into Page › can insert WooCommerce patterns into page › Insert Featured Category Cover Image pattern TimeoutError: locator.click: Timeout 20000ms exceeded. Call log: - waiting for getByRole('option', { name: 'Featured Category Cover Image', exact: true }) at ../utils/editor.js:59 57 | await page.getByLabel( 'Toggle block inserter' ).click(); 58 | await page.getByPlaceholder( 'Search', { exact: true } ).fill( blockName ); > 59 | await page.getByRole( 'option', { name: blockName, exact: true } ).click(); | ^ 60 | await page.getByLabel( 'Toggle block inserter' ).click(); 61 | }; 62 | at insertBlock (/home/runner/work/woocommerce/woocommerce/plugins/woocommerce/tests/e2e-pw/utils/editor.js:59:69) at /home/runner/work/woocommerce/woocommerce/plugins/woocommerce/tests/e2e-pw/tests/merchant/create-woocommerce-patterns.spec.js:40:6 at /home/runner/work/woocommerce/woocommerce/plugins/woocommerce/tests/e2e-pw/tests/merchant/create-woocommerce-patterns.spec.js:39:5
[default] › merchant/create-woocommerce-patterns.spec.js:31:3 › Add WooCommerce Patterns Into Page › can insert WooCommerce patterns into page: plugins/woocommerce/tests/e2e-pw/utils/editor.js#L58
2) [default] › merchant/create-woocommerce-patterns.spec.js:31:3 › Add WooCommerce Patterns Into Page › can insert WooCommerce patterns into page › Insert Featured Category Cover Image pattern Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.fill: Timeout 20000ms exceeded. Call log: - waiting for getByPlaceholder('Search', { exact: true }) at ../utils/editor.js:58 56 | const insertBlock = async ( page, blockName ) => { 57 | await page.getByLabel( 'Toggle block inserter' ).click(); > 58 | await page.getByPlaceholder( 'Search', { exact: true } ).fill( blockName ); | ^ 59 | await page.getByRole( 'option', { name: blockName, exact: true } ).click(); 60 | await page.getByLabel( 'Toggle block inserter' ).click(); 61 | }; at insertBlock (/home/runner/work/woocommerce/woocommerce/plugins/woocommerce/tests/e2e-pw/utils/editor.js:58:59) at /home/runner/work/woocommerce/woocommerce/plugins/woocommerce/tests/e2e-pw/tests/merchant/create-woocommerce-patterns.spec.js:40:6 at /home/runner/work/woocommerce/woocommerce/plugins/woocommerce/tests/e2e-pw/tests/merchant/create-woocommerce-patterns.spec.js:39:5
Core e2e tests 3/6 - @woocommerce/plugin-woocommerce [e2e]
Process completed with exit code 1.
[default] › shopper/product-tags-attributes.spec.js:281:3 › Browse product tags and attributes from the product page › can see products showcase: plugins/woocommerce/tests/e2e-pw/tests/shopper/product-tags-attributes.spec.js#L321
1) [default] › shopper/product-tags-attributes.spec.js:281:3 › Browse product tags and attributes from the product page › can see products showcase Error: Timed out 20000ms waiting for expect(locator).toBeVisible() Locator: getByRole('button', { name: 'Update', exact: true }) Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 20000ms - waiting for getByRole('button', { name: 'Update', exact: true }) 319 | await expect( 320 | page.getByRole( 'button', { name: 'Update', exact: true } ) > 321 | ).toBeVisible(); | ^ 322 | 323 | // go to created page with products showcase 324 | await page.goto( 'product-showcase' ); at /home/runner/work/woocommerce/woocommerce/plugins/woocommerce/tests/e2e-pw/tests/shopper/product-tags-attributes.spec.js:321:6
[default] › shopper/product-tags-attributes.spec.js:281:3 › Browse product tags and attributes from the product page › can see products showcase: plugins/woocommerce/tests/e2e-pw/tests/shopper/product-tags-attributes.spec.js#L321
1) [default] › shopper/product-tags-attributes.spec.js:281:3 › Browse product tags and attributes from the product page › can see products showcase Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 20000ms waiting for expect(locator).toBeVisible() Locator: getByRole('button', { name: 'Update', exact: true }) Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 20000ms - waiting for getByRole('button', { name: 'Update', exact: true }) 319 | await expect( 320 | page.getByRole( 'button', { name: 'Update', exact: true } ) > 321 | ).toBeVisible(); | ^ 322 | 323 | // go to created page with products showcase 324 | await page.goto( 'product-showcase' ); at /home/runner/work/woocommerce/woocommerce/plugins/woocommerce/tests/e2e-pw/tests/shopper/product-tags-attributes.spec.js:321:6
[default] › shopper/checkout-block.spec.js:932:3 › Checkout Block page › can create an account during checkout with custom password: plugins/woocommerce/tests/e2e-pw/tests/shopper/checkout-block.spec.js#L1006
2) [default] › shopper/checkout-block.spec.js:932:3 › Checkout Block page › can create an account during checkout with custom password Error: Timed out 20000ms waiting for expect(locator).toBeVisible() Locator: getByText('Your order has been received') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 20000ms - waiting for getByText('Your order has been received') 1004 | await expect( 1005 | page.getByText( 'Your order has been received' ) > 1006 | ).toBeVisible(); | ^ 1007 | 1008 | // get order ID from the page 1009 | newAccountOrderId = getOrderIdFromUrl( page ); at /home/runner/work/woocommerce/woocommerce/plugins/woocommerce/tests/e2e-pw/tests/shopper/checkout-block.spec.js:1006:6
Skipped Tests
- can update WooCommerce to "undefined" in /home/runner/work/woocommerce/woocommerce/plugins/woocommerce/tests/e2e-pw/tests/smoke-tests/update-woocommerce.spec.js:115 - can run the database update in /home/runner/work/woocommerce/woocommerce/plugins/woocommerce/tests/e2e-pw/tests/smoke-tests/update-woocommerce.spec.js:191
Core e2e tests 6/6 - @woocommerce/plugin-woocommerce [e2e]
Process completed with exit code 1.
PHP WP: latest - 2 - @woocommerce/plugin-woocommerce [unit:php]
Process completed with exit code 1.
PHP WP: nightly - @woocommerce/plugin-woocommerce [unit:php] (optional)
Process completed with exit code 1.
Skipped Tests
- can add existing attributes in /home/runner/work/woocommerce/woocommerce/plugins/woocommerce/tests/e2e-pw/tests/merchant/products/block-editor/product-attributes-block-editor.spec.js:270 - can update product attributes in /home/runner/work/woocommerce/woocommerce/plugins/woocommerce/tests/e2e-pw/tests/merchant/products/block-editor/product-attributes-block-editor.spec.js:360
PHP WP: latest - 1 - @woocommerce/plugin-woocommerce [unit:php]
Process completed with exit code 1.
PHP: 8.0 WP: latest - @woocommerce/plugin-woocommerce [unit:php]
Process completed with exit code 1.
Skipped Tests
- Assembler -> Homepage in /home/runner/work/woocommerce/woocommerce/plugins/woocommerce/tests/e2e-pw/tests/customize-store/assembler/homepage.spec.js:23
[default] › customize-store/assembler/color-picker.spec.js:413:2 › Assembler -> Color Pickers › Selected color palette should be applied on the frontend: plugins/woocommerce/tests/e2e-pw/tests/customize-store/assembler/color-picker.spec.js#L437
1) [default] › customize-store/assembler/color-picker.spec.js:413:2 › Assembler -> Color Pickers › Selected color palette should be applied on the frontend TimeoutError: page.waitForResponse: Timeout 20000ms exceeded while waiting for event "response" 435 | ); 436 | > 437 | const waitResponseTemplate = page.waitForResponse( | ^ 438 | ( response ) => 439 | response.url().includes( 440 | // When CYS will support all block themes, this URL will change. at /home/runner/work/woocommerce/woocommerce/plugins/woocommerce/tests/e2e-pw/tests/customize-store/assembler/color-picker.spec.js:437:37
[default] › customize-store/assembler/color-picker.spec.js:413:2 › Assembler -> Color Pickers › Selected color palette should be applied on the frontend: plugins/woocommerce/tests/e2e-pw/tests/customize-store/assembler/color-picker.spec.js#L437
1) [default] › customize-store/assembler/color-picker.spec.js:413:2 › Assembler -> Color Pickers › Selected color palette should be applied on the frontend Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: page.waitForResponse: Timeout 20000ms exceeded while waiting for event "response" 435 | ); 436 | > 437 | const waitResponseTemplate = page.waitForResponse( | ^ 438 | ( response ) => 439 | response.url().includes( 440 | // When CYS will support all block themes, this URL will change. at /home/runner/work/woocommerce/woocommerce/plugins/woocommerce/tests/e2e-pw/tests/customize-store/assembler/color-picker.spec.js:437:37
[default] › customize-store/assembler/color-picker.spec.js:508:2 › Assembler -> Color Pickers › Create "your own" pickers should be visible: plugins/woocommerce/tests/e2e-pw/tests/customize-store/assembler/color-picker.spec.js#L613
2) [default] › customize-store/assembler/color-picker.spec.js:508:2 › Assembler -> Color Pickers › Create "your own" pickers should be visible TimeoutError: locator.click: Timeout 20000ms exceeded. Call log: - waiting for frameLocator('.cys-fullscreen-iframe[style="opacity: 1;"]').locator('.block-editor-panel-color-gradient-settings__dropdown-content').getByRole('tab', { name: 'solid' }) 611 | name: feature, 612 | } ) > 613 | .click(); | ^ 614 | 615 | const selector = mapFeatureSelectors[ feature ]; 616 | const featureSelector = container.locator( selector ); at /home/runner/work/woocommerce/woocommerce/plugins/woocommerce/tests/e2e-pw/tests/customize-store/assembler/color-picker.spec.js:613:8
[default] › customize-store/assembler/color-picker.spec.js:508:2 › Assembler -> Color Pickers › Create "your own" pickers should be visible: plugins/woocommerce/tests/e2e-pw/tests/customize-store/assembler/color-picker.spec.js#L613
2) [default] › customize-store/assembler/color-picker.spec.js:508:2 › Assembler -> Color Pickers › Create "your own" pickers should be visible Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 20000ms exceeded. Call log: - waiting for frameLocator('.cys-fullscreen-iframe[style="opacity: 1;"]').locator('.block-editor-panel-color-gradient-settings__dropdown-content').getByRole('tab', { name: 'solid' }) 611 | name: feature, 612 | } ) > 613 | .click(); | ^ 614 | 615 | const selector = mapFeatureSelectors[ feature ]; 616 | const featureSelector = container.locator( selector ); at /home/runner/work/woocommerce/woocommerce/plugins/woocommerce/tests/e2e-pw/tests/customize-store/assembler/color-picker.spec.js:613:8
Core e2e tests 1/6 - @woocommerce/plugin-woocommerce [e2e]
Process completed with exit code 1.
Evaluate Project Job Statuses
Process completed with exit code 1.
Slow Test: plugins/woocommerce/[default] › shopper/cart-checkout-restricted-coupons.spec.js#L1
plugins/woocommerce/[default] › shopper/cart-checkout-restricted-coupons.spec.js took 34.8s
Slow Test: plugins/woocommerce/[default] › shopper/cart-block-coupons.spec.js#L1
plugins/woocommerce/[default] › shopper/cart-block-coupons.spec.js took 30.5s
Slow Test: plugins/woocommerce/[default] › merchant/order-edit.spec.js#L1
plugins/woocommerce/[default] › merchant/order-edit.spec.js took 45.0s
Slow Test: plugins/woocommerce/[default] › merchant/order-search.spec.js#L1
plugins/woocommerce/[default] › merchant/order-search.spec.js took 44.3s
Slow Test: plugins/woocommerce/[default] › merchant/page-loads.spec.js#L1
plugins/woocommerce/[default] › merchant/page-loads.spec.js took 41.5s
Slow Test: plugins/woocommerce/[default] › shopper/checkout-block-coupons.spec.js#L1
plugins/woocommerce/[default] › shopper/checkout-block-coupons.spec.js took 37.8s
Slow Test: plugins/woocommerce/[default] › merchant/products/block-editor/disable-block-product-editor.spec.js#L1
plugins/woocommerce/[default] › merchant/products/block-editor/disable-block-product-editor.spec.js took 40.6s
Slow Test: plugins/woocommerce/[default] › merchant/products/block-editor/create-variable-product-block-editor.spec.js#L1
plugins/woocommerce/[default] › merchant/products/block-editor/create-variable-product-block-editor.spec.js took 40.4s
Slow Test: plugins/woocommerce/[default] › customize-store/assembler/logo-picker/logo-picker.spec.js#L1
plugins/woocommerce/[default] › customize-store/assembler/logo-picker/logo-picker.spec.js took 1.2m
Slow Test: plugins/woocommerce/[default] › merchant/create-restricted-coupons.spec.js#L1
plugins/woocommerce/[default] › merchant/create-restricted-coupons.spec.js took 1.0m
Slow Test: plugins/woocommerce/[default] › customize-store/assembler/header.spec.js#L1
plugins/woocommerce/[default] › customize-store/assembler/header.spec.js took 44.5s
Slow Test: plugins/woocommerce/[default] › merchant/create-shipping-zones.spec.js#L1
plugins/woocommerce/[default] › merchant/create-shipping-zones.spec.js took 38.6s
Slow Test: plugins/woocommerce/[default] › merchant/command-palette.spec.js#L1
plugins/woocommerce/[default] › merchant/command-palette.spec.js took 34.5s
Slow Test: plugins/woocommerce/[default] › activate-and-setup/core-profiler.spec.js#L1
plugins/woocommerce/[default] › activate-and-setup/core-profiler.spec.js took 54.9s
Slow Test: plugins/woocommerce/[default] › admin-analytics/analytics-data.spec.js#L1
plugins/woocommerce/[default] › admin-analytics/analytics-data.spec.js took 43.8s
Slow Test: plugins/woocommerce/[default] › customize-store/assembler/footer.spec.js#L1
plugins/woocommerce/[default] › customize-store/assembler/footer.spec.js took 42.1s
Slow Test: plugins/woocommerce/[default] › customize-store/assembler/font-picker.spec.js#L1
plugins/woocommerce/[default] › customize-store/assembler/font-picker.spec.js took 40.1s
🎭 Playwright Run Summary
76 passed (5.1m)
🎭 Playwright Run Summary
2 failed [default] › merchant/create-woocommerce-blocks.spec.js:143:3 › Add WooCommerce Blocks Into Page › can insert all WooCommerce blocks into page [default] › merchant/create-woocommerce-patterns.spec.js:31:3 › Add WooCommerce Patterns Into Page › can insert WooCommerce patterns into page 74 passed (5.9m)
🎭 Playwright Run Summary
1 failed [default] › shopper/product-tags-attributes.spec.js:281:3 › Browse product tags and attributes from the product page › can see products showcase 1 flaky [default] › shopper/checkout-block.spec.js:932:3 › Checkout Block page › can create an account during checkout with custom password 2 skipped 64 passed (6.0m)
🎭 Playwright Run Summary
2 skipped 62 passed (6.7m)
🎭 Playwright Run Summary
1 skipped 77 passed (8.1m)
🎭 Playwright Run Summary
2 failed [default] › customize-store/assembler/color-picker.spec.js:413:2 › Assembler -> Color Pickers › Selected color palette should be applied on the frontend [default] › customize-store/assembler/color-picker.spec.js:508:2 › Assembler -> Color Pickers › Create "your own" pickers should be visible 71 passed (10.3m)

Artifacts

Produced during runtime
Name Size
core-api-report-attempt-1 Expired
541 KB
core-e2e-report-attempt-1 Expired
14.4 MB