This repository has been archived by the owner on Feb 23, 2024. It is now read-only.
Product Gallery Thumbnails: Add View all overlay #5878
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
Annotations
11 errors, 10 warnings, and 3 notices
[blockTheme] › templates/cart-template.block_theme.spec.ts:95:6 › Test editing the cart template › Template can be modified:
tests/e2e/tests/templates/cart-template.block_theme.spec.ts#L113
1) [blockTheme] › templates/cart-template.block_theme.spec.ts:95: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()
111 | await expect(
112 | page.getByText( 'Hello World in the template' ).first()
> 113 | ).toBeVisible();
| ^
114 | } );
115 | } );
116 |
at /home/runner/work/woocommerce-blocks/woocommerce-blocks/tests/e2e/tests/templates/cart-template.block_theme.spec.ts:113:5
|
[blockThemeWithGlobalSideEffects] › on-sale-badge/on-sale-badge-single-product-template.block_theme.side_effects.spec.ts:104:3 › woocommerce/product-sale-badge › On the Single Product Template › should be rendered on the frontend side:
tests/e2e/tests/on-sale-badge/on-sale-badge-single-product-template.block_theme.side_effects.spec.ts#L130
1) [blockThemeWithGlobalSideEffects] › on-sale-badge/on-sale-badge-single-product-template.block_theme.side_effects.spec.ts:104:3 › woocommerce/product-sale-badge › On the Single Product Template › should be rendered on the frontend side
Error: expect.toBeVisible: Error: strict mode violation: locator('[data-block-name="woocommerce/product-sale-badge"]') resolved to 2 elements:
1) <div data-lock="{"move":true}" data-block-name="wooco…>…</div> aka locator('div').filter({ hasText: /^SaleProduct on sale$/ }).first()
2) <div data-block-name="woocommerce/product-sale-badge"…>…</div> aka locator('div').filter({ hasText: /^SaleProduct on sale$/ }).nth(2)
=========================== logs ===========================
expect.toBeVisible with timeout 20000ms
waiting for locator('[data-block-name="woocommerce/product-sale-badge"]')
============================================================
128 | const block = await frontendUtils.getBlockByName( blockData.name );
129 |
> 130 | await expect( block ).toBeVisible();
| ^
131 | } );
132 |
133 | test( `should be not rendered when the product isn't on sale the frontend side`, async ( {
at /home/runner/work/woocommerce-blocks/woocommerce-blocks/tests/e2e/tests/on-sale-badge/on-sale-badge-single-product-template.block_theme.side_effects.spec.ts:130:26
|
[blockThemeWithGlobalSideEffects] › on-sale-badge/on-sale-badge-single-product-template.block_theme.side_effects.spec.ts:104:3 › woocommerce/product-sale-badge › On the Single Product Template › should be rendered on the frontend side:
tests/e2e/tests/on-sale-badge/on-sale-badge-single-product-template.block_theme.side_effects.spec.ts#L130
1) [blockThemeWithGlobalSideEffects] › on-sale-badge/on-sale-badge-single-product-template.block_theme.side_effects.spec.ts:104:3 › woocommerce/product-sale-badge › On the Single Product Template › should be rendered on the frontend side
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect.toBeVisible: Error: strict mode violation: locator('[data-block-name="woocommerce/product-sale-badge"]') resolved to 2 elements:
1) <div data-lock="{"move":true}" data-block-name="wooco…>…</div> aka locator('div').filter({ hasText: /^SaleProduct on sale$/ }).first()
2) <div data-block-name="woocommerce/product-sale-badge"…>…</div> aka locator('div').filter({ hasText: /^SaleProduct on sale$/ }).nth(2)
=========================== logs ===========================
expect.toBeVisible with timeout 20000ms
waiting for locator('[data-block-name="woocommerce/product-sale-badge"]')
============================================================
128 | const block = await frontendUtils.getBlockByName( blockData.name );
129 |
> 130 | await expect( block ).toBeVisible();
| ^
131 | } );
132 |
133 | test( `should be not rendered when the product isn't on sale the frontend side`, async ( {
at /home/runner/work/woocommerce-blocks/woocommerce-blocks/tests/e2e/tests/on-sale-badge/on-sale-badge-single-product-template.block_theme.side_effects.spec.ts:130:26
|
[blockThemeWithGlobalSideEffects] › on-sale-badge/on-sale-badge-single-product-template.block_theme.side_effects.spec.ts:104:3 › woocommerce/product-sale-badge › On the Single Product Template › should be rendered on the frontend side:
tests/e2e/tests/on-sale-badge/on-sale-badge-single-product-template.block_theme.side_effects.spec.ts#L130
1) [blockThemeWithGlobalSideEffects] › on-sale-badge/on-sale-badge-single-product-template.block_theme.side_effects.spec.ts:104:3 › woocommerce/product-sale-badge › On the Single Product Template › should be rendered on the frontend side
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect.toBeVisible: Error: strict mode violation: locator('[data-block-name="woocommerce/product-sale-badge"]') resolved to 2 elements:
1) <div data-lock="{"move":true}" data-block-name="wooco…>…</div> aka locator('div').filter({ hasText: /^SaleProduct on sale$/ }).first()
2) <div data-block-name="woocommerce/product-sale-badge"…>…</div> aka locator('div').filter({ hasText: /^SaleProduct on sale$/ }).nth(2)
=========================== logs ===========================
expect.toBeVisible with timeout 20000ms
waiting for locator('[data-block-name="woocommerce/product-sale-badge"]')
============================================================
128 | const block = await frontendUtils.getBlockByName( blockData.name );
129 |
> 130 | await expect( block ).toBeVisible();
| ^
131 | } );
132 |
133 | test( `should be not rendered when the product isn't on sale the frontend side`, async ( {
at /home/runner/work/woocommerce-blocks/woocommerce-blocks/tests/e2e/tests/on-sale-badge/on-sale-badge-single-product-template.block_theme.side_effects.spec.ts:130:26
|
[blockThemeWithGlobalSideEffects] › on-sale-badge/on-sale-badge-single-product-template.block_theme.side_effects.spec.ts:162:3 › woocommerce/product-sale-badge › On the Single Product Template › should be aligned on the left:
tests/e2e/tests/on-sale-badge/on-sale-badge-single-product-template.block_theme.side_effects.spec.ts#L62
2) [blockThemeWithGlobalSideEffects] › on-sale-badge/on-sale-badge-single-product-template.block_theme.side_effects.spec.ts:162:3 › woocommerce/product-sale-badge › On the Single Product Template › should be aligned on the left
Error: locator.evaluate: Error: strict mode violation: locator('.wc-block-components-product-sale-badge') resolved to 2 elements:
1) <div class="wc-block-components-product-sale-badge al…>…</div> aka getByText('SaleProduct on sale').first()
2) <div class="wc-block-components-product-sale-badge al…>…</div> aka locator('dialog').getByText('SaleProduct on sale')
=========================== logs ===========================
waiting for locator('.wc-block-components-product-sale-badge')
============================================================
60 | .productSaleBadge
61 | )
> 62 | .evaluate( ( el ) => el.getBoundingClientRect() ),
| ^
63 | productSaleBadgeContainer: await page
64 | .locator(
65 | blockData.selectors[ isFrontend ? 'frontend' : 'editor' ]
at getBoundingClientRect (/home/runner/work/woocommerce-blocks/woocommerce-blocks/tests/e2e/tests/on-sale-badge/on-sale-badge-single-product-template.block_theme.side_effects.spec.ts:62:5)
at /home/runner/work/woocommerce-blocks/woocommerce-blocks/tests/e2e/tests/on-sale-badge/on-sale-badge-single-product-template.block_theme.side_effects.spec.ts:203:43
|
[blockThemeWithGlobalSideEffects] › on-sale-badge/on-sale-badge-single-product-template.block_theme.side_effects.spec.ts:162:3 › woocommerce/product-sale-badge › On the Single Product Template › should be aligned on the left:
tests/e2e/tests/on-sale-badge/on-sale-badge-single-product-template.block_theme.side_effects.spec.ts#L62
2) [blockThemeWithGlobalSideEffects] › on-sale-badge/on-sale-badge-single-product-template.block_theme.side_effects.spec.ts:162:3 › woocommerce/product-sale-badge › On the Single Product Template › should be aligned on the left
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.evaluate: Error: strict mode violation: locator('.wc-block-components-product-sale-badge') resolved to 2 elements:
1) <div class="wc-block-components-product-sale-badge al…>…</div> aka getByText('SaleProduct on sale').first()
2) <div class="wc-block-components-product-sale-badge al…>…</div> aka locator('dialog').getByText('SaleProduct on sale')
=========================== logs ===========================
waiting for locator('.wc-block-components-product-sale-badge')
============================================================
60 | .productSaleBadge
61 | )
> 62 | .evaluate( ( el ) => el.getBoundingClientRect() ),
| ^
63 | productSaleBadgeContainer: await page
64 | .locator(
65 | blockData.selectors[ isFrontend ? 'frontend' : 'editor' ]
at getBoundingClientRect (/home/runner/work/woocommerce-blocks/woocommerce-blocks/tests/e2e/tests/on-sale-badge/on-sale-badge-single-product-template.block_theme.side_effects.spec.ts:62:5)
at /home/runner/work/woocommerce-blocks/woocommerce-blocks/tests/e2e/tests/on-sale-badge/on-sale-badge-single-product-template.block_theme.side_effects.spec.ts:203:43
|
[blockThemeWithGlobalSideEffects] › on-sale-badge/on-sale-badge-single-product-template.block_theme.side_effects.spec.ts:162:3 › woocommerce/product-sale-badge › On the Single Product Template › should be aligned on the left:
tests/e2e/tests/on-sale-badge/on-sale-badge-single-product-template.block_theme.side_effects.spec.ts#L62
2) [blockThemeWithGlobalSideEffects] › on-sale-badge/on-sale-badge-single-product-template.block_theme.side_effects.spec.ts:162:3 › woocommerce/product-sale-badge › On the Single Product Template › should be aligned on the left
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.evaluate: Error: strict mode violation: locator('.wc-block-components-product-sale-badge') resolved to 2 elements:
1) <div class="wc-block-components-product-sale-badge al…>…</div> aka getByText('SaleProduct on sale').first()
2) <div class="wc-block-components-product-sale-badge al…>…</div> aka locator('dialog').getByText('SaleProduct on sale')
=========================== logs ===========================
waiting for locator('.wc-block-components-product-sale-badge')
============================================================
60 | .productSaleBadge
61 | )
> 62 | .evaluate( ( el ) => el.getBoundingClientRect() ),
| ^
63 | productSaleBadgeContainer: await page
64 | .locator(
65 | blockData.selectors[ isFrontend ? 'frontend' : 'editor' ]
at getBoundingClientRect (/home/runner/work/woocommerce-blocks/woocommerce-blocks/tests/e2e/tests/on-sale-badge/on-sale-badge-single-product-template.block_theme.side_effects.spec.ts:62:5)
at /home/runner/work/woocommerce-blocks/woocommerce-blocks/tests/e2e/tests/on-sale-badge/on-sale-badge-single-product-template.block_theme.side_effects.spec.ts:203:43
|
[blockThemeWithGlobalSideEffects] › on-sale-badge/on-sale-badge-single-product-template.block_theme.side_effects.spec.ts:214:3 › woocommerce/product-sale-badge › On the Single Product Template › should be aligned on the center:
tests/e2e/tests/on-sale-badge/on-sale-badge-single-product-template.block_theme.side_effects.spec.ts#L62
3) [blockThemeWithGlobalSideEffects] › on-sale-badge/on-sale-badge-single-product-template.block_theme.side_effects.spec.ts:214:3 › woocommerce/product-sale-badge › On the Single Product Template › should be aligned on the center
Error: locator.evaluate: Error: strict mode violation: locator('.wc-block-components-product-sale-badge') resolved to 2 elements:
1) <div class="wc-block-components-product-sale-badge al…>…</div> aka getByText('SaleProduct on sale').first()
2) <div class="wc-block-components-product-sale-badge al…>…</div> aka locator('dialog').getByText('SaleProduct on sale')
=========================== logs ===========================
waiting for locator('.wc-block-components-product-sale-badge')
============================================================
60 | .productSaleBadge
61 | )
> 62 | .evaluate( ( el ) => el.getBoundingClientRect() ),
| ^
63 | productSaleBadgeContainer: await page
64 | .locator(
65 | blockData.selectors[ isFrontend ? 'frontend' : 'editor' ]
at getBoundingClientRect (/home/runner/work/woocommerce-blocks/woocommerce-blocks/tests/e2e/tests/on-sale-badge/on-sale-badge-single-product-template.block_theme.side_effects.spec.ts:62:5)
at /home/runner/work/woocommerce-blocks/woocommerce-blocks/tests/e2e/tests/on-sale-badge/on-sale-badge-single-product-template.block_theme.side_effects.spec.ts:257:43
|
[blockThemeWithGlobalSideEffects] › on-sale-badge/on-sale-badge-single-product-template.block_theme.side_effects.spec.ts:214:3 › woocommerce/product-sale-badge › On the Single Product Template › should be aligned on the center:
tests/e2e/tests/on-sale-badge/on-sale-badge-single-product-template.block_theme.side_effects.spec.ts#L62
3) [blockThemeWithGlobalSideEffects] › on-sale-badge/on-sale-badge-single-product-template.block_theme.side_effects.spec.ts:214:3 › woocommerce/product-sale-badge › On the Single Product Template › should be aligned on the center
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.evaluate: Error: strict mode violation: locator('.wc-block-components-product-sale-badge') resolved to 2 elements:
1) <div class="wc-block-components-product-sale-badge al…>…</div> aka getByText('SaleProduct on sale').first()
2) <div class="wc-block-components-product-sale-badge al…>…</div> aka locator('dialog').getByText('SaleProduct on sale')
=========================== logs ===========================
waiting for locator('.wc-block-components-product-sale-badge')
============================================================
60 | .productSaleBadge
61 | )
> 62 | .evaluate( ( el ) => el.getBoundingClientRect() ),
| ^
63 | productSaleBadgeContainer: await page
64 | .locator(
65 | blockData.selectors[ isFrontend ? 'frontend' : 'editor' ]
at getBoundingClientRect (/home/runner/work/woocommerce-blocks/woocommerce-blocks/tests/e2e/tests/on-sale-badge/on-sale-badge-single-product-template.block_theme.side_effects.spec.ts:62:5)
at /home/runner/work/woocommerce-blocks/woocommerce-blocks/tests/e2e/tests/on-sale-badge/on-sale-badge-single-product-template.block_theme.side_effects.spec.ts:257:43
|
[blockThemeWithGlobalSideEffects] › on-sale-badge/on-sale-badge-single-product-template.block_theme.side_effects.spec.ts:214:3 › woocommerce/product-sale-badge › On the Single Product Template › should be aligned on the center:
tests/e2e/tests/on-sale-badge/on-sale-badge-single-product-template.block_theme.side_effects.spec.ts#L62
3) [blockThemeWithGlobalSideEffects] › on-sale-badge/on-sale-badge-single-product-template.block_theme.side_effects.spec.ts:214:3 › woocommerce/product-sale-badge › On the Single Product Template › should be aligned on the center
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.evaluate: Error: strict mode violation: locator('.wc-block-components-product-sale-badge') resolved to 2 elements:
1) <div class="wc-block-components-product-sale-badge al…>…</div> aka getByText('SaleProduct on sale').first()
2) <div class="wc-block-components-product-sale-badge al…>…</div> aka locator('dialog').getByText('SaleProduct on sale')
=========================== logs ===========================
waiting for locator('.wc-block-components-product-sale-badge')
============================================================
60 | .productSaleBadge
61 | )
> 62 | .evaluate( ( el ) => el.getBoundingClientRect() ),
| ^
63 | productSaleBadgeContainer: await page
64 | .locator(
65 | blockData.selectors[ isFrontend ? 'frontend' : 'editor' ]
at getBoundingClientRect (/home/runner/work/woocommerce-blocks/woocommerce-blocks/tests/e2e/tests/on-sale-badge/on-sale-badge-single-product-template.block_theme.side_effects.spec.ts:62:5)
at /home/runner/work/woocommerce-blocks/woocommerce-blocks/tests/e2e/tests/on-sale-badge/on-sale-badge-single-product-template.block_theme.side_effects.spec.ts:257:43
|
[blockThemeWithGlobalSideEffects] › on-sale-badge/on-sale-badge-single-product-template.block_theme.side_effects.spec.ts:270:3 › woocommerce/product-sale-badge › On the Single Product Template › should be aligned on the right by default:
tests/e2e/tests/on-sale-badge/on-sale-badge-single-product-template.block_theme.side_effects.spec.ts#L62
4) [blockThemeWithGlobalSideEffects] › on-sale-badge/on-sale-badge-single-product-template.block_theme.side_effects.spec.ts:270:3 › woocommerce/product-sale-badge › On the Single Product Template › should be aligned on the right by default
Error: locator.evaluate: Error: strict mode violation: locator('.wc-block-components-product-sale-badge') resolved to 2 elements:
1) <div class="wc-block-components-product-sale-badge al…>…</div> aka getByText('SaleProduct on sale').first()
2) <div class="wc-block-components-product-sale-badge al…>…</div> aka locator('dialog').getByText('SaleProduct on sale')
=========================== logs ===========================
waiting for locator('.wc-block-components-product-sale-badge')
============================================================
60 | .productSaleBadge
61 | )
> 62 | .evaluate( ( el ) => el.getBoundingClientRect() ),
| ^
63 | productSaleBadgeContainer: await page
64 | .locator(
65 | blockData.selectors[ isFrontend ? 'frontend' : 'editor' ]
at getBoundingClientRect (/home/runner/work/woocommerce-blocks/woocommerce-blocks/tests/e2e/tests/on-sale-badge/on-sale-badge-single-product-template.block_theme.side_effects.spec.ts:62:5)
at /home/runner/work/woocommerce-blocks/woocommerce-blocks/tests/e2e/tests/on-sale-badge/on-sale-badge-single-product-template.block_theme.side_effects.spec.ts:307:43
|
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 1.9m
|
Slow Test:
[blockTheme] › templates/checkout-template.block_theme.spec.ts#L1
[blockTheme] › templates/checkout-template.block_theme.spec.ts took 1.3m
|
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 43.0s
|
Slow Test:
[blockTheme] › cart/cart-block.merchant.block_theme.spec.ts#L1
[blockTheme] › cart/cart-block.merchant.block_theme.spec.ts took 42.9s
|
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 4.3m
|
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.6m
|
Slow Test:
[blockThemeWithGlobalSideEffects] › products/products.block_theme.side_effects.spec.ts#L1
[blockThemeWithGlobalSideEffects] › products/products.block_theme.side_effects.spec.ts took 1.2m
|
Slow Test:
[blockThemeWithGlobalSideEffects] › product-gallery/inner-blocks/product-gallery-pager/product-gallery-pager.block_theme.side_effects.spec.ts#L1
[blockThemeWithGlobalSideEffects] › product-gallery/inner-blocks/product-gallery-pager/product-gallery-pager.block_theme.side_effects.spec.ts took 1.1m
|
Slow Test:
[blockThemeWithGlobalSideEffects] › checkout/order-confirmation.block_theme.side_effects.spec.ts#L1
[blockThemeWithGlobalSideEffects] › checkout/order-confirmation.block_theme.side_effects.spec.ts took 1.0m
|
🎭 Playwright Run Summary
2 passed (24.6s)
|
🎭 Playwright Run Summary
1 flaky
[blockTheme] › templates/cart-template.block_theme.spec.ts:95:6 › Test editing the cart template › Template can be modified
1 skipped
50 passed (11.0m)
|
🎭 Playwright Run Summary
4 failed
[blockThemeWithGlobalSideEffects] › on-sale-badge/on-sale-badge-single-product-template.block_theme.side_effects.spec.ts:104:3 › woocommerce/product-sale-badge › On the Single Product Template › should be rendered on the frontend side
[blockThemeWithGlobalSideEffects] › on-sale-badge/on-sale-badge-single-product-template.block_theme.side_effects.spec.ts:162:3 › woocommerce/product-sale-badge › On the Single Product Template › should be aligned on the left
[blockThemeWithGlobalSideEffects] › on-sale-badge/on-sale-badge-single-product-template.block_theme.side_effects.spec.ts:214:3 › woocommerce/product-sale-badge › On the Single Product Template › should be aligned on the center
[blockThemeWithGlobalSideEffects] › on-sale-badge/on-sale-badge-single-product-template.block_theme.side_effects.spec.ts:270:3 › woocommerce/product-sale-badge › On the Single Product Template › should be aligned on the right by default
18 skipped
40 passed (14.3m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
playwright-report-SideEffects
Expired
|
48.5 MB |
|