Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-134960

Test Automation LPS-119705 for "As a portlet developer, I want to decide whether internal categories show in the categories selector or not"

    Details

    • Type: Testing
    • Status: Closed
    • Priority: Minor
    • Resolution: Completed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Categories
    • Labels:
      None

      Description

      To be written in the CategoriesUseCase.testcase file

      Test 1: When the user access to Blogs and tries to search by category or to assign a category to an item, all categories, regardless the visibility of the vocabularies they belong to, are available.
      test AddCategoryOfAnyVisibilityToBlogs.

      1. Go to Site Menu > Categorization > Categories
      2. Add new Vocabulary > Set Name ('Public Vocabulary Name') > Set Visibility to Public > Save
      3. Add new Category > Set Name ('Public Category Name') > Save
      4. Add new Vocabulary > Set Name ('Internal Vocabulary Name') > Set Visibility to Internal > Save
      5. Add new Category > Set Name ('Internal Category Name') > Save
      6. Go to Site Menu > Content and Data > Blogs > '+'
      7. Set 'Name'
      8. Open Categorization panel > Public Categories
      9. Add 'Public Category Name'
      10. Open Categorization panel > Internal Categories
      11. Add 'Internal Category Name'
      12. Click Publish

      Test 2: When the user access to Web Content and tries to search by category or to assign a category to an item, all categories, regardless the visibility of the vocabularies they belong to, are available.
      test AddCategoryOfAnyVisibilityToWebContent.

      1. Go to Site Menu > Categorization > Categories
      2. Add new Vocabulary > Set Name ('Public Vocabulary Name') > Set Visibility to Public > Save
      3. Add new Category > Set Name ('Public Category Name') > Save
      4. Add new Vocabulary > Set Name ('Internal Vocabulary Name') > Set Visibility to Internal > Save
      5. Add new Category > Set Name ('Internal Category Name') > Save
      6. Go to Site Menu > Content and Data > Web Content > '+' > Basic Web Content
      7. Set 'Name'
      8. Open Categorization panel > Public Categories
      9. Add 'Public Category Name'
      10. Open Categorization panel > Internal Categories
      11. Add 'Internal Category Name'
      12. Click Publish

      Test 3: When the user access to Documents & Media and tries to search by category or to assign a category to an item, all categories, regardless the visibility of the vocabularies they belong to, are available
      test AddCategoryOfAnyVisibilityToDocsAndMedia.

      1. Go to Site Menu > Categorization > Categories
      2. Add new Vocabulary > Set Name ('Public Vocabulary Name') > Set Visibility to Public > Save
      3. Add new Category > Set Name ('Public Category Name') > Save
      4. Add new Vocabulary > Set Name ('Internal Vocabulary Name') > Set Visibility to Internal > Save
      5. Add new Category > Set Name ('Internal Category Name') > Save
      6. Go to Site Menu > Content and Data > Documents and Media > '+' > File Upload
      7. Set 'Name'
      8. Open Categorization panel > Public Categories
      9. Add 'Public Category Name'
      10. Open Categorization panel > Internal Categories
      11. Add 'Internal Category Name'
      12. Click Publish

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              luiz.queiroz Luiz Queiroz
              Reporter:
              luiz.queiroz Luiz Queiroz
              Recent user:
              Luiz Queiroz
              Participants of an Issue:
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package