Skip to content

Global Elements: Reusable Content of Blocks - #22448

Merged
leekelleher merged 73 commits into
v19/devfrom
v18/feature/reusable-block-content
Jun 23, 2026
Merged

leekelleher merged 73 commits into
v19/devfrom
v18/feature/reusable-block-content

Block: fix CI lint errors — remove unused #context fields and suppres…

ebe5eff
Select commit
Loading
Failed to load commit list.
Azure Pipelines / Umbraco CMS 9+ succeeded Jun 23, 2026 in 17m 3s

Build #19.0.0--beta1.preview.12+367ad11 had test failures

Details

Tests

  • Failed: 1 (0.00%)
  • Passed: 25,729 (99.63%)
  • Other: 95 (0.37%)
  • Total: 25,825

Annotations

Check failure on line 1 in can copy and paste multiple blocks into the same document and group

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Umbraco CMS 9+

can copy and paste multiple blocks into the same document and group

ClipboardBlockGridBlocks.spec.ts:134:5 can copy and paste multiple blocks into the same document and group
Raw output
  [defaultConfig] › DefaultConfig\Content\Clipboard\ClipboardBlockGridBlocks.spec.ts:134:5 › can copy and paste multiple blocks into the same document and group @smoke 

    Error: expect(locator).toBeVisible() failed

    Locator: locator('umb-content-workspace-view-edit-tab').filter({ hasText: 'TestGroup' }).locator(locator('umb-content-workspace-view-edit-properties')).filter({ hasText: 'TestBlockGridEditor' }).locator(locator('umb-block-grid-entry')).nth(2).filter({ hasText: 'TestElement' })
    Expected: visible
    Timeout: 10000ms
    Error: element(s) not found

    Call log:
      - Expect "toBeVisible" with timeout 10000ms
      - waiting for locator('umb-content-workspace-view-edit-tab').filter({ hasText: 'TestGroup' }).locator(locator('umb-content-workspace-view-edit-properties')).filter({ hasText: 'TestBlockGridEditor' }).locator(locator('umb-block-grid-entry')).nth(2).filter({ hasText: 'TestElement' })


       at ..\lib\helpers\BasePage.ts:40

      38 |    */
      39 |   async click(locator: Locator, options?: {force?: boolean; timeout?: number}): Promise<void> {
    > 40 |     await expect(locator).toBeVisible({timeout: options?.timeout ?? ConstantHelper.timeout.long});
         |                           ^
      41 |     await locator.click({force: options?.force});
      42 |   }
      43 |
        at ContentUiHelper.click (D:\a\1\s\tests\Umbraco.Tests.AcceptanceTest\lib\helpers\BasePage.ts:40:27)
        at ContentUiHelper.goToBlockGridBlockWithName (D:\a\1\s\tests\Umbraco.Tests.AcceptanceTest\lib\helpers\ContentUiHelper.ts:2177:16)
        at D:\a\1\s\tests\Umbraco.Tests.AcceptanceTest\tests\DefaultConfig\Content\Clipboard\ClipboardBlockGridBlocks.spec.ts:158:27

    Error Context: ..\results\DefaultConfig-Content-Clip-dc7af-the-same-document-and-group-defaultConfig\error-context.md

    attachment #2: trace (application/zip) ─────────────────────────────────────────────────────────
    ..\results\DefaultConfig-Content-Clip-dc7af-the-same-document-and-group-defaultConfig\trace.zip
    Usage:

        npx playwright show-trace ..\results\DefaultConfig-Content-Clip-dc7af-the-same-document-and-group-defaultConfig\trace.zip

    ────────────────────────────────────────────────────────────────────────────────────────────────

    Retry #1 ───────────────────────────────────────────────────────────────────────────────────────

    Error: expect(locator).toBeVisible() failed

    Locator: locator('umb-content-workspace-view-edit-tab').filter({ hasText: 'TestGroup' }).locator(locator('umb-content-workspace-view-edit-properties')).filter({ hasText: 'TestBlockGridEditor' }).locator(locator('umb-block-grid-entry')).nth(2).filter({ hasText: 'TestElement' })
    Expected: visible
    Timeout: 10000ms
    Error: element(s) not found

    Call log:
      - Expect "toBeVisible" with timeout 10000ms
      - waiting for locator('umb-content-workspace-view-edit-tab').filter({ hasText: 'TestGroup' }).locator(locator('umb-content-workspace-view-edit-properties')).filter({ hasText: 'TestBlockGridEditor' }).locator(locator('umb-block-grid-entry')).nth(2).filter({ hasText: 'TestElement' })


       at ..\lib\helpers\BasePage.ts:40

      38 |    */
      39 |   async click(locator: Locator, options?: {force?: boolean; timeout?: number}): Promise<void> {
    > 40 |     await expect(locator).toBeVisible({timeout: options?.timeout ?? ConstantHelper.timeout.long});
         |                           ^
      41 |     await locator.click({force: options?.force});
      42 |   }
      43 |
        at ContentUiHelper.click (D:\a\1\s\tests\Umbraco.Tests.AcceptanceTest\lib\helpers\BasePage.ts:40:27)
        at ContentUiHelper.goToBlockGridBlockWithName (D:\a\1\s\tests\Umbraco.Tests.AcceptanceTest\lib\helpers\ContentUiHelper.ts:2177:16)
        at D:\a\1\s\tests\Umbrac
... [The stack trace has been truncated as it exceeded the maximum allowed size. Please refer to the complete log available in the Test Run attachments for full details.]