Explorar o código

Fix: Update auto-heading test

Looks like a bug is fixed on this branch
Gabriel Horner %!s(int64=2) %!d(string=hai) anos
pai
achega
0967514aa0
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 }) => {