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

Agreements: Hide accordions in Agreement view where there is no content

    XMLWordPrintable

    Details

    • Template:
      Front-end User Story Template
    • Sprint:
      ERM Sprint 107, ERM Sprint 108, ERM Sprint 109
    • Development Team:
      Bienenvolk

      Description

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

      Description:
      In the Agreement 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
      • Controlling license
      • Future licenses
      • Historical licenses
      • External licenses
      • Organizations
      • Supplementary documents
      • Usage data
      • Related agreements

      In addition the "License and business terms" accordion should only display where there is controlling license set (this is the same basis used currently for the display of the emptyAccordion.licenseAndBusinessTerms message in the UI)

      The rules for the display of the Periods accordion are different and handled in ERM-1531
      The Notes and Agreement Lines accordions should display even if the counters are zero because the user can add new Notes/Lines from the Accordion in the view pane.

      User story statement(s):

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

      Scenarios:

      1. Scenario:
        • Given an agreement with zero internal contacts
        • When I open the agreement in the view pane
        • Then the Internal contacts accordion DOES NOT display
      2. Scenario:
        • Given an agreement with >0 internal contacts
        • When I open the agreement in the view pane
        • Then the Internal contacts accordion DOES display
      3. Scenario:
        • Given an agreement with no controlling license
        • When I open the agreement in the view pane
        • Then the Controlling license accordion and the License and business terms accordion DO NOT display
      4. Scenario:
        • Given an agreement with one controlling license
        • When I open the agreement in the view pane
        • Then the Controlling license accordion and the License and business terms accordion DO display
      5. Scenario:
        • Given an agreement with zero Future licenses
        • When I open the agreement in the view pane
        • Then the Future licenses accordion DOES NOT display
      6. Scenario:
        • Given an agreement with >0 Future licenses
        • When I open the agreement in the view pane
        • Then the Future licenses accordion DOES display
      7. Scenario:
        • Given an agreement with zero Historical licenses
        • When I open the agreement in the view pane
        • Then the Historical licenses accordion DOES NOT display
      8. Scenario:
        • Given an agreement with >0 Historical licenses
        • When I open the agreement in the view pane
        • Then the Historical licenses accordion DOES display
      9. Scenario:
        • Given an agreement with zero External licenses
        • When I open the agreement in the view pane
        • Then the External licenses accordion DOES NOT display
      10. Scenario:
        • Given an agreement with >0 External licenses
        • When I open the agreement in the view pane
        • Then the External licenses accordion DOES display
      11. Scenario:
        • Given an agreement with zero Organizations
        • When I open the agreement in the view pane
        • Then the Organizations accordion DOES NOT display
      12. Scenario:
        • Given an agreement with >0 Organizations
        • When I open the agreement in the view pane
        • Then the Organizations accordion DOES display
      13. Scenario:
        • Given an agreement with zero Supplementary documents
        • When I open the agreement in the view pane
        • Then the Supplementary documents accordion DOES NOT display
      14. Scenario:
        • Given an agreement with >0 Supplementary documents
        • When I open the agreement in the view pane
        • Then the Supplementary documents accordion DOES display
      15. Scenario:
        • Given an agreement with zero Usage data providers
        • When I open the agreement in the view pane
        • Then the Usage data accordion DOES NOT display
      16. Scenario:
        • Given an agreement with >0 Usage data providers
        • When I open the agreement in the view pane
        • Then the Usage data accordion DOES display
      17. Scenario:
        • Given an agreement with zero Related agreements
        • When I open the agreement in the view pane
        • Then the Related agreements accordion DOES NOT display
      18. Scenario:
        • Given an agreement with >0 Related agreements
        • When I open the agreement in the view pane
        • Then the Related agreements accordion DOES display

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                ostephens Owen Stephens
                Reporter:
                ostephens Owen Stephens
                UX Lead:
                Gill Osguthorpe Gill Osguthorpe
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases