소스 검색

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 }) => {