Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Lenya Wiki" for change 
notification.

The following page has been changed by RenaudRichardet:
http://wiki.apache.org/lenya/TestPublish

The comment on the change is:
new page for publish tests

New page:
== TestPublish ==

=== Simple Test Publish === 
 * login as Lenya
 * create new testdoc, e.g. testdocXXX
 * submit the document
 * login as Alice
 * publish the document
 * assert the document is accesible in the live area (e.g. 
/live/testdocXXX.html)

=== Extended Test Publish === 
 * login as Lenya
 * create new testdoc, e.g. testdocXXX
 * assert workflow state = authoring
 * assert submit menu is enabled
 * assert reject menu is disabled
 * assert publish menu is disabled
 * assert deactivate menu is disabled
 * submit the document
 * assert submit menu is disabled
 * assert publish menu is disabled
 * assert reject menu is disabled
 * assert deactivate menu is disabled
 * assert workflow state = review
 * assert Live = no
 * login as Alice
 * assert submit menu is disabled
 * assert reject menu is enabled
 * assert publish menu is enabled
 * assert deactivate menu is disabled
 * assert workflow state = review
 * assert Live = no
 * publish the document
 * assert submit menu is disabled
 * assert reject menu is disabled
 * assert publish menu is disabled
 * assert deactivate menu is enabled
 * assert workflow state = live
 * assert Live = yes
 * assert the document is accesible in the live area (e.g. 
/live/testdocXXX.html)

=== Test Reject === 
 * login as Lenya
 * create new testdoc, e.g. testdocXXX
 * submit the document
 * login as Alice
 * reject the document
 * assert submit menu is enabled
 * assert reject menu is disabled
 * assert publish menu is disabled
 * assert deactivate menu is disabled
 * assert workflow state = authoring
 * assert Live = no
 * assert the document is NOT accesible in the live area (e.g. 
/live/testdocXXX.html)

=== Test Deactivate === 
 * login as Alice
 * create new testdoc, e.g. testdocXXX
 * submit the document
 * publish the document
 * deactivate the document
 * assert workflow state = authoring
 * assert submit menu is enabled
 * assert reject menu is disabled
 * assert publish menu is disabled
 * assert deactivate menu is disabled
 * assert workflow state = authoring
 * assert Live = no
 * assert the document is NOT accesible in the live area (e.g. 
/live/testdocXXX.html)

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to