This repository has been archived by the owner on Feb 23, 2024. It is now read-only.
Prevent fatal errors when using Cart Tokens and creating new accounts on checkout #7325
Triggered via pull request
November 20, 2023 14:03
Status
Success
Total duration
17m 47s
Artifacts
–
Annotations
2 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] › product-gallery/inner-blocks/product-gallery-thumbnails/product-gallery-thumbnails.block_theme.side_effects.spec.ts:51:2 › woocommerce/product-gallery-thumbnails › Renders Product Gallery Thumbnails block on the editor and frontend side:
tests/e2e/tests/product-gallery/inner-blocks/product-gallery-thumbnails/product-gallery-thumbnails.block_theme.side_effects.spec.ts#L72
1) [blockThemeWithGlobalSideEffects] › product-gallery/inner-blocks/product-gallery-thumbnails/product-gallery-thumbnails.block_theme.side_effects.spec.ts:51:2 › woocommerce/product-gallery-thumbnails › Renders Product Gallery Thumbnails block on the editor and frontend side
Error: expect(received).toBeGreaterThan(expected)
Expected: > 976.359375
Received: 804.34375
70 | await expect( thumbnailsBlock ).toBeVisible();
71 | // Check the default position: on the left of the large image
> 72 | await expect( thumbnailsBlockBoundingRect?.y ).toBeGreaterThan(
| ^
73 | largeImageBlockBoundingRect?.y as number
74 | );
75 | await expect( thumbnailsBlockBoundingRect?.x ).toBeLessThan(
at /home/runner/work/woocommerce-blocks/woocommerce-blocks/tests/e2e/tests/product-gallery/inner-blocks/product-gallery-thumbnails/product-gallery-thumbnails.block_theme.side_effects.spec.ts:72:50
|
Slow Test:
[blockTheme] › product-collection/product-collection.block_theme.spec.ts#L1
[blockTheme] › product-collection/product-collection.block_theme.spec.ts took 1.7m
|
Slow Test:
[blockTheme] › templates/cart-template.block_theme.spec.ts#L1
[blockTheme] › templates/cart-template.block_theme.spec.ts took 54.6s
|
Slow Test:
[blockTheme] › templates/checkout-template.block_theme.spec.ts#L1
[blockTheme] › templates/checkout-template.block_theme.spec.ts took 27.2s
|
Slow Test:
[blockTheme] › cart/cart-block.merchant.block_theme.spec.ts#L1
[blockTheme] › cart/cart-block.merchant.block_theme.spec.ts took 20.3s
|
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 18.4s
|
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 1.9m
|
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.2m
|
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.1m
|
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 48.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.9s
|
🎭 Playwright Run Summary
2 passed (18.2s)
|
🎭 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 (5.3m)
|
🎭 Playwright Run Summary
1 flaky
[blockThemeWithGlobalSideEffects] › product-gallery/inner-blocks/product-gallery-thumbnails/product-gallery-thumbnails.block_theme.side_effects.spec.ts:51:2 › woocommerce/product-gallery-thumbnails › Renders Product Gallery Thumbnails block on the editor and frontend side
15 skipped
61 passed (9.6m)
|