Afaik the drag drop in sortable list relies on distance, rather than
which element you are dragging over. drag_to might not work in that
case. A colleague of mine did something with drag_by, which is an
internal Selenium method that Capybara does not diectly expose (call
fint('foo').native.drag_by). It's all a bit tricky, I don't think he
got it working very well.
/Jonas
On Mon, Nov 22, 2010 at 6:31 PM, Cristian <cristianvg2
...@gmail.com> wrote:
> Hi,
> I'm testing some Sintra app using Cucumber and Capybara with Selenium
> driver, but I'm stuck in some drag and drop functionality, the app is
> using Jquery sortable method to do the job; seem's that is not the
> same drag an element with draggable - droppable functionality that
> drag one with sortable functionality, the last one just don't work.
> am I right ?, there is a solution ?
> thanls,