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

Add checkout-header template to the correct area in site editor #6534

Add checkout-header template to the correct area in site editor

Add checkout-header template to the correct area in site editor #6534

Triggered via pull request November 1, 2023 11:52
Status Failure
Total duration 23m 24s
Artifacts 1

playwright.yml

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

Annotations

8 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] › checkout/checkout-block-shipping.block_theme.side_effects.spec.ts:30:2 › Shopper → Checkout block → Shipping › Shopper can choose free shipping: tests/e2e/tests/checkout/checkout-block-shipping.block_theme.side_effects.spec.ts#L1
1) [blockThemeWithGlobalSideEffects] › checkout/checkout-block-shipping.block_theme.side_effects.spec.ts:30:2 › Shopper → Checkout block → Shipping › Shopper can choose free shipping, flat rate shipping, and can have different billing and shipping addresses Test timeout of 90000ms exceeded.
[blockThemeWithGlobalSideEffects] › checkout/checkout-block-shipping.block_theme.side_effects.spec.ts:30:2 › Shopper → Checkout block → Shipping › Shopper can choose free shipping: tests/e2e/tests/checkout/checkout.page.ts#L83
1) [blockThemeWithGlobalSideEffects] › checkout/checkout-block-shipping.block_theme.side_effects.spec.ts:30:2 › Shopper → Checkout block → Shipping › Shopper can choose free shipping, flat rate shipping, and can have different billing and shipping addresses Error: page.waitForURL: Navigation failed because page was closed! =========================== logs =========================== waiting for navigation until "load" ============================================================ at checkout/checkout.page.ts:83 81 | async placeOrder() { 82 | await this.page.getByText( 'Place Order', { exact: true } ).click(); > 83 | await this.page.waitForURL( /order-received/ ); | ^ 84 | } 85 | 86 | async verifyAddressDetails( at CheckoutPage.placeOrder (/home/runner/work/woocommerce-blocks/woocommerce-blocks/tests/e2e/tests/checkout/checkout.page.ts:83:19) at /home/runner/work/woocommerce-blocks/woocommerce-blocks/tests/e2e/tests/checkout/checkout-block-shipping.block_theme.side_effects.spec.ts:91:3
[blockThemeWithGlobalSideEffects] › checkout/checkout-block-shipping.block_theme.side_effects.spec.ts:30:2 › Shopper → Checkout block → Shipping › Shopper can choose free shipping: tests/e2e/tests/checkout/checkout-block-shipping.block_theme.side_effects.spec.ts#L1
1) [blockThemeWithGlobalSideEffects] › checkout/checkout-block-shipping.block_theme.side_effects.spec.ts:30:2 › Shopper → Checkout block → Shipping › Shopper can choose free shipping, flat rate shipping, and can have different billing and shipping addresses Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 90000ms exceeded.
[blockThemeWithGlobalSideEffects] › checkout/checkout-block-shipping.block_theme.side_effects.spec.ts:30:2 › Shopper → Checkout block → Shipping › Shopper can choose free shipping: tests/e2e/tests/checkout/checkout.page.ts#L83
1) [blockThemeWithGlobalSideEffects] › checkout/checkout-block-shipping.block_theme.side_effects.spec.ts:30:2 › Shopper → Checkout block → Shipping › Shopper can choose free shipping, flat rate shipping, and can have different billing and shipping addresses Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: page.waitForURL: Navigation failed because page was closed! =========================== logs =========================== waiting for navigation until "load" ============================================================ at checkout/checkout.page.ts:83 81 | async placeOrder() { 82 | await this.page.getByText( 'Place Order', { exact: true } ).click(); > 83 | await this.page.waitForURL( /order-received/ ); | ^ 84 | } 85 | 86 | async verifyAddressDetails( at CheckoutPage.placeOrder (/home/runner/work/woocommerce-blocks/woocommerce-blocks/tests/e2e/tests/checkout/checkout.page.ts:83:19) at /home/runner/work/woocommerce-blocks/woocommerce-blocks/tests/e2e/tests/checkout/checkout-block-shipping.block_theme.side_effects.spec.ts:91:3
[blockThemeWithGlobalSideEffects] › checkout/checkout-block-shipping.block_theme.side_effects.spec.ts:30:2 › Shopper → Checkout block → Shipping › Shopper can choose free shipping: tests/e2e/tests/checkout/checkout-block-shipping.block_theme.side_effects.spec.ts#L1
1) [blockThemeWithGlobalSideEffects] › checkout/checkout-block-shipping.block_theme.side_effects.spec.ts:30:2 › Shopper → Checkout block → Shipping › Shopper can choose free shipping, flat rate shipping, and can have different billing and shipping addresses Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 90000ms exceeded.
[blockThemeWithGlobalSideEffects] › checkout/checkout-block-shipping.block_theme.side_effects.spec.ts:30:2 › Shopper → Checkout block → Shipping › Shopper can choose free shipping: tests/e2e/tests/checkout/checkout.page.ts#L83
1) [blockThemeWithGlobalSideEffects] › checkout/checkout-block-shipping.block_theme.side_effects.spec.ts:30:2 › Shopper → Checkout block → Shipping › Shopper can choose free shipping, flat rate shipping, and can have different billing and shipping addresses Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: page.waitForURL: Navigation failed because page was closed! =========================== logs =========================== waiting for navigation until "load" ============================================================ at checkout/checkout.page.ts:83 81 | async placeOrder() { 82 | await this.page.getByText( 'Place Order', { exact: true } ).click(); > 83 | await this.page.waitForURL( /order-received/ ); | ^ 84 | } 85 | 86 | async verifyAddressDetails( at CheckoutPage.placeOrder (/home/runner/work/woocommerce-blocks/woocommerce-blocks/tests/e2e/tests/checkout/checkout.page.ts:83:19) at /home/runner/work/woocommerce-blocks/woocommerce-blocks/tests/e2e/tests/checkout/checkout-block-shipping.block_theme.side_effects.spec.ts:91: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.4m
Slow Test: [blockTheme] › templates/cart-template.block_theme.spec.ts#L1
[blockTheme] › templates/cart-template.block_theme.spec.ts took 1.6m
Slow Test: [blockTheme] › templates/checkout-template.block_theme.spec.ts#L1
[blockTheme] › templates/checkout-template.block_theme.spec.ts took 59.8s
Slow Test: [blockTheme] › cart/cart-block.merchant.block_theme.spec.ts#L1
[blockTheme] › cart/cart-block.merchant.block_theme.spec.ts took 33.9s
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 29.4s
Slow Test: [blockThemeWithGlobalSideEffects] › checkout/checkout-block-shipping.block_theme.side_effects.spec.ts#L1
[blockThemeWithGlobalSideEffects] › checkout/checkout-block-shipping.block_theme.side_effects.spec.ts took 4.5m
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.8m
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.3m
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 57.4s
🎭 Playwright Run Summary
2 passed (27.2s)
🎭 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 (8.3m)
🎭 Playwright Run Summary
1 failed [blockThemeWithGlobalSideEffects] › checkout/checkout-block-shipping.block_theme.side_effects.spec.ts:30:2 › Shopper → Checkout block → Shipping › Shopper can choose free shipping, flat rate shipping, and can have different billing and shipping addresses 15 skipped 56 passed (17.2m)

Artifacts

Produced during runtime
Name Size
playwright-report-SideEffects Expired
36.4 MB