Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Add/11823 hide filters per collection #7995

Add/11823 hide filters per collection

Add/11823 hide filters per collection #7995

Triggered via pull request December 12, 2023 10:37
Status Failure
Total duration 1h 0m 27s
Artifacts 1

playwright.yml

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

Annotations

13 errors, 5 warnings, and 2 notices
Playwright E2E tests - SideEffects
The job running on runner GitHub Actions 23 has exceeded the maximum execution time of 60 minutes.
[blockThemeWithGlobalSideEffects] › product-collection/compatibility-layer.block_theme.side_effects.spec.ts:117:5 › Compatibility Layer with Product Collection block › Product Archive with Product Collection block › Before Main Content is attached to the page: tests/e2e/tests/product-collection/compatibility-layer.block_theme.side_effects.spec.ts#L109
1) [blockThemeWithGlobalSideEffects] › product-collection/compatibility-layer.block_theme.side_effects.spec.ts:117:5 › Compatibility Layer with Product Collection block › Product Archive with Product Collection block › Before Main Content is attached to the page Test timeout of 90000ms exceeded while running "beforeEach" hook. 107 | 'Product Archive with Product Collection block', 108 | async () => { > 109 | test.beforeEach( async ( { pageObject } ) => { | ^ 110 | await pageObject.replaceProductsWithProductCollectionInTemplate( 111 | 'woocommerce/woocommerce//archive-product' 112 | ); at /home/runner/work/woocommerce-blocks/woocommerce-blocks/tests/e2e/tests/product-collection/compatibility-layer.block_theme.side_effects.spec.ts:109:9
[blockThemeWithGlobalSideEffects] › product-collection/compatibility-layer.block_theme.side_effects.spec.ts:117:5 › Compatibility Layer with Product Collection block › Product Archive with Product Collection block › Before Main Content is attached to the page: tests/e2e/tests/product-collection/product-collection.page.ts#L108
1) [blockThemeWithGlobalSideEffects] › product-collection/compatibility-layer.block_theme.side_effects.spec.ts:117:5 › Compatibility Layer with Product Collection block › Product Archive with Product Collection block › Before Main Content is attached to the page Error: locator.click: Page closed =========================== logs =========================== waiting for frameLocator('iframe[name="editor-canvas"]').getByRole('button', { name: 'Product Catalog Display all products in your catalog. Results may change to match the current template, page, or search term.' }) ============================================================ at product-collection/product-collection.page.ts:108 106 | .frameLocator( 'iframe[name="editor-canvas"]' ) 107 | .getByRole( 'button', { name: buttonName } ) > 108 | .click(); | ^ 109 | } 110 | 111 | async createNewPostAndInsertBlock( collection?: Collections ) { at ProductCollectionPage.chooseCollectionInTemplate (/home/runner/work/woocommerce-blocks/woocommerce-blocks/tests/e2e/tests/product-collection/product-collection.page.ts:108:5) at ProductCollectionPage.replaceProductsWithProductCollectionInTemplate (/home/runner/work/woocommerce-blocks/woocommerce-blocks/tests/e2e/tests/product-collection/product-collection.page.ts:143:14) at /home/runner/work/woocommerce-blocks/woocommerce-blocks/tests/e2e/tests/product-collection/compatibility-layer.block_theme.side_effects.spec.ts:110:5
[blockThemeWithGlobalSideEffects] › product-collection/compatibility-layer.block_theme.side_effects.spec.ts:117:5 › Compatibility Layer with Product Collection block › Product Archive with Product Collection block › Before Main Content is attached to the page: tests/e2e/tests/product-collection/compatibility-layer.block_theme.side_effects.spec.ts#L109
1) [blockThemeWithGlobalSideEffects] › product-collection/compatibility-layer.block_theme.side_effects.spec.ts:117:5 › Compatibility Layer with Product Collection block › Product Archive with Product Collection block › Before Main Content is attached to the page Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 90000ms exceeded while running "beforeEach" hook. 107 | 'Product Archive with Product Collection block', 108 | async () => { > 109 | test.beforeEach( async ( { pageObject } ) => { | ^ 110 | await pageObject.replaceProductsWithProductCollectionInTemplate( 111 | 'woocommerce/woocommerce//archive-product' 112 | ); at /home/runner/work/woocommerce-blocks/woocommerce-blocks/tests/e2e/tests/product-collection/compatibility-layer.block_theme.side_effects.spec.ts:109:9
[blockThemeWithGlobalSideEffects] › product-collection/compatibility-layer.block_theme.side_effects.spec.ts:117:5 › Compatibility Layer with Product Collection block › Product Archive with Product Collection block › Before Main Content is attached to the page: tests/e2e/tests/product-collection/product-collection.page.ts#L108
1) [blockThemeWithGlobalSideEffects] › product-collection/compatibility-layer.block_theme.side_effects.spec.ts:117:5 › Compatibility Layer with Product Collection block › Product Archive with Product Collection block › Before Main Content is attached to the page Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Page closed =========================== logs =========================== waiting for frameLocator('iframe[name="editor-canvas"]').getByRole('button', { name: 'Product Catalog Display all products in your catalog. Results may change to match the current template, page, or search term.' }) ============================================================ at product-collection/product-collection.page.ts:108 106 | .frameLocator( 'iframe[name="editor-canvas"]' ) 107 | .getByRole( 'button', { name: buttonName } ) > 108 | .click(); | ^ 109 | } 110 | 111 | async createNewPostAndInsertBlock( collection?: Collections ) { at ProductCollectionPage.chooseCollectionInTemplate (/home/runner/work/woocommerce-blocks/woocommerce-blocks/tests/e2e/tests/product-collection/product-collection.page.ts:108:5) at ProductCollectionPage.replaceProductsWithProductCollectionInTemplate (/home/runner/work/woocommerce-blocks/woocommerce-blocks/tests/e2e/tests/product-collection/product-collection.page.ts:143:14) at /home/runner/work/woocommerce-blocks/woocommerce-blocks/tests/e2e/tests/product-collection/compatibility-layer.block_theme.side_effects.spec.ts:110:5
[blockThemeWithGlobalSideEffects] › product-collection/compatibility-layer.block_theme.side_effects.spec.ts:117:5 › Compatibility Layer with Product Collection block › Product Archive with Product Collection block › Before Main Content is attached to the page: tests/e2e/tests/product-collection/compatibility-layer.block_theme.side_effects.spec.ts#L109
1) [blockThemeWithGlobalSideEffects] › product-collection/compatibility-layer.block_theme.side_effects.spec.ts:117:5 › Compatibility Layer with Product Collection block › Product Archive with Product Collection block › Before Main Content is attached to the page Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 90000ms exceeded while running "beforeEach" hook. 107 | 'Product Archive with Product Collection block', 108 | async () => { > 109 | test.beforeEach( async ( { pageObject } ) => { | ^ 110 | await pageObject.replaceProductsWithProductCollectionInTemplate( 111 | 'woocommerce/woocommerce//archive-product' 112 | ); at /home/runner/work/woocommerce-blocks/woocommerce-blocks/tests/e2e/tests/product-collection/compatibility-layer.block_theme.side_effects.spec.ts:109:9
[blockThemeWithGlobalSideEffects] › product-collection/compatibility-layer.block_theme.side_effects.spec.ts:117:5 › Compatibility Layer with Product Collection block › Product Archive with Product Collection block › Before Main Content is attached to the page: tests/e2e/tests/product-collection/product-collection.page.ts#L108
1) [blockThemeWithGlobalSideEffects] › product-collection/compatibility-layer.block_theme.side_effects.spec.ts:117:5 › Compatibility Layer with Product Collection block › Product Archive with Product Collection block › Before Main Content is attached to the page Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Page closed =========================== logs =========================== waiting for frameLocator('iframe[name="editor-canvas"]').getByRole('button', { name: 'Product Catalog Display all products in your catalog. Results may change to match the current template, page, or search term.' }) ============================================================ at product-collection/product-collection.page.ts:108 106 | .frameLocator( 'iframe[name="editor-canvas"]' ) 107 | .getByRole( 'button', { name: buttonName } ) > 108 | .click(); | ^ 109 | } 110 | 111 | async createNewPostAndInsertBlock( collection?: Collections ) { at ProductCollectionPage.chooseCollectionInTemplate (/home/runner/work/woocommerce-blocks/woocommerce-blocks/tests/e2e/tests/product-collection/product-collection.page.ts:108:5) at ProductCollectionPage.replaceProductsWithProductCollectionInTemplate (/home/runner/work/woocommerce-blocks/woocommerce-blocks/tests/e2e/tests/product-collection/product-collection.page.ts:143:14) at /home/runner/work/woocommerce-blocks/woocommerce-blocks/tests/e2e/tests/product-collection/compatibility-layer.block_theme.side_effects.spec.ts:110:5
[blockThemeWithGlobalSideEffects] › product-collection/compatibility-layer.block_theme.side_effects.spec.ts:117:5 › Compatibility Layer with Product Collection block › Product Archive with Product Collection block › After Main Content is attached to the page: tests/e2e/tests/product-collection/compatibility-layer.block_theme.side_effects.spec.ts#L109
2) [blockThemeWithGlobalSideEffects] › product-collection/compatibility-layer.block_theme.side_effects.spec.ts:117:5 › Compatibility Layer with Product Collection block › Product Archive with Product Collection block › After Main Content is attached to the page Test timeout of 90000ms exceeded while running "beforeEach" hook. 107 | 'Product Archive with Product Collection block', 108 | async () => { > 109 | test.beforeEach( async ( { pageObject } ) => { | ^ 110 | await pageObject.replaceProductsWithProductCollectionInTemplate( 111 | 'woocommerce/woocommerce//archive-product' 112 | ); at /home/runner/work/woocommerce-blocks/woocommerce-blocks/tests/e2e/tests/product-collection/compatibility-layer.block_theme.side_effects.spec.ts:109:9
[blockThemeWithGlobalSideEffects] › product-collection/compatibility-layer.block_theme.side_effects.spec.ts:117:5 › Compatibility Layer with Product Collection block › Product Archive with Product Collection block › After Main Content is attached to the page: tests/e2e/tests/product-collection/product-collection.page.ts#L108
2) [blockThemeWithGlobalSideEffects] › product-collection/compatibility-layer.block_theme.side_effects.spec.ts:117:5 › Compatibility Layer with Product Collection block › Product Archive with Product Collection block › After Main Content is attached to the page Error: locator.click: Page closed =========================== logs =========================== waiting for frameLocator('iframe[name="editor-canvas"]').getByRole('button', { name: 'Product Catalog Display all products in your catalog. Results may change to match the current template, page, or search term.' }) ============================================================ at product-collection/product-collection.page.ts:108 106 | .frameLocator( 'iframe[name="editor-canvas"]' ) 107 | .getByRole( 'button', { name: buttonName } ) > 108 | .click(); | ^ 109 | } 110 | 111 | async createNewPostAndInsertBlock( collection?: Collections ) { at ProductCollectionPage.chooseCollectionInTemplate (/home/runner/work/woocommerce-blocks/woocommerce-blocks/tests/e2e/tests/product-collection/product-collection.page.ts:108:5) at ProductCollectionPage.replaceProductsWithProductCollectionInTemplate (/home/runner/work/woocommerce-blocks/woocommerce-blocks/tests/e2e/tests/product-collection/product-collection.page.ts:143:14) at /home/runner/work/woocommerce-blocks/woocommerce-blocks/tests/e2e/tests/product-collection/compatibility-layer.block_theme.side_effects.spec.ts:110:5
[blockThemeWithGlobalSideEffects] › product-collection/compatibility-layer.block_theme.side_effects.spec.ts:117:5 › Compatibility Layer with Product Collection block › Product Archive with Product Collection block › After Main Content is attached to the page: tests/e2e/tests/product-collection/compatibility-layer.block_theme.side_effects.spec.ts#L109
2) [blockThemeWithGlobalSideEffects] › product-collection/compatibility-layer.block_theme.side_effects.spec.ts:117:5 › Compatibility Layer with Product Collection block › Product Archive with Product Collection block › After Main Content is attached to the page Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 90000ms exceeded while running "beforeEach" hook. 107 | 'Product Archive with Product Collection block', 108 | async () => { > 109 | test.beforeEach( async ( { pageObject } ) => { | ^ 110 | await pageObject.replaceProductsWithProductCollectionInTemplate( 111 | 'woocommerce/woocommerce//archive-product' 112 | ); at /home/runner/work/woocommerce-blocks/woocommerce-blocks/tests/e2e/tests/product-collection/compatibility-layer.block_theme.side_effects.spec.ts:109:9
[blockThemeWithGlobalSideEffects] › product-collection/compatibility-layer.block_theme.side_effects.spec.ts:117:5 › Compatibility Layer with Product Collection block › Product Archive with Product Collection block › After Main Content is attached to the page: tests/e2e/tests/product-collection/product-collection.page.ts#L108
2) [blockThemeWithGlobalSideEffects] › product-collection/compatibility-layer.block_theme.side_effects.spec.ts:117:5 › Compatibility Layer with Product Collection block › Product Archive with Product Collection block › After Main Content is attached to the page Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Page closed =========================== logs =========================== waiting for frameLocator('iframe[name="editor-canvas"]').getByRole('button', { name: 'Product Catalog Display all products in your catalog. Results may change to match the current template, page, or search term.' }) ============================================================ at product-collection/product-collection.page.ts:108 106 | .frameLocator( 'iframe[name="editor-canvas"]' ) 107 | .getByRole( 'button', { name: buttonName } ) > 108 | .click(); | ^ 109 | } 110 | 111 | async createNewPostAndInsertBlock( collection?: Collections ) { at ProductCollectionPage.chooseCollectionInTemplate (/home/runner/work/woocommerce-blocks/woocommerce-blocks/tests/e2e/tests/product-collection/product-collection.page.ts:108:5) at ProductCollectionPage.replaceProductsWithProductCollectionInTemplate (/home/runner/work/woocommerce-blocks/woocommerce-blocks/tests/e2e/tests/product-collection/product-collection.page.ts:143:14) at /home/runner/work/woocommerce-blocks/woocommerce-blocks/tests/e2e/tests/product-collection/compatibility-layer.block_theme.side_effects.spec.ts:110:5
Playwright E2E tests - Normal
The job running on runner GitHub Actions 22 has exceeded the maximum execution time of 60 minutes.
Playwright E2E tests - Normal
The operation was canceled.
Slow Test: [blockThemeWithGlobalSideEffects] › product-collection/compatibility-layer.block_theme.side_effects.spec.ts#L1
[blockThemeWithGlobalSideEffects] › product-collection/compatibility-layer.block_theme.side_effects.spec.ts took 40.5m
Slow Test: [blockThemeWithGlobalSideEffects] › product-gallery/product-gallery.block_theme.side_effects.spec.ts#L1
[blockThemeWithGlobalSideEffects] › product-gallery/product-gallery.block_theme.side_effects.spec.ts took 1.4m
Slow Test: [blockThemeWithGlobalSideEffects] › product-gallery/inner-blocks/product-gallery-thumbnails/product-gallery-thumbnails.block_theme.side_effects.spec.ts#L1
[blockThemeWithGlobalSideEffects] › product-gallery/inner-blocks/product-gallery-thumbnails/product-gallery-thumbnails.block_theme.side_effects.spec.ts took 1.0m
Slow Test: [blockThemeWithGlobalSideEffects] › checkout/checkout-block.shopper.block_theme.side_effects.spec.ts#L1
[blockThemeWithGlobalSideEffects] › checkout/checkout-block.shopper.block_theme.side_effects.spec.ts took 59.3s
Slow Test: [blockThemeWithGlobalSideEffects] › on-sale-badge/on-sale-badge-single-product-template.block_theme.side_effects.spec.ts#L1
[blockThemeWithGlobalSideEffects] › on-sale-badge/on-sale-badge-single-product-template.block_theme.side_effects.spec.ts took 58.9s
🎭 Playwright Run Summary
3 passed (26.1s)
🎭 Playwright Run Summary
9 failed [blockThemeWithGlobalSideEffects] › product-collection/compatibility-layer.block_theme.side_effects.spec.ts:117:5 › Compatibility Layer with Product Collection block › Product Archive with Product Collection block › Before Main Content is attached to the page [blockThemeWithGlobalSideEffects] › product-collection/compatibility-layer.block_theme.side_effects.spec.ts:117:5 › Compatibility Layer with Product Collection block › Product Archive with Product Collection block › After Main Content is attached to the page [blockThemeWithGlobalSideEffects] › product-collection/compatibility-layer.block_theme.side_effects.spec.ts:117:5 › Compatibility Layer with Product Collection block › Product Archive with Product Collection block › Before Shop Loop is attached to the page [blockThemeWithGlobalSideEffects] › product-collection/compatibility-layer.block_theme.side_effects.spec.ts:117:5 › Compatibility Layer with Product Collection block › Product Archive with Product Collection block › After Shop Loop is attached to the page [blockThemeWithGlobalSideEffects] › product-collection/compatibility-layer.block_theme.side_effects.spec.ts:130:5 › Compatibility Layer with Product Collection block › Product Archive with Product Collection block › Before Shop Loop Item Title is attached to the page [blockThemeWithGlobalSideEffects] › product-collection/compatibility-layer.block_theme.side_effects.spec.ts:130:5 › Compatibility Layer with Product Collection block › Product Archive with Product Collection block › Shop Loop Item Title is attached to the page [blockThemeWithGlobalSideEffects] › product-collection/compatibility-layer.block_theme.side_effects.spec.ts:130:5 › Compatibility Layer with Product Collection block › Product Archive with Product Collection block › After Shop Loop Item Title is attached to the page [blockThemeWithGlobalSideEffects] › product-collection/compatibility-layer.block_theme.side_effects.spec.ts:130:5 › Compatibility Layer with Product Collection block › Product Archive with Product Collection block › Before Shop Loop Item is attached to the page [blockThemeWithGlobalSideEffects] › product-collection/compatibility-layer.block_theme.side_effects.spec.ts:130:5 › Compatibility Layer with Product Collection block › Product Archive with Product Collection block › After Shop Loop Item is attached to the page 16 skipped 61 passed (53.8m)

Artifacts

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