mirror of https://github.com/logseq/logseq
fix: e2e tests
parent
b1249c09d8
commit
5d646b67c1
|
@ -100,6 +100,7 @@ test('copy/paste url to create an iFrame shape', async ({ page }) => {
|
|||
await page.keyboard.press('t')
|
||||
await page.mouse.move(bounds.x + 5, bounds.y + 5)
|
||||
await page.mouse.down()
|
||||
await page.waitForTimeout(100)
|
||||
|
||||
await page.keyboard.type('https://logseq.com')
|
||||
await page.keyboard.press(modKey + '+a', { delay: 10 })
|
||||
|
@ -118,6 +119,7 @@ test('copy/paste twitter status url to create a Tweet shape', async ({ page }) =
|
|||
await page.keyboard.press('t')
|
||||
await page.mouse.move(bounds.x + 5, bounds.y + 5)
|
||||
await page.mouse.down()
|
||||
await page.waitForTimeout(100)
|
||||
|
||||
await page.keyboard.type('https://twitter.com/logseq/status/1605224589046386689')
|
||||
await page.keyboard.press(modKey + '+a', { delay: 10 })
|
||||
|
@ -136,6 +138,7 @@ test('copy/paste youtube video url to create a Youtube shape', async ({ page })
|
|||
await page.keyboard.press('t')
|
||||
await page.mouse.move(bounds.x + 5, bounds.y + 5)
|
||||
await page.mouse.down()
|
||||
await page.waitForTimeout(100)
|
||||
|
||||
await page.keyboard.type('https://www.youtube.com/watch?v=hz2BacySDXE')
|
||||
await page.keyboard.press(modKey + '+a', { delay: 10 })
|
||||
|
|
Loading…
Reference in New Issue