TestPublish

Simple Test Submit

  • login as Lenya
  • create new testdoc, e.g. testdocXXX
  • submit the document

Extended Test Submit

  • 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
  • assert the document is NOT accessible in the live area (e.g. /live/testdocXXX.html)

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 Alice
  • create new testdoc, e.g. testdocXXX
  • submit the document
  • 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)
  • No labels