Uploaded image for project: 'ui-inventory'
  1. ui-inventory
  2. UIIN-1893

Subject browse result list - populate results

    XMLWordPrintable

Details

    • Firebird Sprint 132
    • 3
    • Firebird
    • Lotus R1 2022

    Description

      Purpose/Overview:
      Display the list of the instances that fulfill search criteria and instances that proceed and succeed the searched subject. In scope of this story the results pane is populated with the results returned by the backend.

      Scenario 1:
      Given: the user selects the "Browse subjects" search option and searches for a specific subject
      When: the list of subjects is returned
      Then: the results pane is populated as follows:

      • Subject column with the response property: subject
      • Number of titles column with the response element:  totalRecords

      Scenario 2:
      Given: the user browses subjects
      When: the result contain match for the searched term
      Then: the row that contains the matching data is in bold

      Out of scope:
      Previous and Next navigation

      Additional information:

      • The requests to the backend will contain following properties:
        a. the anchor value that will be equal to the the search term.
        b. number of proceedings terms (set to 5 in Lotus) - provide an example for the request
      • The matching record will be marked in the response from the mod-search
      • If the results do not have a match will be handled by a separate story. For scope of this story, if the match is not found - do nothing.
      • Example of the possible response from the backend:
      {
      	"totalRecords": 93,
      	"items": [
      		{
      			"subject": "Social conflict--Africa--History--21st century",
      			"totalRecords": 1
      		},
      		{
      			"subject": "Stadt",
      			"totalRecords": 1
      		},
      		{
      			"subject": "Standard",
      			"totalRecords": 2
      		},
      		{
      			"subject": "Subsahara-Afrika",
      			"totalRecords": 1
      		},
      		{
      			"subject": "Subsaharisches Afrika",
      			"totalRecords": 1
      		},
      		{
      			"subject": "UNITED STATES--unbist",
      			"totalRecords": 1
      		},
      		{
      			"subject": "United States.--fast",
      			"totalRecords": 1
      		},
      		{
      			"subject": "Verkehrsnetz",
      			"totalRecords": 1
      		},
      		{
      			"subject": "Weidewirtschaft",
      			"totalRecords": 1
      		},
      		{
      			"subject": "Westafrika",
      			"isAnchor": true,
      			"totalRecords": 1
      		}
      	]
      }
      

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                Uladzislau_Kutarkin Uladzislau Kutarkin
                magdaz Magda Zacharska
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases