Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-21351

Create 'collection' feature test

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WEBUI-0.9.0
    • Component/s: Web UI

      Description

      Create the following tests:

      Feature: Collection
      
        Collections can be well managed
      
        Background:
          Given I login as 'Member User'
          And I have a Folder with documents and read permission
          And there are several collections with read/write permissions
      
        Scenario: View collections
          When I click the Collections menu item
          Then I see all collection that I have reading permission
      
        Scenario: View collection
          When I click the Collections menu item
          And press a collection
          Then I see a data table with all the collection documents
      
        Scenario: View Favorites
          When I click the Favorites menu item
          Then I see all my favorite documents on the document queue (drawer)
      
        Scenario: 'Add to Collection' action
          When I browse to a Document
          Then I see a 'Add to Collection' button
      
        Scenario: Choose collection to add to
          Given I am on a document
          When I click the 'Add to Collection' button
          Then a popup with Add to collection title appear
          And allows me to search and select my collection
      
        Scenario: Add to My Favorites
          Given I am on a document
          When I add it to My Favorites Collection
          And I navigate to Favorites Menu
          Then I see the Document on the document queue
      
        Scenario: Add to collection
          Given I am on a document
          When I add the document to my collection
          And navigate to that collection
          Then I see that document on the data table
      
        Scenario: View collections on document
          Given I am on a document
          When I add that document to a collection
          Then I see that collection on the 'Collections' panel
      
        Scenario: Add bulk document to collection
          Given I am on a folder
          When I select several document
          And add to a collection
          And I navigate to the collection
          Then I see those documents on the data table
      
        Scenario: Remove document from collection
          Given I am on document
          And the document is on a collection
          When I click the cross icon on the collection on the 'Collections' Panel
          Then the document is removed from collection
          And that collection is removed from 'Collections' Panel
      
        Scenario: Remove document from Favorites
          Given I am on the Favorite menu option
          When I click the Cross icon on a document
          Then the document is removed from My Favorites collection
          And the document is removed from the queue (drawer)
          And a toast appear displaying that the document was removed
      
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: