Browse Source

fix(test): rm wrong e2e tests

Andelf 2 years ago
parent
commit
8148bf4fc8
1 changed files with 0 additions and 16 deletions
  1. 0 16
      e2e-tests/editor.spec.ts

+ 0 - 16
e2e-tests/editor.spec.ts

@@ -40,28 +40,12 @@ test('hashtag search page auto-complete', async ({ page, block }) => {
 
   await block.mustFill("done")
 
-  await enterNextBlock(page)
-  await page.type('textarea >> nth=0', 'Some#', { delay: 100 })
-  await page.waitForSelector('text="Search for a page"', { state: 'visible' })
-  await page.keyboard.press('Escape', { delay: 50 })
-
-  await block.mustFill("done")
-
   await enterNextBlock(page)
   await page.type('textarea >> nth=0', 'Some #', { delay: 100 })
   await page.waitForSelector('text="Search for a page"', { state: 'visible' })
   await page.keyboard.press('Escape', { delay: 50 })
 
   await block.mustFill("done")
-
-  await enterNextBlock(page)
-  await page.type('textarea >> nth=0', 'SomeInner', { delay: 100 })
-  for (let i = 0; i < 5; i++) {
-    await page.press('textarea >> nth=0', 'ArrowLeft', { delay: 50 })
-  }
-  await page.type('textarea >> nth=0', '#', { delay: 50 })
-  await page.waitForSelector('text="Search for a page"', { state: 'visible' })
-  await page.keyboard.press('Escape', { delay: 50 })
 })
 
 test('disappeared children #4814', async ({ page, block }) => {