[ruby] Cucumber + Capybara + Selenium / WebDriver: drag and drop problems

240 views
Skip to first unread message

Ramon

unread,
Sep 27, 2010, 10:00:57 PM9/27/10
to Selenium Users
Hey everyone,

I'm using the Cucumber and Capybarag to test a drag and drop scenario.

You can find the scenario and the drag and drop step here:
http://pastie.org/1183920

At http://drop.io/r0zftu0/asset/dragdrop (I suggest you download the
video and watch it with VLC), you can find a video showing that the
item I'm trying to drag becomes transparent, but it seems like it's
dropped immediately. It happens again (because I set it to sleep and
to try another one - see code) but doesn't drop in the place I expect.

What do I do? I've searched the mailing list and I've seen people run
into similar problems but I'm not sure what version they're using.
Here are my gems:

capybara (0.3.9)
cucumber (0.8.5)
cucumber-rails (0.3.2)
rspec (1.3.0)
rspec-rails (1.3.2)
selenium-webdriver (0.0.27)

Thanks,
Ramon Tayag
Reply all
Reply to author
Forward
0 new messages