Uploaded image for project: 'ERM Platform'
  1. ERM Platform
  2. ERM-1581

Licenses: Hide accordions in License view where there is no content

    XMLWordPrintable

Details

    • ERM Sprint 109
    • Bienenvolk

    Description

      Purpose:
      Remove clutter from screen by hiding most accordions if they don't have content

      Description:
      In the License view pane, the following accordions should be hidden if there is no content to display in them (i.e. their 'count' in accordion banner is zero)

      • Internal contacts
      • Organizations
      • Core documents
      • Supplementary documents
      • Agreements linked to this license

      The Notes and Amendments accordions should display even if the counters are zero because the user can add new Notes/Amendments from the Accordion in the view pane.

      The Terms accordion does not have a counter and should display even when no terms have been set so that users can see when expected terms have not been set

      User story statement(s):

      As a ERM user,
      I want to only see relevant information on the License view
      so that I'm not distracted by unpopulated sections of the license

      Scenarios:

      1. Scenario:
        • Given an license with zero internal contacts
        • When I open the license in the view pane
        • Then the Internal contacts accordion DOES NOT display
      2. Scenario:
        • Given an license with >0 internal contacts
        • When I open the license in the view pane
        • Then the Internal contacts accordion DOES display
      3. Scenario:
        • Given an license with zero Organizations
        • When I open the license in the view pane
        • Then the Organizations accordion DOES NOT display
      1. Scenario:
        • Given an license with >0 Organizations
        • When I open the license in the view pane
        • Then the Organizations accordion DOES display
      2. Scenario:
        • Given an license with zero Core documents
        • When I open the agreement in the view pane
        • Then the Core documents license DOES NOT display
      3. Scenario:
        • Given an license with >0 Core documents
        • When I open the license in the view pane
        • Then the Core documents accordion DOES display
      4. Scenario:
        • Given an license with zero Supplementary documents
        • When I open the agreement in the view pane
        • Then the Supplementary documents license DOES NOT display
      5. Scenario:
        • Given an license with >0 Supplementary documents
        • When I open the license in the view pane
        • Then the Supplementary documents accordion DOES display
      6. Scenario:
        • Given an license with zero Agreements linked to this license
        • When I open the license in the view pane
        • Then the Agreements linked to this license accordion DOES NOT display
      7. Scenario:
        • Given an License with >0 Agreements linked to this license
        • When I open the license in the view pane
        • Then the Agreements linked to this license accordion DOES display

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                ostephens Owen Stephens
                Gill Osguthorpe Gill Osguthorpe
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases