Repository navigation
Add dragAndDrop tool for testing drag-and-drop scenarios - #267
DenysKuchma wants to merge 6 commits into
Conversation
DavertMik
left a comment
There was a problem hiding this comment.
Implementation is too verbose and overgrowths the context.
Also having 2 uniq locators is very fragile, we need to allow drag & drop by coordinates.
We need a better more tool to handle complex click & move interaction
The tool must use vision model to detect X coordinates to catch and Y to drop
This will help to work with sliders and draw utilities
Use direct Playwright API for it or improve dragAndDrop in CodeceptJS to handle coordinates
…rag-and-drop-support
…rag-and-drop-support
DavertMik
left a comment
There was a problem hiding this comment.
Please create a new file
explicit_tools where we will have non-standard interaction tool like dragNdrop, rightClick, etc
We will ask pilot if we need that tools - and it should pick it based on context and pass them to tester. By default no such tools are enabled. Planner must either choose them or not. Use decision model via .oracle method (with agentic model fallback)
# Conflicts: # src/ai/driller.ts # src/ai/rerunner.ts
Summary
#266
New
dragAndDrop()tester tool for drag-and-drop scenarios (reorder, move into folder, copy-drag with a modifier). Each drag escalates on its own until it lands: real mouse simulation → native HTML5 drag → synthetic drag events (for pages that cancel the mouse press).Also fixes generated tests breaking on locators containing quotes (
li:has-text("Item 2")) — now recorded escaped.