瀏覽代碼

Fix: Update auto-heading test

Looks like a bug is fixed on this branch
Gabriel Horner 2 年之前
父節點
當前提交
0967514aa0
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      e2e-tests/headings.spec.ts

+ 1 - 1
e2e-tests/headings.spec.ts

@@ -51,7 +51,7 @@ test('switch to auto heading', async ({ page }) => {
 
   await page.keyboard.press('Escape', { delay: 50 })
 
-  expect(await page.locator('.ls-block .block-content >> nth=0').innerHTML()).toContain('<h2>foo</h2>')
+  expect(await page.locator('.ls-block .block-content >> nth=0').innerHTML()).toContain('<h1>foo</h1>')
 })
 
 test('set heading of nested block to auto', async ({ page }) => {