This repository has been archived by the owner on Feb 23, 2024. It is now read-only.
Add FormStep
to Storybook
#6990
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
Annotations
7 errors, 10 warnings, and 3 notices
[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
1) [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
|
[blockThemeWithGlobalSideEffects] › price-filter/price-filter.block_theme.side_effects.spec.ts:128:6 › woocommerce/price-filter Block - with PHP classic template › should show all products:
tests/e2e/tests/price-filter/price-filter.block_theme.side_effects.spec.ts#L103
1) [blockThemeWithGlobalSideEffects] › price-filter/price-filter.block_theme.side_effects.spec.ts:128:6 › woocommerce/price-filter Block - with PHP classic template › should show all products
Test timeout of 90000ms exceeded while running "beforeEach" hook.
101 | );
102 | } );
> 103 | test.beforeEach( async ( { admin, page, editor } ) => {
| ^
104 | await admin.visitSiteEditor( {
105 | postId: 'woocommerce/woocommerce//archive-product',
106 | postType: 'wp_template',
at /home/runner/work/woocommerce-blocks/woocommerce-blocks/tests/e2e/tests/price-filter/price-filter.block_theme.side_effects.spec.ts:103:7
|
[blockThemeWithGlobalSideEffects] › price-filter/price-filter.block_theme.side_effects.spec.ts:128:6 › woocommerce/price-filter Block - with PHP classic template › should show all products:
tests/e2e/tests/price-filter/price-filter.block_theme.side_effects.spec.ts#L118
1) [blockThemeWithGlobalSideEffects] › price-filter/price-filter.block_theme.side_effects.spec.ts:128:6 › woocommerce/price-filter Block - with PHP classic template › should show all products
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
============================================================
116 | },
117 | } );
> 118 | await editor.saveSiteEditorEntities();
| ^
119 | await page.goto( `/shop`, { waitUntil: 'commit' } );
120 | } );
121 |
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 /home/runner/work/woocommerce-blocks/woocommerce-blocks/tests/e2e/tests/price-filter/price-filter.block_theme.side_effects.spec.ts:118:3
|
[blockThemeWithGlobalSideEffects] › price-filter/price-filter.block_theme.side_effects.spec.ts:128:6 › woocommerce/price-filter Block - with PHP classic template › should show all products:
tests/e2e/tests/price-filter/price-filter.block_theme.side_effects.spec.ts#L140
1) [blockThemeWithGlobalSideEffects] › price-filter/price-filter.block_theme.side_effects.spec.ts:128: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: 2
Received array: [{"_frame": {"_guid": "frame@5ca822378c139fc823add71c66cdcfdf", "_type": "Frame"}, "_selector": "[data-block-name=\"woocommerce/legacy-template\"] >> internal:role=list >> .product >> nth=0"}, {"_frame": {"_guid": "frame@5ca822378c139fc823add71c66cdcfdf", "_type": "Frame"}, "_selector": "[data-block-name=\"woocommerce/legacy-template\"] >> internal:role=list >> .product >> nth=1"}]
138 | .all();
139 |
> 140 | expect( products ).toHaveLength( 16 );
| ^
141 | } );
142 |
143 | // eslint-disable-next-line playwright/no-skipped-test
at /home/runner/work/woocommerce-blocks/woocommerce-blocks/tests/e2e/tests/price-filter/price-filter.block_theme.side_effects.spec.ts:140:22
|
[blockThemeWithGlobalSideEffects] › price-filter/price-filter.block_theme.side_effects.spec.ts:128:6 › woocommerce/price-filter Block - with PHP classic template › should show all products:
tests/e2e/tests/price-filter/price-filter.block_theme.side_effects.spec.ts#L103
1) [blockThemeWithGlobalSideEffects] › price-filter/price-filter.block_theme.side_effects.spec.ts:128:6 › woocommerce/price-filter Block - with PHP classic template › should show all products
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 90000ms exceeded while running "beforeEach" hook.
101 | );
102 | } );
> 103 | test.beforeEach( async ( { admin, page, editor } ) => {
| ^
104 | await admin.visitSiteEditor( {
105 | postId: 'woocommerce/woocommerce//archive-product',
106 | postType: 'wp_template',
at /home/runner/work/woocommerce-blocks/woocommerce-blocks/tests/e2e/tests/price-filter/price-filter.block_theme.side_effects.spec.ts:103:7
|
[blockThemeWithGlobalSideEffects] › price-filter/price-filter.block_theme.side_effects.spec.ts:128:6 › woocommerce/price-filter Block - with PHP classic template › should show all products:
tests/e2e/tests/price-filter/price-filter.block_theme.side_effects.spec.ts#L118
1) [blockThemeWithGlobalSideEffects] › price-filter/price-filter.block_theme.side_effects.spec.ts:128:6 › woocommerce/price-filter Block - with PHP classic template › should show all products
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Page closed
=========================== logs ===========================
waiting for getByRole('region', { name: 'Save panel' }).getByRole('button', { name: 'Save', exact: true })
============================================================
116 | },
117 | } );
> 118 | await editor.saveSiteEditorEntities();
| ^
119 | await page.goto( `/shop`, { waitUntil: 'commit' } );
120 | } );
121 |
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 /home/runner/work/woocommerce-blocks/woocommerce-blocks/tests/e2e/tests/price-filter/price-filter.block_theme.side_effects.spec.ts:118:3
|
Playwright E2E tests - SideEffects
Process completed with exit code 1.
|
Slow Test:
[blockTheme] › product-collection/product-collection.block_theme.spec.ts#L1
[blockTheme] › product-collection/product-collection.block_theme.spec.ts took 2.9m
|
Slow Test:
[blockTheme] › templates/cart-template.block_theme.spec.ts#L1
[blockTheme] › templates/cart-template.block_theme.spec.ts took 1.3m
|
Slow Test:
[blockTheme] › templates/checkout-template.block_theme.spec.ts#L1
[blockTheme] › templates/checkout-template.block_theme.spec.ts took 45.5s
|
Slow Test:
[blockTheme] › cart/cart-block.merchant.block_theme.spec.ts#L1
[blockTheme] › cart/cart-block.merchant.block_theme.spec.ts took 36.8s
|
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 30.1s
|
Slow Test:
[blockThemeWithGlobalSideEffects] › price-filter/price-filter.block_theme.side_effects.spec.ts#L1
[blockThemeWithGlobalSideEffects] › price-filter/price-filter.block_theme.side_effects.spec.ts took 3.6m
|
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 3.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.5m
|
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 1.3m
|
Slow Test:
[blockThemeWithGlobalSideEffects] › products/products.block_theme.side_effects.spec.ts#L1
[blockThemeWithGlobalSideEffects] › products/products.block_theme.side_effects.spec.ts took 1.1m
|
🎭 Playwright Run Summary
2 passed (19.0s)
|
🎭 Playwright Run Summary
1 flaky
[blockTheme] › templates/cart-template.block_theme.spec.ts:97:6 › Test editing the cart template › Template can be modified
3 skipped
48 passed (8.6m)
|
🎭 Playwright Run Summary
1 failed
[blockThemeWithGlobalSideEffects] › price-filter/price-filter.block_theme.side_effects.spec.ts:128:6 › woocommerce/price-filter Block - with PHP classic template › should show all products
15 skipped
57 passed (18.0m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
playwright-report-SideEffects
Expired
|
6.39 MB |
|