# HG changeset patch # User Daniele Nicolodi # Date 1308128665 -7200 # Node ID 2c9d655fe0ab8189a9db681d361c9544b4968482 # Parent 2b7f9772585ad54f5c2c6feba51347774fdf2be4 Test drop database action cancellation. diff -r 2b7f9772585a -r 2c9d655fe0ab src/ltpdarepo/tests/manage-databases.txt --- a/src/ltpdarepo/tests/manage-databases.txt Mon Jun 27 16:28:23 2011 +0200 +++ b/src/ltpdarepo/tests/manage-databases.txt Wed Jun 15 11:04:25 2011 +0200 @@ -56,6 +56,17 @@ >>> browser.contents '...

Description: Test Database One

...' +Drop operation can be cancelled:: + + >>> browser.getLink('Drop').click() + >>> browser.url + 'http://localhost/manage/databases/database1/drop' + >>> browser.getControl(name='cancel').click() + >>> browser.url + 'http://localhost/manage/databases/database1' + >>> browser.contents + '...
Operation cancelled.
...' + Drop database:: >>> browser.getLink('Drop').click() @@ -66,3 +77,4 @@ 'http://localhost/manage/databases/' >>> browser.contents '...
Database "database1" deleted.
...' +