-
Notifications
You must be signed in to change notification settings - Fork 23
Description
User Stories
As an Examiner
I want to see a filterable "Status" column on the two-tab Examiner's dashboard with the following options and default selection:
Status
[x] Active
[ ] Expired
[ ] Suspended
[ ] Cancelled
So that I can determine the overarching state of a Registration (especially with respect to platform validation).
As an Examiner
I want to see a filterable "Sub-status" column on the two-tab Examiner's dashboard – immediately to the right of the "Status" column – with the following options and default selection:
Sub-status
[x] Review
[x] Review Renew
[x] NOC - Pending
[ ] NOC - Expired
[ ] Approved
[ ] Set-Aside
So that I can finely filter the list of Registrations to support specific work activities.
Implementation Notes
Review – can be implemented by looking for the presence of the "decider" stanza in the API response for a Registration.
Review Renewal – can be implemented by looking for the presence of the "decider" stanza and checking that the value of the "applicationType" key for the most recent Application attached to the Registration is "renewal".
NOC Pending – can be implemented by looking at the "nocStatus" key in the API response for a Registration.
NOC Expired – can be implemented by looking at the "nocStatus" key in the API response for a Registration.
Set-Aside – can be implemented by looking for a "true" value for the "isSetAside" key in the API response for a Registration.
Approved – can be implemented by looking for a "Registered" value for the "examinerStatus" key, and a null or empty value for the "nocStatus" key, and the absence of the "conditionsOfApproval" stanza in the API response for a Registration.
Acceptance Criteria
-
Scenario: Display and position of the "Sub-status" column and filter
- Given an Examiner is viewing the two-tab Examiner's dashboard
- Then a "Sub-status" column should be visible
- And the "Sub-status" column should be positioned immediately to the right of the "Status" column
- And the "Sub-status" column header should include a filter mechanism
-
Scenario: Filtering by "Status" column
- Given an Examiner is viewing the dashboard with registrations
- When the Examiner interacts with the filter for the "Status" column
- Then the available filter options should include "Active", "Cancelled", "Expired", and "Suspended"
- And selecting one of these options should filter the registrations accordingly
-
Scenario: Filtering by "Sub-status" column
- Given an Examiner is viewing the dashboard with registrations
- When the Examiner interacts with the filter for the "Sub-status" column
- Then the available filter options should include "Review", "Review Renew", "NOC - Pending", "NOC - Expired", "Approved", "Condition", "Non-Compliance", "Missing Documents", "Withdrawn", "No Longer Host", "Expired", and "Set-Aside"
- And selecting one of the enabled options should filter the registrations accordingly