mirror of https://github.com/logseq/logseq
fix(test): add delay to e2e testing (#5804)
parent
abcfd9cf74
commit
6afdfedb51
|
@ -120,7 +120,8 @@ test('template', async ({ page, block }) => {
|
|||
|
||||
await createRandomPage(page)
|
||||
|
||||
await block.mustFill('template test\ntemplate:: ' + randomTemplate)
|
||||
await block.mustFill('template test\ntemplate:: ')
|
||||
await page.keyboard.type(randomTemplate, {delay: 100})
|
||||
await page.keyboard.press('Enter')
|
||||
await block.clickNext()
|
||||
|
||||
|
@ -195,7 +196,7 @@ test('auto completion and auto pair', async ({ page, block }) => {
|
|||
|
||||
// {{
|
||||
await block.mustType('type {{', { toBe: 'type {{}}' })
|
||||
|
||||
await page.waitForTimeout(100);
|
||||
// ((
|
||||
await block.clickNext()
|
||||
|
||||
|
|
Loading…
Reference in New Issue