Auto Gen Actions Check 13

Document created by resplin Employee on Jun 6, 2015
Version 1Show Document
  • View in full screen mode

Obsolete Pages{{Obsolete}}

The official documentation is at: http://docs.alfresco.com



Test ScriptsBack to Auto Scripts
1.3
Archived




General Actions Test


Summary:

This test checks the Actions available to Spaces and Content within the Browse view.



Detail:

The test performs the following:


  • Runs the internal Action called 'Visibility Check'
    • Checks that the Shelf is visible
    • Clicks the link to hide the Shelf
    • Checks that the Shelf is not visible
    • Clicks the link to show the shelf
    • Checks that the shelf is visible again
  • Runs the internal Action called 'CDR' (Create, Delete, Recover)
    • Creates a Space called 'TestSpace'
    • Deletes the TestSpace - says No to the delete confirmation
    • Checks that the space has not been deleted
    • Deleted the TestSpace - this time saying Yes to the delete confirmation
    • Check that the TestSpace has indeed been deleted
    • Opens the Manage Deleted Items screen
    • Recovers the TestSpace space
    • Validates the recovery has been successful
  • Creates 3 new spaces: CutSpace, CopySpace & PasteSpace
  • Runs the internal Action 'SpaceActionsCheck'
    • Note: all the Space actions are run by calling the external reusable action BBSpaceActions
    • Performs the Copy action on the CopySpace and verifies the action
    • Performs the Cut action on the CutSpace and verifies the action
    • Clicks into the PasteSpace and verifies action
    • Verifies that the Clipboard contains the CopySpace and the CutSpace
    • Calls the external reusable action 'ClibboardActions' to paste the CopySpace clipboard item into the current space (PasteSpace)
    • Calls the external reusable action 'ClibboardActions' to paste the CutSpace clipboard item into the current space (PasteSpace)
    • Verifies that the Clipboard no longer contains the CutSpace item
    • Verifies that the PasteSpace's browse view shows both the CopySpace and CutSpace spaces
    • Calls the external reusable action 'ClibboardActions' to 'paste as link' the CopySpace clipboard item into the current space (PasteSpace)
    • Verifies that the PasteSpace's browse view shows both the CopySpace and CutSpace spaces, and the Link to CopySpace
    • Calls the external reusable action 'ClibboardActions' to remove the CopySpace clipboard item from the clipboard
    • Verifies that the clipboard is now empty
    • Performs the Preview in Template action on the CopySpace and verfies the action
    • Verifies that the Preview In Template screen is shown, and then closes it
    • Performs the View Details action on the CopySpace and verfies the action
    • Verifies that the View Details screen is shown, and then closes it
    • Performs the Delete action on the CopySpace and verfies the action
    • Verifies that the Delete screen is shown, and then closes it by clicking the No button
    • Performs the Start Discussion action on the CopySpace and verfies the action
    • Verifies that the Start Discussion screen is shown, and completes the creation of a discussion
    • Performs the View Discussions action on the CopySpace and verfies the action
    • Verifies that the View Discussions screen is shown, and then closes it
  • Runs the internal Action 'ContentActionsCheck'
    • Note: all the Content actions are run by calling the external reusable action CIContentActions
    • Adds Content to the TestSpace space - pangram.html
    • Performs the Edit action on the content and verfies the action
    • Verifies that the Edit (inline) screen is shown, and then closes it
    • Performs the Check Out action on the content and verfies the action
    • Verifies that the Check Out screen is shown, and completes the Check Out process
    • Performs the Edit action Negative check on the Locked content
    • Verifies that the Edit action is Not available for Locked content
    • Performs the Check Out action Negative check on the Locked content
    • Verifies that the Check Out action is Not available for Locked content
    • Performs the Delete action Negative check on the Locked content
    • Verifies that the Delete action is Not available for Locked content
    • Performs the Update action Negative check on the Locked content
    • Verifies that the Update action is Not available for Locked content
    • Performs the Start Discussion action Negative check on the Locked content
    • Verifies that the Start Discussion action is Not available for Locked content
    • Performs the Check In action Negative check on the Locked content
    • Verifies that the Check In action is Not available for Locked content
    • Performs the Undo Check Out action Negative check on the Locked content
    • Verifies that the Undo Check Out action is Not available for Locked content
    • Performs the Check Out action Negative check on the Working Copy content
    • Verifies that the Check Out action is Not available for Working Copy content
    • Performs the Undo Check Out action on the Working Copy content
    • Verifies that the Undo Check Out screen is shown, and completes the Undo Checkout process
    • Performs the Check Out action on the content and verfies the action
    • Verifies that the Check Out screen is shown, and completes the Check Out process
    • Performs the Check In action on the Working Copy content
    • Verifies that the Check In screen is shown, and completes the Check In process
    • Performs the Click action Negative check on the Working Copy content (tries to click the Working Copy which should no longer exist)
    • Verifies that Working Copy can not be clicked
    • Performs the View Details action on the content and verfies the action
    • Verifies that the View Details screen is shown, and then closes it
    • Performs the Preview in Template action on the content and verfies the action
    • Verifies that the Preview in Template screen is shown, and then closes it
    • Performs the Delete action on the content and verfies the action
    • Verifies that the Delete screen is shown, and then closes it
    • Performs the Update action on the content and verfies the action
    • Verifies that the Update screen is shown, and then closes it
    • Performs the Cut action on the content and verfies the action
    • Verifies that content is placed into the clipboard with the Cut indicator
    • Removes the content from the Clipboard and validates that the Clipboard is then empty
    • Performs the Copy action on the content and verfies the action
    • Verifies that content is placed into the clipboard with the Copy indicator
    • Performs the Update action on the content and verfies the action
    • Verifies that the Update screen is shown, and then closes it
    • Performs the View Discussions action Negative check on the content (before a discussion has been created)
    • Verifies that the View Discussions action is Not available for content
    • Performs the Start Discussion action on the content and verfies the action
    • Verifies that the Start Discussion screen is shown, and completes the adding of a discussion
    • Performs the View Discussions action on the content and verfies the action
    • Verifies that the View Discussions screen is shown, and closes it
    • Returns to the Company Home and clicks through TestSpace -> PasteSpace
    • Pastes as Link the Clipboard item (pangram.html placed there earlier in the test)
    • Performs the Edit action Negative check on the content Link
    • Verifies that the Edit action is Not available for content Link
    • Performs the Check Out action Negative check on the content Link
    • Verifies that the Check Out action is Not available for content Link
    • Performs the Update action Negative check on the content Link
    • Verifies that the Update action is Not available for content Link




Enhancements


  • Once the BBSpaceActions action can perform negative checks:
    • Check that Space does not have 'View Discussions' before a discussion is created
    • Check the actions available to a Space link
  • Include positive checks on content Links? - do they have a seperate list of actions to normal content
  • Check actions based on permissions - should be in permissions tests
  • Check actions available in 'Details' view corresponds to actions available in browse view, and check that they work.

Attachments

    Outcomes