Filtering existing profiles by name before export job is triggered

Description

Purpose:
Provide search for existing job profiles before the user starts new export job.

User story statement(s):

As a librarian triggering data export job
I want an easy way to locate a job profile I need
so that I can do this task quickly and efficiently.

Scenarios:

  1. Scenario:

    • Given the user uploads the file with identifiers or cql statement

    • When the user is prompted for an export job profile

    • Then the form contains a search box that can be used to narrow down the result list

  2. Scenario:

    • Given the list of the existing job profiles

    • When the user enters a search string in the search box

    • Then:

      1. the matching string in the profile name is highlighted

      2. the profiles that do not match the selection are filtered out

  3. Scenario:

    • Given the search box is populated with a search criteria

    • When none of the existing profiles fulfill the search criteria

    • Then the list of existing profiles is empty

  4. Scenario:

    • Given the search box is populated with a search criteria

    • When the users removes the text from the search box

    • Then the list of existing profiles is re-populated

Additional information
Here is the current behavior:


The expected behavior is similar to searching job profiles in the Data export settings:

Environment

None

Potential Workaround

None

Attachments

7

Checklist

hide

TestRail: Results

Activity

Show:

Yauheniya Kryshtafovich May 31, 2023 at 10:46 AM

Hi, and the story was verified on Snapshot env, works as expected:

1. Navigate to the "Select job profile to run the export" page => Search box with "Search" button are shown


2. Click on the search box and enter the exact name of any existing export job profile => the result list is updated and shows only the found export job profile with highlighted matching string in the profile name


3. Click on the search box once again and start removing a part of the previously pasted job profile name by hitting "Backspace" on the keyboard => The result list is updated accordingly and shows only the matching search criteria export job profiles with highlighted matching string.


4. Click on the search box once again and click "x" icon on the right => The result list is cleared
5. Click on the search box and enter the not exact name of any existing export job profile, for e.g. instead of "Default authority export job profile" type "Default authority job profile" ==>> NO results found


6. Click on the search box and enter non- existent export job profile ==>> NO results found


7. Typing existing job profile in " " or with extra space can affect search result

Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Firebird

Fix versions

Release

Poppy (R2 2023)

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created April 25, 2023 at 5:51 PM
Updated October 13, 2023 at 7:49 AM
Resolved May 31, 2023 at 9:42 PM
TestRail: Cases
TestRail: Runs