Move the card on the Kanban board from the “Pending” column to the “Done” column.
Playwright’s dragTo() method is built for this operation. Simply chain it from the source locator to the target locator:
await page.locator('#task-card').dragTo(page.locator('#col-done'));
Alternatively, you can manually fire the drag-drop event chain using dispatchEvent(): first dragstart on the card, then dragover and drop on the target column.
The page object is already available. The mission passes when the card lands in the correct column.