Sha256: 749ac8fa13cdb642cacd22e04c7b8b5ff70e86d0600cecc045796264c6d249a3

Contents?: true

Size: 1.05 KB

Versions: 12

Compression:

Stored size: 1.05 KB

Contents

@old_title = 'Kill the bugs'
@new_title = 'New Ajax page'

open '/oo/testnode37.html?test=edit3'
set_timeout 4000
assert_element_not_present 'edit31_title'
verify_text "css=#edit31 td.title", @old_title

# edit (does not click on 'v_status' checkbox)
click 'link=edit'
wait_for_element_present 'edit31_title'
type 'edit31_title', @new_title

# submit
click 'css=input[type=submit]'
wait_for_element_not_present 'edit31_title'
verify_text "css=#edit31 td.title", @new_title

# edit again
click 'link=edit'
wait_for_element_present 'edit31_title'

# cancel
click 'css=img[alt="cancel"]'
wait_for_element_not_present 'edit31_title'

# edit again
click 'link=edit'
wait_for_element_present 'edit31_title'
# Ensure we do proper ajax replacements
assert_element_not_present 'css=#edit3 form form'
type 'edit31_title', @old_title

# submit
click 'css=input[type=submit]'
wait_for_element_not_present 'edit31_title'
verify_text "css=#edit31 td.title", @old_title

# ensure changes are recorded
open '/oo/testnode37.html?test=edit3'
verify_text "css=#title .s70 #_title37", @old_title

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
zena-1.2.8 test/selenium/Edit/edit3.rsel
zena-1.2.7 test/selenium/Edit/edit3.rsel
zena-1.2.6 test/selenium/Edit/edit3.rsel
zena-1.2.5 test/selenium/Edit/edit3.rsel
zena-1.2.4 test/selenium/Edit/edit3.rsel
zena-1.2.3 test/selenium/Edit/edit3.rsel
zena-1.2.2 test/selenium/Edit/edit3.rsel
zena-1.2.1 test/selenium/Edit/edit3.rsel
zena-1.2.0 test/selenium/Edit/edit3.rsel
zena-1.1.3 test/selenium/Edit/edit3.rsel
zena-1.1.2 test/selenium/Edit/edit3.rsel
zena-1.1.1 test/selenium/Edit/edit3.rsel