Skip to content

[CYS] Fix the selected pattern in footer, header and homepage #1604

[CYS] Fix the selected pattern in footer, header and homepage

[CYS] Fix the selected pattern in footer, header and homepage #1604

Triggered via pull request March 5, 2024 10:13
Status Failure
Total duration 16m 20s
Artifacts 1

blocks-playwright.yml

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

Annotations

19 errors, 36 warnings, and 8 notices
[classicTheme] › mini-cart/mini-cart-block.merchant.classic_theme.spec.ts:40:7 › Merchant → Mini Cart › in widget editor › can only be inserted once: plugins/woocommerce-blocks/tests/e2e/tests/mini-cart/mini-cart-block.merchant.classic_theme.spec.ts#L53
1) [classicTheme] › mini-cart/mini-cart-block.merchant.classic_theme.spec.ts:40:7 › Merchant → Mini Cart › in widget editor › can only be inserted once Error: Timed out 20000ms waiting for expect(received).toBeHidden() Call log: - expect.toBeHidden with timeout 20000ms - waiting for getByRole('option', { name: 'Mini-Cart', exact: true }) - locator resolved to <button type="button" tabindex="-1" role="option" id="id…>…</button> - unexpected value "visible" - locator resolved to <button type="button" tabindex="-1" role="option" id="id…>…</button> - unexpected value "visible" - locator resolved to <button tabindex="0" type="button" role="option" id="id-…>…</button> - unexpected value "visible" - locator resolved to <button tabindex="0" type="button" role="option" id="id-…>…</button> - unexpected value "visible" - locator resolved to <button tabindex="0" type="button" role="option" id="id-…>…</button> - unexpected value "visible" - locator resolved to <button tabindex="0" type="button" role="option" id="id-…>…</button> - unexpected value "visible" - locator resolved to <button tabindex="0" type="button" role="option" id="id-…>…</button> - unexpected value "visible" - locator resolved to <button tabindex="0" type="button" role="option" id="id-…>…</button> - unexpected value "visible" - locator resolved to <button tabindex="0" type="button" role="option" id="id-…>…</button> - unexpected value "visible" - locator resolved to <button tabindex="0" type="button" role="option" id="id-…>…</button> - unexpected value "visible" - locator resolved to <button tabindex="0" type="button" role="option" id="id-…>…</button> - unexpected value "visible" - locator resolved to <button tabindex="0" type="button" role="option" id="id-…>…</button> - unexpected value "visible" - locator resolved to <button tabindex="0" type="button" role="option" id="id-…>…</button> - unexpected value "visible" - locator resolved to <button tabindex="0" type="button" role="option" id="id-…>…</button> - unexpected value "visible" - locator resolved to <button tabindex="0" type="button" role="option" id="id-…>…</button> - unexpected value "visible" - locator resolved to <button tabindex="0" type="button" role="option" id="id-…>…</button> - unexpected value "visible" - locator resolved to <button tabindex="0" type="button" role="option" id="id-…>…</button> - unexpected value "visible" - locator resolved to <button tabindex="0" type="button" role="option" id="id-…>…</button> - unexpected value "visible" - locator resolved to <button tabindex="0" type="button" role="option" id="id-…>…</button> - unexpected value "visible" - locator resolved to <button tabindex="0" type="button" role="option" id="id-…>…</button> - unexpected value "visible" - locator resolved to <button tabindex="0" type="button" role="option" id="id-…>…</button> - unexpected value "visible" - locator resolved to <button tabindex="0" type="button" role="option" id="id-…>…</button> - unexpected value "visible" - locator resolved to <button tabindex="0" type="button" role="option" id="id-…>…</button> - unexpected value "visible" 51 | } ); 52 | > 53 | await expect( miniCartButton ).toBeHidden(); | ^ 54 | } ); 55 | } ); 56 | } ); at /home/runner/work/woocommerce/woocommerce/plugins/woocommerce-blocks/tests/e2e/tests/mini-cart/mini-cart-block.merchant.classic_theme.spec.ts:53:35
[blockThemeWithGlobalSideEffects] › checkout/order-confirmation.block_theme.side_effects.spec.ts:59:2 › Shopper → Order Confirmation (logged in user) › Place order as a logged in user: plugins/woocommerce-blocks/tests/e2e/utils/local-pickup/local-pickup-utils.page.ts#L27
1) [blockThemeWithGlobalSideEffects] › checkout/order-confirmation.block_theme.side_effects.spec.ts:59:2 › Shopper → Order Confirmation (logged in user) › Place order as a logged in user Error: Not logged in at ../utils/local-pickup/local-pickup-utils.page.ts:27 25 | 26 | async openLocalPickupSettings() { > 27 | await this.admin.visitAdminPage( | ^ 28 | 'admin.php', 29 | 'page=wc-settings&tab=shipping&section=pickup_location' 30 | ); at Admin.visitAdminPage (/home/runner/work/woocommerce/woocommerce/node_modules/.pnpm/@WordPress+e2e-test-utils-playwright@0.10.13_@playwright+test@1.38.1_typescript@5.3.2/node_modules/@wordpress/e2e-test-utils-playwright/src/admin/visit-admin-page.ts:36:9) at LocalPickupUtils.openLocalPickupSettings (/home/runner/work/woocommerce/woocommerce/plugins/woocommerce-blocks/tests/e2e/utils/local-pickup/local-pickup-utils.page.ts:27:3) at LocalPickupUtils.disableLocalPickup (/home/runner/work/woocommerce/woocommerce/plugins/woocommerce-blocks/tests/e2e/utils/local-pickup/local-pickup-utils.page.ts:46:3) at /home/runner/work/woocommerce/woocommerce/plugins/woocommerce-blocks/tests/e2e/tests/checkout/order-confirmation.block_theme.side_effects.spec.ts:44:3
[blockThemeWithGlobalSideEffects] › checkout/order-confirmation.block_theme.side_effects.spec.ts:59:2 › Shopper → Order Confirmation (logged in user) › Place order as a logged in user: plugins/woocommerce-blocks/tests/e2e/utils/local-pickup/local-pickup-utils.page.ts#L27
1) [blockThemeWithGlobalSideEffects] › checkout/order-confirmation.block_theme.side_effects.spec.ts:59:2 › Shopper → Order Confirmation (logged in user) › Place order as a logged in user Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Not logged in at ../utils/local-pickup/local-pickup-utils.page.ts:27 25 | 26 | async openLocalPickupSettings() { > 27 | await this.admin.visitAdminPage( | ^ 28 | 'admin.php', 29 | 'page=wc-settings&tab=shipping&section=pickup_location' 30 | ); at Admin.visitAdminPage (/home/runner/work/woocommerce/woocommerce/node_modules/.pnpm/@WordPress+e2e-test-utils-playwright@0.10.13_@playwright+test@1.38.1_typescript@5.3.2/node_modules/@wordpress/e2e-test-utils-playwright/src/admin/visit-admin-page.ts:36:9) at LocalPickupUtils.openLocalPickupSettings (/home/runner/work/woocommerce/woocommerce/plugins/woocommerce-blocks/tests/e2e/utils/local-pickup/local-pickup-utils.page.ts:27:3) at LocalPickupUtils.disableLocalPickup (/home/runner/work/woocommerce/woocommerce/plugins/woocommerce-blocks/tests/e2e/utils/local-pickup/local-pickup-utils.page.ts:46:3) at /home/runner/work/woocommerce/woocommerce/plugins/woocommerce-blocks/tests/e2e/tests/checkout/order-confirmation.block_theme.side_effects.spec.ts:44:3
[blockThemeWithGlobalSideEffects] › checkout/order-confirmation.block_theme.side_effects.spec.ts:59:2 › Shopper → Order Confirmation (logged in user) › Place order as a logged in user: plugins/woocommerce-blocks/tests/e2e/utils/local-pickup/local-pickup-utils.page.ts#L27
1) [blockThemeWithGlobalSideEffects] › checkout/order-confirmation.block_theme.side_effects.spec.ts:59:2 › Shopper → Order Confirmation (logged in user) › Place order as a logged in user Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Not logged in at ../utils/local-pickup/local-pickup-utils.page.ts:27 25 | 26 | async openLocalPickupSettings() { > 27 | await this.admin.visitAdminPage( | ^ 28 | 'admin.php', 29 | 'page=wc-settings&tab=shipping&section=pickup_location' 30 | ); at Admin.visitAdminPage (/home/runner/work/woocommerce/woocommerce/node_modules/.pnpm/@WordPress+e2e-test-utils-playwright@0.10.13_@playwright+test@1.38.1_typescript@5.3.2/node_modules/@wordpress/e2e-test-utils-playwright/src/admin/visit-admin-page.ts:36:9) at LocalPickupUtils.openLocalPickupSettings (/home/runner/work/woocommerce/woocommerce/plugins/woocommerce-blocks/tests/e2e/utils/local-pickup/local-pickup-utils.page.ts:27:3) at LocalPickupUtils.disableLocalPickup (/home/runner/work/woocommerce/woocommerce/plugins/woocommerce-blocks/tests/e2e/utils/local-pickup/local-pickup-utils.page.ts:46:3) at /home/runner/work/woocommerce/woocommerce/plugins/woocommerce-blocks/tests/e2e/tests/checkout/order-confirmation.block_theme.side_effects.spec.ts:44:3
[blockThemeWithGlobalSideEffects] › checkout/order-confirmation.block_theme.side_effects.spec.ts:133:2 › Shopper → Order Confirmation (guest user) › Place order as guest user: plugins/woocommerce-blocks/tests/e2e/tests/checkout/checkout.page.ts#L225
2) [blockThemeWithGlobalSideEffects] › checkout/order-confirmation.block_theme.side_effects.spec.ts:133:2 › Shopper → Order Confirmation (guest user) › Place order as guest user Error: locator.fill: value: expected string, got undefined at checkout/checkout.page.ts:225 223 | 224 | if ( await companyInputField.isVisible() ) { > 225 | await companyInputField.fill( customerShippingDetails.company ); | ^ 226 | } 227 | 228 | const firstName = shippingForm.getByLabel( 'First name' ); at CheckoutPage.fillShippingDetails (/home/runner/work/woocommerce/woocommerce/plugins/woocommerce-blocks/tests/e2e/tests/checkout/checkout.page.ts:225:28) at CheckoutPage.fillInCheckoutWithTestData (/home/runner/work/woocommerce/woocommerce/plugins/woocommerce-blocks/tests/e2e/tests/checkout/checkout.page.ts:72:4) at /home/runner/work/woocommerce/woocommerce/plugins/woocommerce-blocks/tests/e2e/tests/checkout/order-confirmation.block_theme.side_effects.spec.ts:157:3
[blockThemeWithGlobalSideEffects] › checkout/order-confirmation.block_theme.side_effects.spec.ts:133:2 › Shopper → Order Confirmation (guest user) › Place order as guest user: plugins/woocommerce-blocks/tests/e2e/tests/checkout/checkout.page.ts#L225
2) [blockThemeWithGlobalSideEffects] › checkout/order-confirmation.block_theme.side_effects.spec.ts:133:2 › Shopper → Order Confirmation (guest user) › Place order as guest user Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.fill: value: expected string, got undefined at checkout/checkout.page.ts:225 223 | 224 | if ( await companyInputField.isVisible() ) { > 225 | await companyInputField.fill( customerShippingDetails.company ); | ^ 226 | } 227 | 228 | const firstName = shippingForm.getByLabel( 'First name' ); at CheckoutPage.fillShippingDetails (/home/runner/work/woocommerce/woocommerce/plugins/woocommerce-blocks/tests/e2e/tests/checkout/checkout.page.ts:225:28) at CheckoutPage.fillInCheckoutWithTestData (/home/runner/work/woocommerce/woocommerce/plugins/woocommerce-blocks/tests/e2e/tests/checkout/checkout.page.ts:72:4) at /home/runner/work/woocommerce/woocommerce/plugins/woocommerce-blocks/tests/e2e/tests/checkout/order-confirmation.block_theme.side_effects.spec.ts:157:3
[blockThemeWithGlobalSideEffects] › checkout/order-confirmation.block_theme.side_effects.spec.ts:133:2 › Shopper → Order Confirmation (guest user) › Place order as guest user: plugins/woocommerce-blocks/tests/e2e/tests/checkout/checkout.page.ts#L225
2) [blockThemeWithGlobalSideEffects] › checkout/order-confirmation.block_theme.side_effects.spec.ts:133:2 › Shopper → Order Confirmation (guest user) › Place order as guest user Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.fill: value: expected string, got undefined at checkout/checkout.page.ts:225 223 | 224 | if ( await companyInputField.isVisible() ) { > 225 | await companyInputField.fill( customerShippingDetails.company ); | ^ 226 | } 227 | 228 | const firstName = shippingForm.getByLabel( 'First name' ); at CheckoutPage.fillShippingDetails (/home/runner/work/woocommerce/woocommerce/plugins/woocommerce-blocks/tests/e2e/tests/checkout/checkout.page.ts:225:28) at CheckoutPage.fillInCheckoutWithTestData (/home/runner/work/woocommerce/woocommerce/plugins/woocommerce-blocks/tests/e2e/tests/checkout/checkout.page.ts:72:4) at /home/runner/work/woocommerce/woocommerce/plugins/woocommerce-blocks/tests/e2e/tests/checkout/order-confirmation.block_theme.side_effects.spec.ts:157:3
[blockThemeWithGlobalSideEffects] › checkout/order-confirmation.block_theme.side_effects.spec.ts:169:2 › Shopper → Order Confirmation → Local Pickup › Confirm shipping address section is hidden: plugins/woocommerce-blocks/tests/e2e/tests/checkout/order-confirmation.block_theme.side_effects.spec.ts#L174
3) [blockThemeWithGlobalSideEffects] › checkout/order-confirmation.block_theme.side_effects.spec.ts:169:2 › Shopper → Order Confirmation → Local Pickup › Confirm shipping address section is hidden, but billing is visible Error: Not logged in 172 | admin, 173 | } ) => { > 174 | await admin.visitAdminPage( | ^ 175 | 'admin.php', 176 | 'page=wc-settings&tab=shipping&section=pickup_location' 177 | ); at Admin.visitAdminPage (/home/runner/work/woocommerce/woocommerce/node_modules/.pnpm/@WordPress+e2e-test-utils-playwright@0.10.13_@playwright+test@1.38.1_typescript@5.3.2/node_modules/@wordpress/e2e-test-utils-playwright/src/admin/visit-admin-page.ts:36:9) at /home/runner/work/woocommerce/woocommerce/plugins/woocommerce-blocks/tests/e2e/tests/checkout/order-confirmation.block_theme.side_effects.spec.ts:174:3
[blockThemeWithGlobalSideEffects] › checkout/order-confirmation.block_theme.side_effects.spec.ts:169:2 › Shopper → Order Confirmation → Local Pickup › Confirm shipping address section is hidden: plugins/woocommerce-blocks/tests/e2e/tests/checkout/order-confirmation.block_theme.side_effects.spec.ts#L174
3) [blockThemeWithGlobalSideEffects] › checkout/order-confirmation.block_theme.side_effects.spec.ts:169:2 › Shopper → Order Confirmation → Local Pickup › Confirm shipping address section is hidden, but billing is visible Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Not logged in 172 | admin, 173 | } ) => { > 174 | await admin.visitAdminPage( | ^ 175 | 'admin.php', 176 | 'page=wc-settings&tab=shipping&section=pickup_location' 177 | ); at Admin.visitAdminPage (/home/runner/work/woocommerce/woocommerce/node_modules/.pnpm/@WordPress+e2e-test-utils-playwright@0.10.13_@playwright+test@1.38.1_typescript@5.3.2/node_modules/@wordpress/e2e-test-utils-playwright/src/admin/visit-admin-page.ts:36:9) at /home/runner/work/woocommerce/woocommerce/plugins/woocommerce-blocks/tests/e2e/tests/checkout/order-confirmation.block_theme.side_effects.spec.ts:174:3
[blockThemeWithGlobalSideEffects] › checkout/order-confirmation.block_theme.side_effects.spec.ts:169:2 › Shopper → Order Confirmation → Local Pickup › Confirm shipping address section is hidden: plugins/woocommerce-blocks/tests/e2e/tests/checkout/order-confirmation.block_theme.side_effects.spec.ts#L174
3) [blockThemeWithGlobalSideEffects] › checkout/order-confirmation.block_theme.side_effects.spec.ts:169:2 › Shopper → Order Confirmation → Local Pickup › Confirm shipping address section is hidden, but billing is visible Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Not logged in 172 | admin, 173 | } ) => { > 174 | await admin.visitAdminPage( | ^ 175 | 'admin.php', 176 | 'page=wc-settings&tab=shipping&section=pickup_location' 177 | ); at Admin.visitAdminPage (/home/runner/work/woocommerce/woocommerce/node_modules/.pnpm/@WordPress+e2e-test-utils-playwright@0.10.13_@playwright+test@1.38.1_typescript@5.3.2/node_modules/@wordpress/e2e-test-utils-playwright/src/admin/visit-admin-page.ts:36:9) at /home/runner/work/woocommerce/woocommerce/plugins/woocommerce-blocks/tests/e2e/tests/checkout/order-confirmation.block_theme.side_effects.spec.ts:174:3
[blockThemeWithGlobalSideEffects] › checkout/order-confirmation.block_theme.side_effects.spec.ts:230:2 › Shopper → Order Confirmation → Downloadable Products › Confirm shipping address section is hidden: plugins/woocommerce-blocks/tests/e2e/tests/checkout/checkout.page.ts#L172
4) [blockThemeWithGlobalSideEffects] › checkout/order-confirmation.block_theme.side_effects.spec.ts:230:2 › Shopper → Order Confirmation → Downloadable Products › Confirm shipping address section is hidden, but billing is visible Error: locator.fill: value: expected string, got undefined at checkout/checkout.page.ts:172 170 | 171 | if ( await companyInputField.isVisible() ) { > 172 | await companyInputField.fill( customerBillingDetails.company ); | ^ 173 | } 174 | 175 | const email = this.page.getByLabel( 'Email address' ); at CheckoutPage.fillBillingDetails (/home/runner/work/woocommerce/woocommerce/plugins/woocommerce-blocks/tests/e2e/tests/checkout/checkout.page.ts:172:28) at CheckoutPage.fillInCheckoutWithTestData (/home/runner/work/woocommerce/woocommerce/plugins/woocommerce-blocks/tests/e2e/tests/checkout/checkout.page.ts:75:4) at /home/runner/work/woocommerce/woocommerce/plugins/woocommerce-blocks/tests/e2e/tests/checkout/order-confirmation.block_theme.side_effects.spec.ts:225:3
[blockThemeWithGlobalSideEffects] › price-filter/price-filter.block_theme.side_effects.spec.ts:58:6 › woocommerce/price-filter Block - with All products Block › should show only products that match the filter: plugins/woocommerce-blocks/tests/e2e/tests/price-filter/price-filter.block_theme.side_effects.spec.ts#L100
1) [blockThemeWithGlobalSideEffects] › price-filter/price-filter.block_theme.side_effects.spec.ts:58:6 › woocommerce/price-filter Block - with All products Block › should show only products that match the filter Error: Timed out 20000ms waiting for expect(received).toHaveCount(expected) // deep equality Expected: 1 Received: 2 Call log: - expect.toHaveCount with timeout 20000ms - waiting for locator('[data-block-name="woocommerce/all-products"]').getByRole('listitem') - locator resolved to 9 elements - unexpected value "9" - locator resolved to 9 elements - unexpected value "9" - locator resolved to 9 elements - unexpected value "9" - locator resolved to 9 elements - unexpected value "9" - locator resolved to 2 elements - unexpected value "2" - locator resolved to 2 elements - unexpected value "2" - locator resolved to 2 elements - unexpected value "2" - locator resolved to 2 elements - unexpected value "2" - locator resolved to 2 elements - unexpected value "2" - locator resolved to 2 elements - unexpected value "2" - locator resolved to 2 elements - unexpected value "2" - locator resolved to 2 elements - unexpected value "2" - locator resolved to 2 elements - unexpected value "2" - locator resolved to 2 elements - unexpected value "2" - locator resolved to 2 elements - unexpected value "2" - locator resolved to 2 elements - unexpected value "2" - locator resolved to 2 elements - unexpected value "2" - locator resolved to 2 elements - unexpected value "2" - locator resolved to 2 elements - unexpected value "2" - locator resolved to 2 elements - unexpected value "2" - locator resolved to 2 elements - unexpected value "2" - locator resolved to 2 elements - unexpected value "2" - locator resolved to 2 elements - unexpected value "2" - locator resolved to 2 elements - unexpected value "2" 98 | const allProducts = allProductsBlock.getByRole( 'listitem' ); 99 | > 100 | await expect( allProducts ).toHaveCount( 1 ); | ^ 101 | expect( page.url() ).toContain( 102 | blockData.urlSearchParamWhenFilterIsApplied 103 | ); at /home/runner/work/woocommerce/woocommerce/plugins/woocommerce-blocks/tests/e2e/tests/price-filter/price-filter.block_theme.side_effects.spec.ts:100:31
[blockThemeWithGlobalSideEffects] › price-filter/price-filter.block_theme.side_effects.spec.ts:58:6 › woocommerce/price-filter Block - with All products Block › should show only products that match the filter: plugins/woocommerce-blocks/tests/e2e/tests/price-filter/price-filter.block_theme.side_effects.spec.ts#L100
1) [blockThemeWithGlobalSideEffects] › price-filter/price-filter.block_theme.side_effects.spec.ts:58:6 › woocommerce/price-filter Block - with All products Block › should show only products that match the filter Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 20000ms waiting for expect(received).toHaveCount(expected) // deep equality Expected: 1 Received: 2 Call log: - expect.toHaveCount with timeout 20000ms - waiting for locator('[data-block-name="woocommerce/all-products"]').getByRole('listitem') - locator resolved to 9 elements - unexpected value "9" - locator resolved to 9 elements - unexpected value "9" - locator resolved to 9 elements - unexpected value "9" - locator resolved to 9 elements - unexpected value "9" - locator resolved to 2 elements - unexpected value "2" - locator resolved to 2 elements - unexpected value "2" - locator resolved to 2 elements - unexpected value "2" - locator resolved to 2 elements - unexpected value "2" - locator resolved to 2 elements - unexpected value "2" - locator resolved to 2 elements - unexpected value "2" - locator resolved to 2 elements - unexpected value "2" - locator resolved to 2 elements - unexpected value "2" - locator resolved to 2 elements - unexpected value "2" - locator resolved to 2 elements - unexpected value "2" - locator resolved to 2 elements - unexpected value "2" - locator resolved to 2 elements - unexpected value "2" - locator resolved to 2 elements - unexpected value "2" - locator resolved to 2 elements - unexpected value "2" - locator resolved to 2 elements - unexpected value "2" - locator resolved to 2 elements - unexpected value "2" - locator resolved to 2 elements - unexpected value "2" - locator resolved to 2 elements - unexpected value "2" - locator resolved to 2 elements - unexpected value "2" - locator resolved to 2 elements - unexpected value "2" 98 | const allProducts = allProductsBlock.getByRole( 'listitem' ); 99 | > 100 | await expect( allProducts ).toHaveCount( 1 ); | ^ 101 | expect( page.url() ).toContain( 102 | blockData.urlSearchParamWhenFilterIsApplied 103 | ); at /home/runner/work/woocommerce/woocommerce/plugins/woocommerce-blocks/tests/e2e/tests/price-filter/price-filter.block_theme.side_effects.spec.ts:100:31
[blockThemeWithGlobalSideEffects] › price-filter/price-filter.block_theme.side_effects.spec.ts:58:6 › woocommerce/price-filter Block - with All products Block › should show only products that match the filter: plugins/woocommerce-blocks/tests/e2e/tests/price-filter/price-filter.block_theme.side_effects.spec.ts#L100
1) [blockThemeWithGlobalSideEffects] › price-filter/price-filter.block_theme.side_effects.spec.ts:58:6 › woocommerce/price-filter Block - with All products Block › should show only products that match the filter Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 20000ms waiting for expect(received).toHaveCount(expected) // deep equality Expected: 1 Received: 2 Call log: - expect.toHaveCount with timeout 20000ms - waiting for locator('[data-block-name="woocommerce/all-products"]').getByRole('listitem') - locator resolved to 9 elements - unexpected value "9" - locator resolved to 9 elements - unexpected value "9" - locator resolved to 9 elements - unexpected value "9" - locator resolved to 9 elements - unexpected value "9" - locator resolved to 2 elements - unexpected value "2" - locator resolved to 2 elements - unexpected value "2" - locator resolved to 2 elements - unexpected value "2" - locator resolved to 2 elements - unexpected value "2" - locator resolved to 2 elements - unexpected value "2" - locator resolved to 2 elements - unexpected value "2" - locator resolved to 2 elements - unexpected value "2" - locator resolved to 2 elements - unexpected value "2" - locator resolved to 2 elements - unexpected value "2" - locator resolved to 2 elements - unexpected value "2" - locator resolved to 2 elements - unexpected value "2" - locator resolved to 2 elements - unexpected value "2" - locator resolved to 2 elements - unexpected value "2" - locator resolved to 2 elements - unexpected value "2" - locator resolved to 2 elements - unexpected value "2" - locator resolved to 2 elements - unexpected value "2" - locator resolved to 2 elements - unexpected value "2" - locator resolved to 2 elements - unexpected value "2" - locator resolved to 2 elements - unexpected value "2" - locator resolved to 2 elements - unexpected value "2" 98 | const allProducts = allProductsBlock.getByRole( 'listitem' ); 99 | > 100 | await expect( allProducts ).toHaveCount( 1 ); | ^ 101 | expect( page.url() ).toContain( 102 | blockData.urlSearchParamWhenFilterIsApplied 103 | ); at /home/runner/work/woocommerce/woocommerce/plugins/woocommerce-blocks/tests/e2e/tests/price-filter/price-filter.block_theme.side_effects.spec.ts:100:31
[blockThemeWithGlobalSideEffects] › price-filter/price-filter.block_theme.side_effects.spec.ts:138:6 › woocommerce/price-filter Block - with PHP classic template › should show all products: plugins/woocommerce-blocks/tests/e2e/tests/price-filter/price-filter.block_theme.side_effects.spec.ts#L150
2) [blockThemeWithGlobalSideEffects] › price-filter/price-filter.block_theme.side_effects.spec.ts:138:6 › woocommerce/price-filter Block - with PHP classic template › should show all products Error: expect(received).toHaveLength(expected) Expected length: 16 Received length: 12 Received array: [{"_frame": {"_guid": "frame@a38e535ec683718c513b771620f482e5", "_type": "Frame"}, "_selector": "[data-block-name=\"woocommerce/legacy-template\"] >> internal:role=list >> .product >> nth=0"}, {"_frame": {"_guid": "frame@a38e535ec683718c513b771620f482e5", "_type": "Frame"}, "_selector": "[data-block-name=\"woocommerce/legacy-template\"] >> internal:role=list >> .product >> nth=1"}, {"_frame": {"_guid": "frame@a38e535ec683718c513b771620f482e5", "_type": "Frame"}, "_selector": "[data-block-name=\"woocommerce/legacy-template\"] >> internal:role=list >> .product >> nth=2"}, {"_frame": {"_guid": "frame@a38e535ec683718c513b771620f482e5", "_type": "Frame"}, "_selector": "[data-block-name=\"woocommerce/legacy-template\"] >> internal:role=list >> .product >> nth=3"}, {"_frame": {"_guid": "frame@a38e535ec683718c513b771620f482e5", "_type": "Frame"}, "_selector": "[data-block-name=\"woocommerce/legacy-template\"] >> internal:role=list >> .product >> nth=4"}, {"_frame": {"_guid": "frame@a38e535ec683718c513b771620f482e5", "_type": "Frame"}, "_selector": "[data-block-name=\"woocommerce/legacy-template\"] >> internal:role=list >> .product >> nth=5"}, {"_frame": {"_guid": "frame@a38e535ec683718c513b771620f482e5", "_type": "Frame"}, "_selector": "[data-block-name=\"woocommerce/legacy-template\"] >> internal:role=list >> .product >> nth=6"}, {"_frame": {"_guid": "frame@a38e535ec683718c513b771620f482e5", "_type": "Frame"}, "_selector": "[data-block-name=\"woocommerce/legacy-template\"] >> internal:role=list >> .product >> nth=7"}, {"_frame": {"_guid": "frame@a38e535ec683718c513b771620f482e5", "_type": "Frame"}, "_selector": "[data-block-name=\"woocommerce/legacy-template\"] >> internal:role=list >> .product >> nth=8"}, {"_frame": {"_guid": "frame@a38e535ec683718c513b771620f482e5", "_type": "Frame"}, "_selector": "[data-block-name=\"woocommerce/legacy-template\"] >> internal:role=list >> .product >> nth=9"}, …] 148 | .all(); 149 | > 150 | expect( products ).toHaveLength( 16 ); | ^ 151 | } ); 152 | 153 | // eslint-disable-next-line playwright/no-skipped-test at /home/runner/work/woocommerce/woocommerce/plugins/woocommerce-blocks/tests/e2e/tests/price-filter/price-filter.block_theme.side_effects.spec.ts:150:22
[blockThemeWithGlobalSideEffects] › price-filter/price-filter.block_theme.side_effects.spec.ts:138:6 › woocommerce/price-filter Block - with PHP classic template › should show all products: plugins/woocommerce-blocks/tests/e2e/tests/price-filter/price-filter.block_theme.side_effects.spec.ts#L150
2) [blockThemeWithGlobalSideEffects] › price-filter/price-filter.block_theme.side_effects.spec.ts:138:6 › woocommerce/price-filter Block - with PHP classic template › should show all products Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toHaveLength(expected) Expected length: 16 Received length: 0 Received array: [] 148 | .all(); 149 | > 150 | expect( products ).toHaveLength( 16 ); | ^ 151 | } ); 152 | 153 | // eslint-disable-next-line playwright/no-skipped-test at /home/runner/work/woocommerce/woocommerce/plugins/woocommerce-blocks/tests/e2e/tests/price-filter/price-filter.block_theme.side_effects.spec.ts:150:22
Playwright E2E tests - SideEffects
Process completed with exit code 1.
[blockTheme] › templates/template-customization.block_theme.spec.ts:22:7 › Products by Tag template › can be modified and reverted: plugins/woocommerce-blocks/tests/e2e/tests/templates/template-customization.block_theme.spec.ts#L1
1) [blockTheme] › templates/template-customization.block_theme.spec.ts:22:7 › Products by Tag template › can be modified and reverted Test timeout of 90000ms exceeded.
[blockTheme] › templates/template-customization.block_theme.spec.ts:22:7 › Products by Tag template › can be modified and reverted: plugins/woocommerce-blocks/tests/e2e/utils/editor/editor-utils.page.ts#L415
1) [blockTheme] › templates/template-customization.block_theme.spec.ts:22:7 › Products by Tag template › can be modified and reverted Error: locator.waitFor: Page closed =========================== logs =========================== waiting for getByRole('heading', { name: 'Editing template: Products by Tag' }) to be visible ============================================================ at ../utils/editor/editor-utils.page.ts:415 413 | name: `Editing ${ templateTypeName }: ${ templateName }`, 414 | } ) > 415 | .waitFor(); | ^ 416 | } 417 | 418 | async revertTemplateCreation( templateName: string ) { at EditorUtils.visitTemplateEditor (/home/runner/work/woocommerce/woocommerce/plugins/woocommerce-blocks/tests/e2e/utils/editor/editor-utils.page.ts:415:5) at /home/runner/work/woocommerce/woocommerce/plugins/woocommerce-blocks/tests/e2e/tests/templates/template-customization.block_theme.spec.ts:29:4
🎭 Playwright Run Summary
1 flaky [classicTheme] › mini-cart/mini-cart-block.merchant.classic_theme.spec.ts:40:7 › Merchant → Mini Cart › in widget editor › can only be inserted once 8 passed (1.4m)
🎭 Playwright Run Summary
15 passed (2.9m)
🎭 Playwright Run Summary
11 failed [blockThemeWithGlobalSideEffects] › checkout/order-confirmation.block_theme.side_effects.spec.ts:59:2 › Shopper → Order Confirmation (logged in user) › Place order as a logged in user [blockThemeWithGlobalSideEffects] › checkout/order-confirmation.block_theme.side_effects.spec.ts:133:2 › Shopper → Order Confirmation (guest user) › Place order as guest user [blockThemeWithGlobalSideEffects] › checkout/order-confirmation.block_theme.side_effects.spec.ts:169:2 › Shopper → Order Confirmation → Local Pickup › Confirm shipping address section is hidden, but billing is visible [blockThemeWithGlobalSideEffects] › checkout/order-confirmation.block_theme.side_effects.spec.ts:230:2 › Shopper → Order Confirmation → Downloadable Products › Confirm shipping address section is hidden, but billing is visible [blockThemeWithGlobalSideEffects] › checkout/order-confirmation.block_theme.side_effects.spec.ts:241:2 › Shopper → Order Confirmation → Downloadable Products › Confirm order downloads are visible [blockThemeWithGlobalSideEffects] › classic-template/classic-template.block_theme.side_effects.spec.ts:68:7 › woocommerce/legacy-template Block › is rendered on Single Product template [blockThemeWithGlobalSideEffects] › classic-template/classic-template.block_theme.side_effects.spec.ts:68:7 › woocommerce/legacy-template Block › is rendered on Product Category template [blockThemeWithGlobalSideEffects] › classic-template/classic-template.block_theme.side_effects.spec.ts:68:7 › woocommerce/legacy-template Block › is rendered on Product Catalog template [blockThemeWithGlobalSideEffects] › classic-template/classic-template.block_theme.side_effects.spec.ts:68:7 › woocommerce/legacy-template Block › is rendered on Product Search Results template [blockThemeWithGlobalSideEffects] › mini-cart/mini-cart-block.merchant.block_theme.side_effects.spec.ts:25:7 › Merchant → Mini Cart › in FSE editor › can be inserted in FSE area [blockThemeWithGlobalSideEffects] › mini-cart/mini-cart-block.merchant.block_theme.side_effects.spec.ts:45:7 › Merchant → Mini Cart › in FSE editor › can only be inserted once 4 skipped 27 passed (5.1m)
🎭 Playwright Run Summary
2 skipped 50 passed (5.6m)
🎭 Playwright Run Summary
50 passed (5.3m)
🎭 Playwright Run Summary
1 failed [blockThemeWithGlobalSideEffects] › price-filter/price-filter.block_theme.side_effects.spec.ts:58:6 › woocommerce/price-filter Block - with All products Block › should show only products that match the filter 1 flaky [blockThemeWithGlobalSideEffects] › price-filter/price-filter.block_theme.side_effects.spec.ts:138:6 › woocommerce/price-filter Block - with PHP classic template › should show all products 9 skipped 32 passed (7.3m)
🎭 Playwright Run Summary
1 flaky [blockTheme] › templates/template-customization.block_theme.spec.ts:22:7 › Products by Tag template › can be modified and reverted 36 passed (7.8m)
🎭 Playwright Run Summary
40 passed (9.2m)
Playwright E2E tests - Classic
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Slow Test: plugins/woocommerce-blocks/[classicTheme] › mini-cart/mini-cart-block.merchant.classic_theme.spec.ts#L1
plugins/woocommerce-blocks/[classicTheme] › mini-cart/mini-cart-block.merchant.classic_theme.spec.ts took 31.4s
Slow Test: plugins/woocommerce-blocks/[classicTheme] › cart/cart-checkout-block-notices.shopper.classic_theme.spec.ts#L1
plugins/woocommerce-blocks/[classicTheme] › cart/cart-checkout-block-notices.shopper.classic_theme.spec.ts took 28.0s
Playwright E2E tests - BlockThemeWithTemplates
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Playwright E2E tests - SideEffects
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Slow Test: plugins/woocommerce-blocks/[blockThemeWithGlobalSideEffects] › checkout/checkout-block.shopper.block_theme.side_effects.spec.ts#L1
plugins/woocommerce-blocks/[blockThemeWithGlobalSideEffects] › checkout/checkout-block.shopper.block_theme.side_effects.spec.ts took 1.2m
Slow Test: plugins/woocommerce-blocks/[blockThemeWithGlobalSideEffects] › checkout/order-confirmation.block_theme.side_effects.spec.ts#L1
plugins/woocommerce-blocks/[blockThemeWithGlobalSideEffects] › checkout/order-confirmation.block_theme.side_effects.spec.ts took 33.9s
Slow Test: plugins/woocommerce-blocks/[blockThemeWithGlobalSideEffects] › cart/cart-checkout-block-notices.shopper.block_theme.side_effects.spec.ts#L1
plugins/woocommerce-blocks/[blockThemeWithGlobalSideEffects] › cart/cart-checkout-block-notices.shopper.block_theme.side_effects.spec.ts took 27.6s
Slow Test: plugins/woocommerce-blocks/[blockThemeWithGlobalSideEffects] › cart/cart-block.shopper.block_theme.side_effects.spec.ts#L1
plugins/woocommerce-blocks/[blockThemeWithGlobalSideEffects] › cart/cart-block.shopper.block_theme.side_effects.spec.ts took 27.1s
Playwright E2E tests - Normal
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Slow Test: plugins/woocommerce-blocks/[blockTheme] › product-collection/product-collection.block_theme.spec.ts#L1
plugins/woocommerce-blocks/[blockTheme] › product-collection/product-collection.block_theme.spec.ts took 5.0m
Slow Test: plugins/woocommerce-blocks/[blockTheme] › mini-cart/mini-cart.block_theme.spec.ts#L1
plugins/woocommerce-blocks/[blockTheme] › mini-cart/mini-cart.block_theme.spec.ts took 21.3s
Playwright E2E tests - Normal
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Slow Test: plugins/woocommerce-blocks/[blockTheme] › checkout/checkout-block.merchant.block_theme.spec.ts#L1
plugins/woocommerce-blocks/[blockTheme] › checkout/checkout-block.merchant.block_theme.spec.ts took 1.4m
Slow Test: plugins/woocommerce-blocks/[blockTheme] › local-pickup/local-pickup.merchant.block_theme.spec.ts#L1
plugins/woocommerce-blocks/[blockTheme] › local-pickup/local-pickup.merchant.block_theme.spec.ts took 54.2s
Slow Test: plugins/woocommerce-blocks/[blockTheme] › cart/cart-checkout-block-coupons.shopper.block_theme.spec.ts#L1
plugins/woocommerce-blocks/[blockTheme] › cart/cart-checkout-block-coupons.shopper.block_theme.spec.ts took 30.2s
Slow Test: plugins/woocommerce-blocks/[blockTheme] › cart/cart-block.merchant.block_theme.spec.ts#L1
plugins/woocommerce-blocks/[blockTheme] › cart/cart-block.merchant.block_theme.spec.ts took 27.4s
Slow Test: plugins/woocommerce-blocks/[blockTheme] › add-to-cart-form/add-to-cart-form.block_theme.spec.ts#L1
plugins/woocommerce-blocks/[blockTheme] › add-to-cart-form/add-to-cart-form.block_theme.spec.ts took 23.4s
Playwright E2E tests - SideEffects
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Slow Test: plugins/woocommerce-blocks/[blockThemeWithGlobalSideEffects] › price-filter/price-filter.block_theme.side_effects.spec.ts#L1
plugins/woocommerce-blocks/[blockThemeWithGlobalSideEffects] › price-filter/price-filter.block_theme.side_effects.spec.ts took 2.1m
Slow Test: plugins/woocommerce-blocks/[blockThemeWithGlobalSideEffects] › product-collection/compatibility-layer.block_theme.side_effects.spec.ts#L1
plugins/woocommerce-blocks/[blockThemeWithGlobalSideEffects] › product-collection/compatibility-layer.block_theme.side_effects.spec.ts took 1.7m
Slow Test: plugins/woocommerce-blocks/[blockThemeWithGlobalSideEffects] › on-sale-badge/on-sale-badge-single-product-template.block_theme.side_effects.spec.ts#L1
plugins/woocommerce-blocks/[blockThemeWithGlobalSideEffects] › on-sale-badge/on-sale-badge-single-product-template.block_theme.side_effects.spec.ts took 1.0m
Slow Test: plugins/woocommerce-blocks/[blockThemeWithGlobalSideEffects] › product-gallery/inner-blocks/product-gallery-large-image/product-gallery-large-image.block_theme.side_effects.spec.ts#L1
plugins/woocommerce-blocks/[blockThemeWithGlobalSideEffects] › product-gallery/inner-blocks/product-gallery-large-image/product-gallery-large-image.block_theme.side_effects.spec.ts took 47.9s
Slow Test: plugins/woocommerce-blocks/[blockThemeWithGlobalSideEffects] › page-content-wrapper/page-content-wrapper.block_theme.side_effects.spec.ts#L1
plugins/woocommerce-blocks/[blockThemeWithGlobalSideEffects] › page-content-wrapper/page-content-wrapper.block_theme.side_effects.spec.ts took 18.1s
Playwright E2E tests - Normal
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Slow Test: plugins/woocommerce-blocks/[blockTheme] › templates/template-customization.block_theme.spec.ts#L1
plugins/woocommerce-blocks/[blockTheme] › templates/template-customization.block_theme.spec.ts took 4.9m
Slow Test: plugins/woocommerce-blocks/[blockTheme] › templates/checkout-template.block_theme.spec.ts#L1
plugins/woocommerce-blocks/[blockTheme] › templates/checkout-template.block_theme.spec.ts took 35.4s
Slow Test: plugins/woocommerce-blocks/[blockTheme] › templates/cart-template.block_theme.spec.ts#L1
plugins/woocommerce-blocks/[blockTheme] › templates/cart-template.block_theme.spec.ts took 34.3s
Slow Test: plugins/woocommerce-blocks/[blockTheme] › related-products/related-products.block_theme.spec.ts#L1
plugins/woocommerce-blocks/[blockTheme] › related-products/related-products.block_theme.spec.ts took 22.7s
Slow Test: plugins/woocommerce-blocks/[blockTheme] › templates/single-product-template.block_theme.spec.ts#L1
plugins/woocommerce-blocks/[blockTheme] › templates/single-product-template.block_theme.spec.ts took 21.0s
Playwright E2E tests - SideEffects
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Slow Test: plugins/woocommerce-blocks/[blockThemeWithGlobalSideEffects] › templates/template-customization.block_theme.side_effects.spec.ts#L1
plugins/woocommerce-blocks/[blockThemeWithGlobalSideEffects] › templates/template-customization.block_theme.side_effects.spec.ts took 3.8m
Slow Test: plugins/woocommerce-blocks/[blockThemeWithGlobalSideEffects] › product-gallery/product-gallery.block_theme.side_effects.spec.ts#L1
plugins/woocommerce-blocks/[blockThemeWithGlobalSideEffects] › product-gallery/product-gallery.block_theme.side_effects.spec.ts took 2.2m
Slow Test: plugins/woocommerce-blocks/[blockThemeWithGlobalSideEffects] › product-gallery/inner-blocks/product-gallery-thumbnails/product-gallery-thumbnails.block_theme.side_effects.spec.ts#L1
plugins/woocommerce-blocks/[blockThemeWithGlobalSideEffects] › product-gallery/inner-blocks/product-gallery-thumbnails/product-gallery-thumbnails.block_theme.side_effects.spec.ts took 1.2m
Slow Test: plugins/woocommerce-blocks/[blockThemeWithGlobalSideEffects] › products/products.block_theme.side_effects.spec.ts#L1
plugins/woocommerce-blocks/[blockThemeWithGlobalSideEffects] › products/products.block_theme.side_effects.spec.ts took 46.5s
Slow Test: plugins/woocommerce-blocks/[blockThemeWithGlobalSideEffects] › product-gallery/inner-blocks/product-gallery-pager/product-gallery-pager.block_theme.side_effects.spec.ts#L1
plugins/woocommerce-blocks/[blockThemeWithGlobalSideEffects] › product-gallery/inner-blocks/product-gallery-pager/product-gallery-pager.block_theme.side_effects.spec.ts took 39.6s

Artifacts

Produced during runtime
Name Size
playwright-report-SideEffects Expired
44.1 MB