|
|
@@ -68,7 +68,9 @@ test('set heading of nested block to auto', async ({ page }) => {
|
|
|
|
|
|
await page.locator('#custom-context-menu .to-heading-button[title="Auto heading"]').click()
|
|
|
|
|
|
- expect(await page.locator('.ls-block .block-content >> nth=1').innerHTML()).toContain('<h3>bar</h3>')
|
|
|
+ await page.waitForTimeout(500)
|
|
|
+
|
|
|
+ expect(await page.locator('.ls-block .block-content >> nth=1').innerHTML()).toContain('<h2>bar</h2>')
|
|
|
})
|
|
|
|
|
|
test('view nested block on a dedicated page', async ({ page }) => {
|