mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-11-26 02:51:57 +03:00
test: fix mouse click down timeout
This commit is contained in:
parent
90e70ed986
commit
f1b3a10969
@ -19,7 +19,7 @@ test('drag a page from "All pages" list onto the "Trash" folder in the sidebar t
|
||||
// Ref: https://playwright.dev/docs/input#dragging-manually
|
||||
await page.getByText('AFFiNE - not just a note taking app').hover();
|
||||
await page.mouse.down();
|
||||
await page.waitForTimeout(10);
|
||||
await page.waitForTimeout(1000);
|
||||
await page.getByText('Trash').hover();
|
||||
await page.mouse.up();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user