open |
/cms/logout/ |
|
open |
/admin/ |
|
type |
id_username |
admin |
type |
id_password |
admin |
clickAndWait |
//input[@value='Log in'] |
|
clickAndWait |
link=Browse by type |
|
clickAndWait |
link=Video* |
|
clickAndWait |
link=Add video |
|
type |
id_name |
nuevo |
type |
id_file_0 |
${TEST_DATA_DIR}/test-video-flv.flv |
clickAndWait |
_save |
|
clickAndWait |
link=nuevo |
|
clickAndWait |
link=Delete |
|
assertTextPresent |
exact:Are you sure? |
|
assertTextPresent |
Video: nuevo |
|
clickAndWait |
//input[@value="Yes, I'm sure"] |
|
assertTextPresent |
was deleted successfully. |
|
clickAndWait |
link=Log out |
|