Skip to content

Commit 9ec8973

Browse files
committed
test more
1 parent d9b2702 commit 9ec8973

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

test/lexical/collections/Lexical/e2e/main/e2e.spec.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1454,6 +1454,8 @@ describe('lexicalMain', () => {
14541454

14551455
await expect(lexicalWithBlocks.locator('.lexical-blocks-custom-description')).toHaveCount(1)
14561456
await expect(lexicalWithBlocks.locator('.lexical-blocks-custom-description')).toBeVisible()
1457+
1458+
await expect(lexicalWithBlocks.locator('.field-description')).toHaveCount(0)
14571459
})
14581460

14591461
test('ensure admin.description property is rendered', async () => {

test/lexical/collections/Lexical/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -354,6 +354,7 @@ export const getLexicalFieldsCollection: (args: {
354354
components: {
355355
Description: '/collections/Lexical/components/Description.js#Description',
356356
},
357+
description: 'Should not be rendered',
357358
},
358359
editor: lexicalEditor({
359360
admin: {

0 commit comments

Comments
 (0)