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

Release: 11.4.5

Release: 11.4.5 #6830

Triggered via pull request November 8, 2023 09:58
Status Failure
Total duration 24m 9s
Artifacts 1

playwright.yml

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

Annotations

10 errors, 10 warnings, and 3 notices
[blockTheme] › templates/cart-template.block_theme.spec.ts:29:6 › Test the cart template › Template can be accessed from the page editor: tests/e2e/tests/templates/cart-template.block_theme.spec.ts#L42
1) [blockTheme] › templates/cart-template.block_theme.spec.ts:29:6 › Test the cart template › Template can be accessed from the page editor Error: Timed out 20000ms waiting for expect(received).toBeVisible() Call log: - expect.toBeVisible with timeout 20000ms - waiting for locator('h2:has-text("Cart")').first() - locator resolved to <h2 role="document" data-title="Heading" aria-multil…>Your cart is currently empty!</h2> - unexpected value "hidden" - locator resolved to <h2 role="document" data-title="Heading" aria-multil…>Your cart is currently empty!</h2> - unexpected value "hidden" - locator resolved to <h2 role="document" data-title="Heading" aria-multil…>Your cart is currently empty!</h2> - unexpected value "hidden" - locator resolved to <h2 role="document" data-title="Heading" aria-multil…>Your cart is currently empty!</h2> - unexpected value "hidden" - locator resolved to <h2 role="document" data-title="Heading" aria-multil…>Your cart is currently empty!</h2> - unexpected value "hidden" - locator resolved to <h2 role="document" data-title="Heading" aria-multil…>Your cart is currently empty!</h2> - unexpected value "hidden" - locator resolved to <h2 role="document" data-title="Heading" aria-multil…>Your cart is currently empty!</h2> - unexpected value "hidden" - locator resolved to <h2 role="document" data-title="Heading" aria-multil…>Your cart is currently empty!</h2> - unexpected value "hidden" - locator resolved to <h2 role="document" data-title="Heading" aria-multil…>Your cart is currently empty!</h2> - unexpected value "hidden" - locator resolved to <h2 role="document" data-title="Heading" aria-multil…>Your cart is currently empty!</h2> - unexpected value "hidden" - locator resolved to <h2 role="document" data-title="Heading" aria-multil…>Your cart is currently empty!</h2> - unexpected value "hidden" - locator resolved to <h2 role="document" data-title="Heading" aria-multil…>Your cart is currently empty!</h2> - unexpected value "hidden" - locator resolved to <h2 role="document" data-title="Heading" aria-multil…>Your cart is currently empty!</h2> - unexpected value "hidden" - locator resolved to <h2 role="document" data-title="Heading" aria-multil…>Your cart is currently empty!</h2> - unexpected value "hidden" - locator resolved to <h2 role="document" data-title="Heading" aria-multil…>Your cart is currently empty!</h2> - unexpected value "hidden" - locator resolved to <h2 role="document" data-title="Heading" aria-multil…>Your cart is currently empty!</h2> - unexpected value "hidden" - locator resolved to <h2 role="document" data-title="Heading" aria-multil…>Your cart is currently empty!</h2> - unexpected value "hidden" 40 | await expect( 41 | editor.canvas.locator( 'h2:has-text("Cart")' ).first() > 42 | ).toBeVisible(); | ^ 43 | await editor.openDocumentSettingsSidebar(); 44 | await page.getByRole( 'button', { name: 'Edit template' } ).click(); 45 | await expect( at /home/runner/work/woocommerce-blocks/woocommerce-blocks/tests/e2e/tests/templates/cart-template.block_theme.spec.ts:42:5
[blockTheme] › templates/cart-template.block_theme.spec.ts:29:6 › Test the cart template › Template can be accessed from the page editor: tests/e2e/tests/templates/cart-template.block_theme.spec.ts#L42
1) [blockTheme] › templates/cart-template.block_theme.spec.ts:29:6 › Test the cart template › Template can be accessed from the page editor Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 20000ms waiting for expect(received).toBeVisible() Call log: - expect.toBeVisible with timeout 20000ms - waiting for locator('h2:has-text("Cart")').first() - locator resolved to <h2 role="document" data-title="Heading" aria-multil…>Your cart is currently empty!</h2> - unexpected value "hidden" - locator resolved to <h2 role="document" data-title="Heading" aria-multil…>Your cart is currently empty!</h2> - unexpected value "hidden" - locator resolved to <h2 role="document" data-title="Heading" aria-multil…>Your cart is currently empty!</h2> - unexpected value "hidden" - locator resolved to <h2 role="document" data-title="Heading" aria-multil…>Your cart is currently empty!</h2> - unexpected value "hidden" - locator resolved to <h2 role="document" data-title="Heading" aria-multil…>Your cart is currently empty!</h2> - unexpected value "hidden" - locator resolved to <h2 role="document" data-title="Heading" aria-multil…>Your cart is currently empty!</h2> - unexpected value "hidden" - locator resolved to <h2 role="document" data-title="Heading" aria-multil…>Your cart is currently empty!</h2> - unexpected value "hidden" - locator resolved to <h2 role="document" data-title="Heading" aria-multil…>Your cart is currently empty!</h2> - unexpected value "hidden" - locator resolved to <h2 role="document" data-title="Heading" aria-multil…>Your cart is currently empty!</h2> - unexpected value "hidden" - locator resolved to <h2 role="document" data-title="Heading" aria-multil…>Your cart is currently empty!</h2> - unexpected value "hidden" - locator resolved to <h2 role="document" data-title="Heading" aria-multil…>Your cart is currently empty!</h2> - unexpected value "hidden" - locator resolved to <h2 role="document" data-title="Heading" aria-multil…>Your cart is currently empty!</h2> - unexpected value "hidden" - locator resolved to <h2 role="document" data-title="Heading" aria-multil…>Your cart is currently empty!</h2> - unexpected value "hidden" - locator resolved to <h2 role="document" data-title="Heading" aria-multil…>Your cart is currently empty!</h2> - unexpected value "hidden" - locator resolved to <h2 role="document" data-title="Heading" aria-multil…>Your cart is currently empty!</h2> - unexpected value "hidden" - locator resolved to <h2 role="document" data-title="Heading" aria-multil…>Your cart is currently empty!</h2> - unexpected value "hidden" - locator resolved to <h2 role="document" data-title="Heading" aria-multil…>Your cart is currently empty!</h2> - unexpected value "hidden" - locator resolved to <h2 role="document" data-title="Heading" aria-multil…>Your cart is currently empty!</h2> - unexpected value "hidden" - locator resolved to <h2 role="document" data-title="Heading" aria-multil…>Your cart is currently empty!</h2> - unexpected value "hidden" 40 | await expect( 41 | editor.canvas.locator( 'h2:has-text("Cart")' ).first() > 42 | ).toBeVisible(); | ^ 43 | await editor.openDocumentSettingsSidebar(); 44 | await page.getByRole( 'button', { name: 'Edit template' } ).click(); 45 | await expect( at /home/runner/work/woocommerce-blocks/woocommerce-blocks/tests/e2e/tests/templates/cart-template.block_theme.spec.ts:42:5
[blockTheme] › templates/cart-template.block_theme.spec.ts:29:6 › Test the cart template › Template can be accessed from the page editor: tests/e2e/tests/templates/cart-template.block_theme.spec.ts#L42
1) [blockTheme] › templates/cart-template.block_theme.spec.ts:29:6 › Test the cart template › Template can be accessed from the page editor Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 20000ms waiting for expect(received).toBeVisible() Call log: - expect.toBeVisible with timeout 20000ms - waiting for locator('h2:has-text("Cart")').first() - locator resolved to <h2 role="document" data-title="Heading" aria-multil…>Your cart is currently empty!</h2> - unexpected value "hidden" - locator resolved to <h2 role="document" data-title="Heading" aria-multil…>Your cart is currently empty!</h2> - unexpected value "hidden" - locator resolved to <h2 role="document" data-title="Heading" aria-multil…>Your cart is currently empty!</h2> - unexpected value "hidden" - locator resolved to <h2 role="document" data-title="Heading" aria-multil…>Your cart is currently empty!</h2> - unexpected value "hidden" - locator resolved to <h2 role="document" data-title="Heading" aria-multil…>Your cart is currently empty!</h2> - unexpected value "hidden" - locator resolved to <h2 role="document" data-title="Heading" aria-multil…>Your cart is currently empty!</h2> - unexpected value "hidden" - locator resolved to <h2 role="document" data-title="Heading" aria-multil…>Your cart is currently empty!</h2> - unexpected value "hidden" - locator resolved to <h2 role="document" data-title="Heading" aria-multil…>Your cart is currently empty!</h2> - unexpected value "hidden" - locator resolved to <h2 role="document" data-title="Heading" aria-multil…>Your cart is currently empty!</h2> - unexpected value "hidden" - locator resolved to <h2 role="document" data-title="Heading" aria-multil…>Your cart is currently empty!</h2> - unexpected value "hidden" - locator resolved to <h2 role="document" data-title="Heading" aria-multil…>Your cart is currently empty!</h2> - unexpected value "hidden" - locator resolved to <h2 role="document" data-title="Heading" aria-multil…>Your cart is currently empty!</h2> - unexpected value "hidden" - locator resolved to <h2 role="document" data-title="Heading" aria-multil…>Your cart is currently empty!</h2> - unexpected value "hidden" - locator resolved to <h2 role="document" data-title="Heading" aria-multil…>Your cart is currently empty!</h2> - unexpected value "hidden" - locator resolved to <h2 role="document" data-title="Heading" aria-multil…>Your cart is currently empty!</h2> - unexpected value "hidden" - locator resolved to <h2 role="document" data-title="Heading" aria-multil…>Your cart is currently empty!</h2> - unexpected value "hidden" - locator resolved to <h2 role="document" data-title="Heading" aria-multil…>Your cart is currently empty!</h2> - unexpected value "hidden" 40 | await expect( 41 | editor.canvas.locator( 'h2:has-text("Cart")' ).first() > 42 | ).toBeVisible(); | ^ 43 | await editor.openDocumentSettingsSidebar(); 44 | await page.getByRole( 'button', { name: 'Edit template' } ).click(); 45 | await expect( at /home/runner/work/woocommerce-blocks/woocommerce-blocks/tests/e2e/tests/templates/cart-template.block_theme.spec.ts:42:5
[blockTheme] › templates/checkout-template.block_theme.spec.ts:29:6 › Test the checkout template › Template can be accessed from the page editor: tests/e2e/tests/templates/checkout-template.block_theme.spec.ts#L1
2) [blockTheme] › templates/checkout-template.block_theme.spec.ts:29:6 › Test the checkout template › Template can be accessed from the page editor Test timeout of 90000ms exceeded.
[blockTheme] › templates/checkout-template.block_theme.spec.ts:29:6 › Test the checkout template › Template can be accessed from the page editor: tests/e2e/tests/templates/checkout-template.block_theme.spec.ts#L44
2) [blockTheme] › templates/checkout-template.block_theme.spec.ts:29:6 › Test the checkout template › Template can be accessed from the page editor Error: locator.click: Page closed =========================== logs =========================== waiting for getByRole('button', { name: 'Edit template' }) ============================================================ 42 | ).toBeVisible(); 43 | await editor.openDocumentSettingsSidebar(); > 44 | await page.getByRole( 'button', { name: 'Edit template' } ).click(); | ^ 45 | await expect( 46 | editor.canvas.locator( 'h1:has-text("Checkout")' ).first() 47 | ).toBeVisible(); at /home/runner/work/woocommerce-blocks/woocommerce-blocks/tests/e2e/tests/templates/checkout-template.block_theme.spec.ts:44:63
[blockTheme] › templates/checkout-template.block_theme.spec.ts:29:6 › Test the checkout template › Template can be accessed from the page editor: tests/e2e/tests/templates/checkout-template.block_theme.spec.ts#L1
2) [blockTheme] › templates/checkout-template.block_theme.spec.ts:29:6 › Test the checkout template › Template can be accessed from the page editor Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 90000ms exceeded.
[blockTheme] › templates/checkout-template.block_theme.spec.ts:29:6 › Test the checkout template › Template can be accessed from the page editor: tests/e2e/tests/templates/checkout-template.block_theme.spec.ts#L44
2) [blockTheme] › templates/checkout-template.block_theme.spec.ts:29:6 › Test the checkout template › Template can be accessed from the page editor Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Page closed =========================== logs =========================== waiting for getByRole('button', { name: 'Edit template' }) ============================================================ 42 | ).toBeVisible(); 43 | await editor.openDocumentSettingsSidebar(); > 44 | await page.getByRole( 'button', { name: 'Edit template' } ).click(); | ^ 45 | await expect( 46 | editor.canvas.locator( 'h1:has-text("Checkout")' ).first() 47 | ).toBeVisible(); at /home/runner/work/woocommerce-blocks/woocommerce-blocks/tests/e2e/tests/templates/checkout-template.block_theme.spec.ts:44:63
[blockTheme] › templates/checkout-template.block_theme.spec.ts:29:6 › Test the checkout template › Template can be accessed from the page editor: tests/e2e/tests/templates/checkout-template.block_theme.spec.ts#L1
2) [blockTheme] › templates/checkout-template.block_theme.spec.ts:29:6 › Test the checkout template › Template can be accessed from the page editor Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 90000ms exceeded.
[blockTheme] › templates/checkout-template.block_theme.spec.ts:29:6 › Test the checkout template › Template can be accessed from the page editor: tests/e2e/tests/templates/checkout-template.block_theme.spec.ts#L44
2) [blockTheme] › templates/checkout-template.block_theme.spec.ts:29:6 › Test the checkout template › Template can be accessed from the page editor Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Page closed =========================== logs =========================== waiting for getByRole('button', { name: 'Edit template' }) ============================================================ 42 | ).toBeVisible(); 43 | await editor.openDocumentSettingsSidebar(); > 44 | await page.getByRole( 'button', { name: 'Edit template' } ).click(); | ^ 45 | await expect( 46 | editor.canvas.locator( 'h1:has-text("Checkout")' ).first() 47 | ).toBeVisible(); at /home/runner/work/woocommerce-blocks/woocommerce-blocks/tests/e2e/tests/templates/checkout-template.block_theme.spec.ts:44:63
[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
3) [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.
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/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 51.2s
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.7s
Slow Test: [blockThemeWithGlobalSideEffects] › checkout/order-confirmation.block_theme.side_effects.spec.ts#L1
[blockThemeWithGlobalSideEffects] › checkout/order-confirmation.block_theme.side_effects.spec.ts took 38.9s
Slow Test: [blockThemeWithGlobalSideEffects] › products/products.block_theme.side_effects.spec.ts#L1
[blockThemeWithGlobalSideEffects] › products/products.block_theme.side_effects.spec.ts took 37.2s
Slow Test: [blockTheme] › templates/checkout-template.block_theme.spec.ts#L1
[blockTheme] › templates/checkout-template.block_theme.spec.ts took 5.1m
Slow Test: [blockTheme] › templates/cart-template.block_theme.spec.ts#L1
[blockTheme] › templates/cart-template.block_theme.spec.ts took 2.7m
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] › 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] › cart/cart-block.merchant.block_theme.spec.ts#L1
[blockTheme] › cart/cart-block.merchant.block_theme.spec.ts took 27.3s
🎭 Playwright Run Summary
2 passed (29.0s)
🎭 Playwright Run Summary
15 skipped 55 passed (8.4m)
🎭 Playwright Run Summary
2 failed [blockTheme] › templates/cart-template.block_theme.spec.ts:29:6 › Test the cart template › Template can be accessed from the page editor [blockTheme] › templates/checkout-template.block_theme.spec.ts:29:6 › Test the checkout template › Template can be accessed from the page editor 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:95:6 › Test editing the cart template › Template can be modified 1 skipped 47 passed (14.9m)

Artifacts

Produced during runtime
Name Size
playwright-report-Normal Expired
24.9 MB