CA01-Cl02 | ||
open | /cms/logout/ | |
open | /admin/ | |
type | id_username | admin |
type | id_password | admin |
clickAndWait | //input[@value='Log in'] | |
clickAndWait | link=Content tree | |
clickAndWait | link=Add section | |
type | id_name_en | CA01-Cl02 Section |
type | id_slug | ca01-cl02-section |
select | id_status | label=Publicado |
clickAndWait | _continue | |
clickAndWait | link=View on site | |
verifyTextPresent | CA01-Cl02 Section | |
verifyTextPresent | You can edit in here | |
clickAndWait | //div[@id='content']/a/span | |
select | id_status | label=Borrador |
clickAndWait | _continue | |
clickAndWait | link=Log out | |
open | / | |
verifyTextNotPresent | CA01-Cl02 Section | |
open | /admin/ | |
type | id_username | admin |
type | id_password | admin |
clickAndWait | //input[@value='Log in'] | |
clickAndWait | link=Content tree | |
clickAndWait | link=CA01-Cl02 Section | |
select | id_status | label=Pendiente |
clickAndWait | _continue | |
clickAndWait | link=Log out | |
open | / | |
verifyTextNotPresent | CA01-Cl02 Section | |
open | /admin/ | |
type | id_username | admin |
type | id_password | admin |
clickAndWait | //input[@value='Log in'] | |
clickAndWait | link=Content tree | |
clickAndWait | link=CA01-Cl02 Section | |
clickAndWait | link=Delete | |
clickAndWait | //input[@value="Yes, I'm sure"] | |
clickAndWait | link=Log out |