flexion / ef-cms

An Electronic Filing / Case Management System.
23 stars 10 forks source link

Calendaring: Generate Suggested Term #10275

Open cholly75 opened 6 months ago

cholly75 commented 6 months ago

As a Court user, so that creating a new term is as easy as possible, I need DAWSON to use its data to provide me with suggested term calendar sessions in a way that allows collaboration to happen.

Pre-Conditions

Acceptance Criteria

Notes

Reminders.pdf

image.png

Tasks

Test Cases

Story Definition of Ready (updated on 12/23/22)

The following criteria must be met in order for the user story to be picked up by the Flexion development team. The user story must:

Process: Flexion developers and designers will test if the story meets acceptance criteria and test cases in Flexion dev and staging environments (“standard testing”). If additional acceptance criteria or testing scenarios are discovered while the story is in progress, a new story should be created, added to the backlog and prioritized by the product owner.

Definition of Done (Updated 5-19-22)

Product Owner

UX

Engineering

katiecissell commented 2 months ago

UX Notes:

Please see Figma file for full comments

A new link is added to the trial sessions page. It is visible regardless of what tab you are viewing. Only Petitions clerks, Case Services Supervisors and Clerk of the Court will see the link.

image.png

When the link is clicked a modal appears.

image.png

When create term is clicked, Dawson will create a .xlsx or .csv file (depending on the engineers feedback when they pick this ticket up.) The file will create a calendar of the term and divide the eligible cases for each location into sessions. It will also respect additional rules outlined in the figma file. A loading state will be used while Dawson creates this file. When its done, the file will be downloaded to the user's computer/browser.

No specials or hybrid S's will be generated by this calendar. (existing specials already scheduled will show)

Hardcoded Session creation rules:

image.png
ttlenard commented 1 month ago

Test Cases

1) Petitions Clerk accesses the Trial Sessions Page; new link that says, "Create Term" displays to the left of the Trial Session Planning Report link at the top of the page.

Expected Results:

2) Petitions Clerk clicks on the "Create Term" link; new modal displays.

Expected Results:

3) Petitions Clerk adds in valid data into the modal; Clicks Create Term button; User sees a loading screen.

Expected Results:

4) Loading screen completes; Document is downloaded to the user's computer.

Expected Results:

5) Petitions Clerk opens the file; reviews generated Spreadsheet of the Term that was created.

Expected Results:

6) Petitions clerk pulls a Trial Session Planning Report; Using the data from that report, compare the results in the Generated Suggested Term spreadsheet with the data on the planning report.

Expected Results:

*DEV QUESTION - If I generated multiple suggested terms, will there be a different result each time? Is there randomization involved in generating the data? If yes, we will want to repeat test case 6 and 7 to ensure that the rules still apply even when the placement of suggested terms is random.

7) Petitions Clerk unblocks a number of cases for a few locations; re-runs the trial session planning report; Generates a new suggested term; results in the spreadsheet reflect the changes and sessions are suggested appropriately.

Expected Results

8) Regression test to ensure that no sessions are actually created.

Expected Results:

9) Repeat all of the tests with the following users:

TomElliottFlexion commented 2 days ago

New Rules: - Prioritize larger of small vs regular set of eligible cases