fix e2e ci

pull/8562/head
Andelf 2023-02-10 11:40:19 +08:00
parent 7e4698315d
commit 78a65c53f0
1 changed files with 2 additions and 1 deletions

View File

@ -143,6 +143,7 @@ test('template', async ({ page, block }) => {
await block.waitForBlocks(5)
// NOTE: use delay to type slower, to trigger auto-completion UI.
await block.clickNext()
await block.mustType('/template')
await page.click('[title="Insert a created template here"]')
@ -153,7 +154,7 @@ test('template', async ({ page, block }) => {
await popupMenuItem.waitFor({ timeout: 2000 }) // wait for template search
await popupMenuItem.click()
await block.waitForBlocks(8)
await block.waitForBlocks(9)
})
test('auto completion square brackets', async ({ page, block }) => {