This repository has been archived by the owner on Feb 23, 2024. It is now read-only.
Product Gallery block: Restrict block to be available only on the Single Product template or the Product Gallery template part #7193
Triggered via pull request
November 16, 2023 13:52
Status
Success
Total duration
14m 20s
Artifacts
–
Annotations
3 errors, 10 warnings, and 3 notices
[blockTheme] › product-collection/product-collection.block_theme.spec.ts:237:4 › Product Collection › Product Collection Sidebar Settings › Inherit query from template › Inherit query from template should work as expected in Product Catalog template:
tests/e2e/tests/product-collection/product-collection.block_theme.spec.ts#L1
1) [blockTheme] › product-collection/product-collection.block_theme.spec.ts:237:4 › Product Collection › Product Collection Sidebar Settings › Inherit query from template › Inherit query from template should work as expected in Product Catalog template
Test timeout of 90000ms exceeded.
|
[blockTheme] › product-collection/product-collection.block_theme.spec.ts:237:4 › Product Collection › Product Collection Sidebar Settings › Inherit query from template › Inherit query from template should work as expected in Product Catalog template:
tests/e2e/tests/product-collection/product-collection.page.ts#L125
1) [blockTheme] › product-collection/product-collection.block_theme.spec.ts:237:4 › Product Collection › Product Collection Sidebar Settings › Inherit query from template › Inherit query from template should work as expected in Product Catalog template
Error: locator.click: Page closed
=========================== logs ===========================
waiting for getByRole('region', { name: 'Save panel' }).getByRole('button', { name: 'Save', exact: true })
locator resolved to <button type="button" data-wp-c16t="true" data-wp-compon…>Save</button>
attempting click action
waiting for element to be visible, enabled and stable
element was detached from the DOM, retrying
============================================================
at product-collection/product-collection.page.ts:125
123 | await this.editor.insertBlock( block );
124 | await this.editor.openDocumentSettingsSidebar();
> 125 | await this.editor.saveSiteEditorEntities();
| ^
126 | }
127 |
128 | async searchProducts( phrase: string ) {
at Editor.saveSiteEditorEntities (/home/runner/work/woocommerce-blocks/woocommerce-blocks/node_modules/@wordpress/e2e-test-utils-playwright/src/editor/site-editor.ts:25:4)
at ProductCollectionPage.goToProductCatalogAndInsertBlock (/home/runner/work/woocommerce-blocks/woocommerce-blocks/tests/e2e/tests/product-collection/product-collection.page.ts:125:3)
at /home/runner/work/woocommerce-blocks/woocommerce-blocks/tests/e2e/tests/product-collection/product-collection.block_theme.spec.ts:240:5
|
[blockTheme] › templates/cart-template.block_theme.spec.ts:97:6 › Test editing the cart template › Template can be modified:
tests/e2e/tests/templates/cart-template.block_theme.spec.ts#L115
2) [blockTheme] › templates/cart-template.block_theme.spec.ts:97:6 › Test editing the cart template › Template can be modified
Error: Timed out 20000ms waiting for expect(received).toBeVisible()
Call log:
- expect.toBeVisible with timeout 20000ms
- waiting for getByText('Hello World in the template').first()
113 | await expect(
114 | page.getByText( 'Hello World in the template' ).first()
> 115 | ).toBeVisible();
| ^
116 | } );
117 | } );
118 |
at /home/runner/work/woocommerce-blocks/woocommerce-blocks/tests/e2e/tests/templates/cart-template.block_theme.spec.ts:115:5
|
Slow Test:
[blockTheme] › product-collection/product-collection.block_theme.spec.ts#L1
[blockTheme] › product-collection/product-collection.block_theme.spec.ts took 3.2m
|
Slow Test:
[blockTheme] › templates/cart-template.block_theme.spec.ts#L1
[blockTheme] › templates/cart-template.block_theme.spec.ts took 54.4s
|
Slow Test:
[blockTheme] › templates/checkout-template.block_theme.spec.ts#L1
[blockTheme] › templates/checkout-template.block_theme.spec.ts took 27.4s
|
Slow Test:
[blockTheme] › cart/cart-block.merchant.block_theme.spec.ts#L1
[blockTheme] › cart/cart-block.merchant.block_theme.spec.ts took 20.5s
|
Slow Test:
[blockTheme] › add-to-cart-form/add-to-cart-form.block_theme.spec.ts#L1
[blockTheme] › add-to-cart-form/add-to-cart-form.block_theme.spec.ts took 20.1s
|
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 2.0m
|
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.1m
|
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 51.6s
|
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 45.8s
|
Slow Test:
[blockThemeWithGlobalSideEffects] › product-gallery/inner-blocks/product-gallery-large-image/product-gallery-large-image.block_theme.side_effects.spec.ts#L1
[blockThemeWithGlobalSideEffects] › product-gallery/inner-blocks/product-gallery-large-image/product-gallery-large-image.block_theme.side_effects.spec.ts took 40.8s
|
🎭 Playwright Run Summary
2 passed (18.1s)
|
🎭 Playwright Run Summary
2 flaky
[blockTheme] › product-collection/product-collection.block_theme.spec.ts:237:4 › Product Collection › Product Collection Sidebar Settings › Inherit query from template › Inherit query from template should work as expected in Product Catalog template
[blockTheme] › templates/cart-template.block_theme.spec.ts:97:6 › Test editing the cart template › Template can be modified
3 skipped
47 passed (6.9m)
|
🎭 Playwright Run Summary
15 skipped
62 passed (9.2m)
|