Skip to content

Commit 9ce41aa

Browse files
committed
update test selector
1 parent 9ac01b4 commit 9ce41aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1552,7 +1552,7 @@ describe('lexicalMain', () => {
15521552
await closeTagInMultiSelect.click()
15531553
await expect(decoratorLocator).toBeHidden()
15541554

1555-
const labelInsideCollapsableBody = page.locator('label').getByText('Sub Blocks')
1555+
const labelInsideCollapsableBody = page.locator('h3>span').getByText('Sub Blocks')
15561556
await labelInsideCollapsableBody.click()
15571557
await expectInsideSelectedDecorator(labelInsideCollapsableBody)
15581558

0 commit comments

Comments
 (0)