| open |
/cms/logout/ |
|
| open |
/admin/ |
|
| type |
id_username |
admin |
| type |
id_password |
admin |
| clickAndWait |
css=input[type=submit] |
|
| click |
link=Plugin administration |
|
| clickAndWait |
css=#plugins > dl > dt > a[title=Plugins] |
|
| clickAndWait |
link=Micro Sites |
|
| click |
id_installed |
|
| clickAndWait |
_save |
|
| clickAndWait |
link=Content management |
|
| click |
link=User management |
|
| clickAndWait |
link=Users |
|
| clickAndWait |
link=Add new |
|
| type |
id_username |
user1 |
| type |
id_password1 |
user1 |
| type |
id_password2 |
user1 |
| clickAndWait |
_continue |
|
| click |
id_is_staff |
|
| clickAndWait |
_addanother |
|
| type |
id_username |
user2 |
| type |
id_password1 |
|
| type |
id_password1 |
user2 |
| type |
id_password2 |
user2 |
| clickAndWait |
_continue |
|
| click |
id_is_staff |
|
| clickAndWait |
_addanother |
|
| type |
id_username |
user3 |
| type |
id_password1 |
|
| type |
id_password1 |
user3 |
| type |
id_password2 |
user3 |
| clickAndWait |
_continue |
|
| click |
id_is_staff |
|
| clickAndWait |
_save |
|
| clickAndWait |
link=Content management |
|
| clickAndWait |
link=Browse by type |
|
| clickAndWait |
link=Microsites |
|
| clickAndWait |
link=Add microsite |
|
| click |
css=label.required |
|
| type |
id_name_en |
Microsite test |
| type |
//*[@id="id_owners_text"] |
user1 |
| click |
id_owners_text |
|
| pause |
100 |
|
| click |
css=li.ac_even > strong |
|
| pause |
100 |
|
| type |
//*[@id="id_owners_text"] |
user2 |
| click |
id_owners_text |
|
| click |
css=li.ac_even > strong |
|
| pause |
100 |
|
| type |
//*[@id="id_owners_text"] |
user3 |
| click |
id_owners_text |
|
| click |
css=li.ac_even > strong |
|
| pause |
100 |
|
| clickAndWait |
_save |
|
| clickAndWait |
link=Log out |
|
| open |
/admin |
|
| type |
id_username |
user1 |
| type |
id_password |
user1 |
| clickAndWait |
css=input[type=submit] |
|
| clickAndWait |
link=Browse by type |
|
| clickAndWait |
link=Microsites |
|
| verifyTextPresent |
Microsite test |
|
| clickAndWait |
link=Microsite test |
|
| verifyTextPresent |
Draft |
|
| verifyTextPresent |
Pending |
|
| verifyTextNotPresent |
Published |
|
| click |
link=Contents |
|
| clickAndWait |
link=news |
|
| clickAndWait |
link=Add news item |
|
| open |
/admin/microsite/microsite/323/newsitem/add/?testing=1 |
|
| click |
css=label.required |
|
| type |
id_name_en |
News1 |
| click |
id_body_en |
|
| type |
id_body_en |
This is a test |
| clickAndWait |
_continue |
|
| verifyTextPresent |
Draft |
|
| verifyTextPresent |
Pending |
|
| clickAndWait |
link=Log out |
|
| type |
id_username |
user2 |
| type |
id_password |
user2 |
| clickAndWait |
css=input[type=submit] |
|
| clickAndWait |
link=Browser by type |
|
| clickAndWait |
link=Microsites |
|
| verifyTextPresent |
Microsite test |
|
| click |
link=Microsite test |
|
| verifyTextPresent |
Draft |
|
| verifyTextPresent |
Pending |
|
| click |
link=Contents |
|
| clickAndWait |
link=news |
|
| verifyTextPresent |
News1 |
|
| clickAndWait |
link=News1 |
|
| verifyTextPresent |
Draft |
|
| verifyTextPresent |
Pending |
|
| click |
//form[@id='newsitem_form']/div[3]/fieldset/div[11]/div/span/label |
|
| clickAndWait |
_continue |
|
| verifyTextPresent |
The news item "News1" was changed successfully. You may edit it again below. |
|
| clickAndWait |
link=Log out |
|
| selectWindow |
null |
|
| type |
id_username |
user3 |
| type |
id_password |
user3 |
| clickAndWait |
css=input[type=submit] |
|
| clickAndWait |
link=Browser by type |
|
| clickAndWait |
link=Microsites |
|
| verifyTextPresent |
Microsite test |
|
| clickAndWait |
link=Microsite test |
|
| click |
link=Contents |
|
| clickAndWait |
link=news |
|
| clickAndWait |
link=News1 |
|
| clickAndWait |
link=Delete |
|
| clickAndWait |
css=input[type=submit] |
|
| verifyTextPresent |
The news item "News1" was deleted successfully. |
|
| clickAndWait |
link=Log out |
|
| clickAndWait |
css=input[type=submit] |
|
| clickAndWait |
link=Browse by type |
|
| clickAndWait |
link=Microsites |
|
| clickAndWait |
link=Microsite test |
|
| clickAndWait |
link=Delete |
|
| clickAndWait |
css=input[type=submit] |
|
| clickAndWait |
link=Log out |
|
| clickAndWait |
css=input[type=submit] |
|
| clickAndWait |
link=Browse by type |
|
| clickAndWait |
link=User management |
|
| clickAndWait |
link=Users |
|
| click |
//input[@name='_selected_action' and @value='27'] |
|
| click |
//input[@name='_selected_action' and @value='28'] |
|
| click |
//input[@name='_selected_action' and @value='29'] |
|
| select |
action |
label=Eliminar usuarios seleccionado/s |
| clickAndWait |
index |
|
| clickAndWait |
css=input[type=submit] |
|
| clickAndWait |
link=Plugin administration |
|
| clickAndWait |
css=#plugins > dl > dt > a[title=Plugins] |
|
| clickAndWait |
link=Micro Sites |
|
| click |
id_installed |
|
| click |
id_active |
|
| clickAndWait |
_save |
|
| clickAndWait |
link=Log out |
|