diff --git a/frontend/e2e/playlists.spec.ts b/frontend/e2e/playlists.spec.ts index 57b8417d..f6691d87 100644 --- a/frontend/e2e/playlists.spec.ts +++ b/frontend/e2e/playlists.spec.ts @@ -201,6 +201,9 @@ test.describe("dragging onto a list", { tag: "@playlists" }, () => { await page.getByRole("button", { name: `Reorder “${videos[0]!.title}”`, exact: false }).focus(); await page.keyboard.press("Space"); await said(page, /picked up/i); + // A person's pause: dnd-kit drops an arrow pressed before it has measured the lifted row, which + // nothing on the page announces (11 of 31 runs without it, none of 31 with it). + await page.waitForTimeout(300); await page.keyboard.press("ArrowDown"); await said(page, /position 2/); await page.keyboard.press("Space");