diff --git a/packages/ui/src/fields/Blocks/index.tsx b/packages/ui/src/fields/Blocks/index.tsx index 089360eb4..26050c12e 100644 --- a/packages/ui/src/fields/Blocks/index.tsx +++ b/packages/ui/src/fields/Blocks/index.tsx @@ -319,7 +319,13 @@ const BlocksFieldComponent: BlocksFieldClientComponent = (props) => { + } /> diff --git a/test/lexical/collections/Lexical/e2e/main/e2e.spec.ts b/test/lexical/collections/Lexical/e2e/main/e2e.spec.ts index 45c323be0..c85513cc7 100644 --- a/test/lexical/collections/Lexical/e2e/main/e2e.spec.ts +++ b/test/lexical/collections/Lexical/e2e/main/e2e.spec.ts @@ -1552,7 +1552,7 @@ describe('lexicalMain', () => { await closeTagInMultiSelect.click() await expect(decoratorLocator).toBeHidden() - const labelInsideCollapsableBody = page.locator('label').getByText('Sub Blocks') + const labelInsideCollapsableBody = page.locator('h3>span').getByText('Sub Blocks') await labelInsideCollapsableBody.click() await expectInsideSelectedDecorator(labelInsideCollapsableBody) diff --git a/test/sort/e2e.spec.ts b/test/sort/e2e.spec.ts index 3175ff976..870c79502 100644 --- a/test/sort/e2e.spec.ts +++ b/test/sort/e2e.spec.ts @@ -48,6 +48,7 @@ describe('Sort functionality', () => { test('Orderable collection', async () => { const url = new AdminUrlUtil(serverURL, orderableSlug) await page.goto(`${url.list}?sort=-_order`) + await page.locator('.collection-list button', { hasText: 'Seed' }).click() // SORT BY ORDER ASCENDING await page.locator('.sort-header button').nth(0).click() await assertRows(0, 'A', 'B', 'C', 'D')