Sha256: 446ce46ea4ad6db9b7f304b2ad3cc1024df745c963bf6349483e788b662b4b8f

Contents?: true

Size: 1.03 KB

Versions: 10

Compression:

Stored size: 1.03 KB

Contents

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

open '/oo/testnode37.html?test=edit2'
set_timeout 4000
assert_element_not_present 'edit21_title'
verify_text "css=#edit21 li.title", @old_title

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

# submit
click 'css=input[type=submit]'
wait_for_element_not_present 'edit21_title'
verify_text "css=#edit21 li.title", @new_title

# edit again (click on 'v_status' checkbox)
click 'link=edit'
wait_for_element_present 'edit21_title'

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

# edit again
click 'link=edit'
wait_for_element_present 'edit21_title'
type 'edit21_title', @old_title
click 'css=#edit2 input[type=checkbox]'

# submit
click 'css=input[type=submit]'
wait_for_element_not_present 'edit21_title'
verify_text "css=#edit21 li.title", @old_title

# ensure page is published
open '/oo/testnode37.html?test=edit2'
verify_text "css=#title .s50 #_title37", @old_title

Version data entries

10 entries across 10 versions & 1 rubygems

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