CA17-Cl02
open /cms/logout
open /admin/
type id_username admin
type id_password admin
clickAndWait //input[@value='Log in']
clickAndWait link=Photos
clickAndWait link=Add photo
type id_name CA17-Cl02 photo
select id_status label=Publicado
type id_image ${TEST_DATA_DIR}/test_image.jpg
clickAndWait _save
verifyTextPresent CA17-Cl02 photo
verifyTextPresent Publicado
clickAndWait link=CA17-Cl02 photo
select id_status label=Borrador
clickAndWait _save
verifyTextPresent CA17-Cl02 photo
verifyTextPresent Borrador
clickAndWait link=CA17-Cl02 photo
select id_status label=Pendiente
clickAndWait _save
verifyTextPresent CA17-Cl02 photo
verifyTextPresent Pendiente
clickAndWait link=CA17-Cl02 photo
clickAndWait link=Delete
clickAndWait //input[@value="Yes, I'm sure"]
clickAndWait link=Log out