Sha256: a8f394a90c5e17cdae391aa0407b82d2912cedc611f90a3c063792c6aeea749d

Contents?: true

Size: 1.17 KB

Versions: 2

Compression:

Stored size: 1.17 KB

Contents

=begin
open "/oo/testnode37.html?test=drop1"
assert_element_not_present 'drop121_33'

# Drag & Drop
set_timeout 4000
drag_and_drop_to_object "css=#drag_33 > span.drag_handle", "css=#drop12"
wait_for_element_present "drop121_33"
verify_text "drop121_33", "Art"
# Unlink
click "css=img[alt=remove]"
wait_for_element_not_present "drop121_33"

# Restart

# Drag & Drop
drag_and_drop_to_object "css=#drag_33 > span.drag_handle", "css=#drop12"
wait_for_element_present "drop121_33"
verify_text "drop121_33", "Art"

# Make sure the changes are commited to db
open "/oo/testnode37.html?test=drop1"
assert_element_present 'drop121_33'
# Unlink
click "css=img[alt=remove]"
wait_for_element_not_present "drop121_33"

<div class='test' id='drop4' do='selenium'>
  <h3>drop4</h3>
  <p>Drag duplicate elements in source.</p>

  <ul class='box' do='pages in project limit 3'>
    <li class='#{id}' do='each' draggable='true' do='title'/>
  </ul>

  <ul class='box' do='pages in project limit 3'>
    <li class='#{id}' do='each' draggable='true' do='title'/>
  </ul>

  <ul do='drop' set='reference' change='receiver' do='references'>
    <li class='#{id}' do='each'><r:unlink/> <r:title/></li>
  </ul>
</div>
=end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
zena-1.1.1 test/selenium/Drop/drop4.rsel
zena-1.1.0 test/selenium/Drop/drop4.rsel