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

Update Feedback link on Cart and Checkout blocks #7676

Update Feedback link on Cart and Checkout blocks

Update Feedback link on Cart and Checkout blocks #7676

Triggered via pull request November 30, 2023 17:49
Status Success
Total duration 15m 54s
Artifacts

playwright.yml

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

Annotations

4 errors, 10 warnings, and 3 notices
[blockTheme] › add-to-cart-form/add-to-cart-form.block_theme.spec.ts:33:6 › Add to Cart with Options Block › can be added in the Post Editor only as inner block of the Single Product Block: tests/e2e/tests/add-to-cart-form/add-to-cart-form.block_theme.spec.ts#L1
1) [blockTheme] › add-to-cart-form/add-to-cart-form.block_theme.spec.ts:33:6 › Add to Cart with Options Block › can be added in the Post Editor only as inner block of the Single Product Block Test timeout of 90000ms exceeded.
[blockTheme] › add-to-cart-form/add-to-cart-form.block_theme.spec.ts:33:6 › Add to Cart with Options Block › can be added in the Post Editor only as inner block of the Single Product Block: tests/e2e/tests/add-to-cart-form/add-to-cart-form.block_theme.spec.ts#L42
1) [blockTheme] › add-to-cart-form/add-to-cart-form.block_theme.spec.ts:33:6 › Add to Cart with Options Block › can be added in the Post Editor only as inner block of the Single Product Block Error: page.waitForResponse: Page closed 40 | await admin.createNewPost( { legacyCanvas: true } ); 41 | await editor.insertBlock( { name: 'woocommerce/single-product' } ); > 42 | await page.waitForResponse( | ^ 43 | ( response ) => 44 | response.url().includes( 'wc/store/v1/products' ) && 45 | response.status() === 200 at /home/runner/work/woocommerce-blocks/woocommerce-blocks/tests/e2e/tests/add-to-cart-form/add-to-cart-form.block_theme.spec.ts:42:14
[blockTheme] › templates/cart-template.block_theme.spec.ts:102:6 › Test editing the cart template › Template can be modified: tests/e2e/tests/templates/cart-template.block_theme.spec.ts#L121
2) [blockTheme] › templates/cart-template.block_theme.spec.ts:102: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() 119 | await expect( 120 | page.getByText( 'Hello World in the template' ).first() > 121 | ).toBeVisible(); | ^ 122 | } ); 123 | } ); 124 | at /home/runner/work/woocommerce-blocks/woocommerce-blocks/tests/e2e/tests/templates/cart-template.block_theme.spec.ts:121: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#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 Error: expect(received).toHaveLength(expected) Expected length: 16 Received length: 13 Received array: [{"_frame": {"_guid": "frame@9423e0d709677e859a224624cf20f898", "_type": "Frame"}, "_selector": "[data-block-name=\"woocommerce/legacy-template\"] >> internal:role=list >> .product >> nth=0"}, {"_frame": {"_guid": "frame@9423e0d709677e859a224624cf20f898", "_type": "Frame"}, "_selector": "[data-block-name=\"woocommerce/legacy-template\"] >> internal:role=list >> .product >> nth=1"}, {"_frame": {"_guid": "frame@9423e0d709677e859a224624cf20f898", "_type": "Frame"}, "_selector": "[data-block-name=\"woocommerce/legacy-template\"] >> internal:role=list >> .product >> nth=2"}, {"_frame": {"_guid": "frame@9423e0d709677e859a224624cf20f898", "_type": "Frame"}, "_selector": "[data-block-name=\"woocommerce/legacy-template\"] >> internal:role=list >> .product >> nth=3"}, {"_frame": {"_guid": "frame@9423e0d709677e859a224624cf20f898", "_type": "Frame"}, "_selector": "[data-block-name=\"woocommerce/legacy-template\"] >> internal:role=list >> .product >> nth=4"}, {"_frame": {"_guid": "frame@9423e0d709677e859a224624cf20f898", "_type": "Frame"}, "_selector": "[data-block-name=\"woocommerce/legacy-template\"] >> internal:role=list >> .product >> nth=5"}, {"_frame": {"_guid": "frame@9423e0d709677e859a224624cf20f898", "_type": "Frame"}, "_selector": "[data-block-name=\"woocommerce/legacy-template\"] >> internal:role=list >> .product >> nth=6"}, {"_frame": {"_guid": "frame@9423e0d709677e859a224624cf20f898", "_type": "Frame"}, "_selector": "[data-block-name=\"woocommerce/legacy-template\"] >> internal:role=list >> .product >> nth=7"}, {"_frame": {"_guid": "frame@9423e0d709677e859a224624cf20f898", "_type": "Frame"}, "_selector": "[data-block-name=\"woocommerce/legacy-template\"] >> internal:role=list >> .product >> nth=8"}, {"_frame": {"_guid": "frame@9423e0d709677e859a224624cf20f898", "_type": "Frame"}, "_selector": "[data-block-name=\"woocommerce/legacy-template\"] >> internal:role=list >> .product >> nth=9"}, …] 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
Slow Test: [blockTheme] › product-collection/product-collection.block_theme.spec.ts#L1
[blockTheme] › product-collection/product-collection.block_theme.spec.ts took 1.9m
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 1.9m
Slow Test: [blockTheme] › templates/cart-template.block_theme.spec.ts#L1
[blockTheme] › templates/cart-template.block_theme.spec.ts took 58.7s
Slow Test: [blockTheme] › checkout/checkout-block.merchant.block_theme.spec.ts#L1
[blockTheme] › checkout/checkout-block.merchant.block_theme.spec.ts took 46.7s
Slow Test: [blockTheme] › templates/checkout-template.block_theme.spec.ts#L1
[blockTheme] › templates/checkout-template.block_theme.spec.ts took 27.6s
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.1m
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] › 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 59.6s
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 49.2s
🎭 Playwright Run Summary
2 passed (19.7s)
🎭 Playwright Run Summary
2 flaky [blockTheme] › add-to-cart-form/add-to-cart-form.block_theme.spec.ts:33:6 › Add to Cart with Options Block › can be added in the Post Editor only as inner block of the Single Product Block [blockTheme] › templates/cart-template.block_theme.spec.ts:102:6 › Test editing the cart template › Template can be modified 3 skipped 54 passed (8.4m)
🎭 Playwright Run Summary
1 flaky [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 62 passed (10.9m)