| open |
/multisite_drupal_test/en |
|
| click |
//body |
|
| clickAndWait |
link=Home |
|
| clickAndWait |
link=login |
|
| type |
id=edit-name |
contributor |
| type |
id=edit-pass |
pass |
| clickAndWait |
id=edit-submit |
|
| clickAndWait |
link=News |
|
| clickAndWait |
link=Create a News |
|
| type |
id=edit-title |
News 01 test unpublish |
| click |
id=edit-workbench-moderation-state-new |
|
| select |
id=edit-workbench-moderation-state-new |
label=Needs Review |
| click |
css=option[value="needs_review"] |
|
| clickAndWait |
id=edit-submit |
|
| clickAndWait |
link=Log out |
|
| clickAndWait |
link=login |
|
| type |
id=edit-name |
contributor |
| type |
id=edit-pass |
pass |
| clickAndWait |
id=edit-submit |
|
| clickAndWait |
link=News |
|
| clickAndWait |
link=My workbench |
|
| clickAndWait |
link=News 01 test unpublish |
|
| clickAndWait |
link=Edit draft |
|
| type |
id=edit-field-news-publication-date-und-0-value-date |
07/17/2012 - 10:15 |
| type |
id=edit-field-news-unpublication-date-und-0-value-date |
07/17/2012 - 10:30 |
| clickAndWait |
id=edit-submit |
|
| clickAndWait |
link=Log out |
|
| clickAndWait |
link=login |
|
| type |
id=edit-name |
administrator |
| clickAndWait |
id=edit-submit |
|
| clickAndWait |
link=My workbench |
|
| clickAndWait |
link=Needs Review |
|
| clickAndWait |
link=Validated |
|
| clickAndWait |
xpath=(//a[contains(text(),'Log out')])[2] |
|
| clickAndWait |
link=News |
|
| verifyTextNotPresent |
|
News 01 test unpublish |
| clickAndWait |
link=News |
|
| verifyTextPresent |
|
News 01 test unpublish |