CA20-Cl02.html
open /cms/logout
open /admin/
type id_username admin
type id_password admin
clickAndWait //input[@value='Iniciar sesión']
clickAndWait link=Section
clickAndWait link=Añadir section
type id_name_es Prueba ca20-cl02
type id_slug prueba-ca20-cl02
select id_status label=Publicado
clickAndWait _continue
click link=Section children
clickAndWait link=documentos
clickAndWait link=Añadir documento
type id_name_es Documento CA20-CL02
type id_slug documento-ca20-cl02
select id_status label=Publicado
clickAndWait _continue
click link=Documento children
clickAndWait link=videos
clickAndWait link=Añadir vídeo
type id_name Vídeo
select id_status label=Publicado
type id_file_0 /home/fgil/Escritorio/merengue/selenium/test-data/test-video-flv.flv
clickAndWait _continue
clickAndWait link=Documento CA20-CL02
clickAndWait link=Ver en el sitio
click //div[@id='slideshow']/div/div[2]/div/div/a/span
pause 3000
verifyTextPresent Vídeo
click //div[@id='shadowbox_title_close']/a/img
open admin/
clickAndWait link=Section
clickAndWait link=Prueba ca20-cl02
click link=Section children
clickAndWait link=documentos
clickAndWait link=Documento CA20-CL02
click link=Documento children
clickAndWait link=videos
clickAndWait link=Vídeo
select id_status label=Borrador
clickAndWait _continue
clickAndWait link=Documento CA20-CL02
clickAndWait link=Ver en el sitio
verifyTextNotPresent Vídeo
open /admin
clickAndWait link=Contenido
clickAndWait link=Documento CA20-CL02
clickAndWait link=Borrar
clickAndWait //input[@value='Sí, estoy seguro']
clickAndWait link=Inicio
clickAndWait link=Section
clickAndWait link=Prueba ca20-cl02
clickAndWait link=Borrar
clickAndWait //input[@value='Sí, estoy seguro']
clickAndWait link=Inicio
clickAndWait link=Terminar sesión