Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

10275 calendar generator #5502

Draft
wants to merge 225 commits into
base: staging
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
225 commits
Select commit Hold shift + click to select a range
a6c81ca
10275: WIP: set up interactor for evaluating calendaring rules
En-8 Sep 4, 2024
8850290
10275: first pass at scheduling algorithm
TomElliottFlexion Sep 5, 2024
cd6fbcd
10275: replace caseType with correct procedureType, use PROCEDURE_TYP…
TomElliottFlexion Sep 5, 2024
a2407c3
10275: more constants
TomElliottFlexion Sep 5, 2024
8759bcd
10275: nothing at all
TomElliottFlexion Sep 5, 2024
3b20da0
10275: WIP
TomElliottFlexion Sep 5, 2024
194ecf1
10275: work on extracting calendar logic into its own module
akuny Sep 6, 2024
cc91ac9
10275: WIP on unit test for scheduling logic
TomElliottFlexion Sep 6, 2024
e4f7326
10275: WIP unit test for scheduleTrialSessions, refactor to us luxon
TomElliottFlexion Sep 6, 2024
7668019
10275: add new week based function to DateHandler
TomElliottFlexion Sep 9, 2024
cc34414
10275: factor out addTrialSession function
akuny Sep 9, 2024
4403f83
10275: continue working on scheduling logic
akuny Sep 9, 2024
3b4dd9c
10275: continue work on scheduling logic
akuny Sep 9, 2024
56cc5ef
10275: stop infinite looping
akuny Sep 9, 2024
3484546
10275: focus on hybrid handling
akuny Sep 9, 2024
90e1fe2
10275: add TODO around potentially inefficient cron job
TomElliottFlexion Sep 10, 2024
39db0e2
10275: add new (temporary?) getCasesReadyForCalendaring persistence m…
TomElliottFlexion Sep 10, 2024
507305c
10275: add temp script for getting eligible cases, update test statem…
TomElliottFlexion Sep 10, 2024
972aec5
10275 WIP: break scheduling into two separate steps - session bucketi…
TomElliottFlexion Sep 10, 2024
92601ea
10275 WIP dealing with infinite loops
En-8 Sep 11, 2024
a5d318c
10275 WIP establish first few test cases for createProspectiveTrialSe…
En-8 Sep 11, 2024
29f2d75
10275 WIP: skeleton for assignSessionsToWeeks test
TomElliottFlexion Sep 12, 2024
41507ef
10275: factor out getCasesByCity function and move population of pote…
akuny Sep 13, 2024
4dda867
10275 WIP: add test, remove superfluous pass-through function
TomElliottFlexion Sep 13, 2024
1cdf0b8
10275: WIP on assignSessionsToWeeks
akuny Sep 16, 2024
9e1ecf0
10275 Tests for special sesssion handling
En-8 Sep 16, 2024
1651fa0
10275: Remove TrialSession.isClosed property and add isClosed method.
akuny Sep 18, 2024
315a633
10275 Test for regular-at-small and fix bug in check
akuny Sep 18, 2024
6a07eb6
10275: work on logic to determine which cities have not had a trial s…
akuny Sep 18, 2024
842b3c4
10275: identify where to handle cities that have not been visited in …
akuny Sep 18, 2024
92ab7c5
10275 Handle low volume cities
En-8 Sep 18, 2024
9bb5545
10275: WIP Begin work on front end wiring
En-8 Sep 20, 2024
7be9cde
10275: WIP Begin work on front end wiring
En-8 Sep 20, 2024
ddec27f
10275: WIP continue wiring up modal
akuny Sep 20, 2024
dabc29c
10275: set up DateRangePickerComponent to work when nested within a M…
akuny Sep 23, 2024
978717b
10275 Remove 'term' select input from create term modal
En-8 Sep 23, 2024
3da6cdf
10275 Minor style tweaks to range picker inputs in create term modal
En-8 Sep 23, 2024
c746594
Merge branch 'staging' of https://github.com/ustaxcourt/ef-cms into 1…
TomElliottFlexion Sep 24, 2024
964d60e
10275: modal styling
TomElliottFlexion Sep 24, 2024
abf9b92
10275: add regular calendar icon for trial session scheduling modal b…
TomElliottFlexion Sep 24, 2024
2a610fa
10275: add lambda, route for new trial session term interactor,
TomElliottFlexion Sep 24, 2024
b7c161a
10275: add logic to hide create term button for unauthorized users
akuny Sep 24, 2024
5b49c13
10275: WIP on interactor
akuny Sep 24, 2024
c6e1e03
10275: use consistent variable names
TomElliottFlexion Sep 24, 2024
f9a0a0b
10275: install and use exceljs, add type for ScheduledTrialSessions
TomElliottFlexion Sep 25, 2024
0af149c
10275: use correct colors for session type in xlsx, tweak styling
TomElliottFlexion Sep 25, 2024
b83d5b2
10275: extract out weeksToLoop to interactor, update tests
TomElliottFlexion Sep 25, 2024
27f2f21
10275: WIP; hardcode data in writeTrialSessionDataToExcel to guarante…
TomElliottFlexion Sep 25, 2024
544ca89
10275 WIP getting downloads to work correctly for xlsx files
En-8 Sep 26, 2024
772619f
10275: create downloadXlsx utility
akuny Sep 26, 2024
a045619
10275: WIP on spreadsheet
akuny Sep 26, 2024
05e7f9a
10275 WIP adding weeks row and no data case
En-8 Sep 26, 2024
fcd1240
10275: special trial sessions do not count towards the minimum per la…
TomElliottFlexion Sep 30, 2024
f8fc9a7
10275: termName no longer used on back end
TomElliottFlexion Sep 30, 2024
febf865
10275: remove more termName reference, update test
TomElliottFlexion Sep 30, 2024
fe0741d
Merge branch 'staging' into 10275-story
TomElliottFlexion Sep 30, 2024
aab9c65
10275: try different naming
TomElliottFlexion Sep 30, 2024
b5f1975
Merge branch '10275-story' of https://github.com/flexion/ef-cms into …
TomElliottFlexion Sep 30, 2024
8a394dc
10275 fixing type errors
En-8 Sep 30, 2024
6114807
10275 fix front end to handle new response structure
En-8 Sep 30, 2024
33697d0
10275: update downloadCsv test case
akuny Sep 30, 2024
2d10a34
10275: resolve linting errors in apigatewayhelper
En-8 Sep 30, 2024
b9e3ab5
Merge branch '10275-story' of https://github.com/flexion/ef-cms into …
akuny Sep 30, 2024
3c7c508
10275: remove console log
TomElliottFlexion Sep 30, 2024
c72a60e
Merge branch '10275-story' of https://github.com/flexion/ef-cms into …
TomElliottFlexion Sep 30, 2024
9650c84
10275: update test
TomElliottFlexion Sep 30, 2024
796463d
10275: remove unnecessary action in openCreateTermModalSequence
akuny Sep 30, 2024
7b19790
10275: remove WIP document
akuny Sep 30, 2024
8ce88ff
10275: bare minimum generateSuggested...Interactor test
TomElliottFlexion Sep 30, 2024
a4aa1ef
Merge branch '10275-story' of https://github.com/flexion/ef-cms into …
TomElliottFlexion Sep 30, 2024
73894e0
10275: null check bufferArray after call to interactor
TomElliottFlexion Sep 30, 2024
3c5a851
10275: update generateSuggestedTrialSessionCalendarInteractor and tes…
TomElliottFlexion Sep 30, 2024
4eb7c11
10275 Add minDate to DateRangePicker and disallow selection of dates …
En-8 Sep 30, 2024
362b2a2
10275: error handling for creating term, date stuff
En-8 Oct 1, 2024
f2e16f0
10275: review changes and clean up
En-8 Oct 1, 2024
60d45ad
10275: remove misunderstood persistence method
TomElliottFlexion Oct 1, 2024
ef9cfed
10275: update create term modal styling
TomElliottFlexion Oct 1, 2024
278ec15
Merge branch 'staging' of https://github.com/ustaxcourt/ef-cms into 1…
TomElliottFlexion Oct 1, 2024
d1dbd28
10275: refactor getPreviousTwoTerms to be slightly less convoluted; t…
TomElliottFlexion Oct 1, 2024
1a25fc0
10275: Refactor isTodayWithinGivenInterval to accept arbitrary date t…
En-8 Oct 2, 2024
984ecd4
10275 More tests for special session filter
En-8 Oct 3, 2024
bbf0d18
10275: refactor getBusinessDateInFuture to take optional date outputF…
TomElliottFlexion Oct 3, 2024
35e4a2b
10275: add/fix datatestids for create term tsxs
TomElliottFlexion Oct 3, 2024
cfe194d
10275: skeleton of run-suggested-calendar-generator cypress test
TomElliottFlexion Oct 3, 2024
501c306
10275: fix typo in cypress test
TomElliottFlexion Oct 3, 2024
ee48e7e
10275: update getReadyForTrialCases to return preferredTrialCity, pro…
TomElliottFlexion Oct 3, 2024
c8da426
10275: add mock case data
akuny Oct 3, 2024
9f53c35
10275: use new mock data in interactor test case
akuny Oct 3, 2024
23bcc38
10275: write script to fetch test data for special trial sessions
akuny Oct 3, 2024
84d6816
10275 add sanitized special session test data for calendar generator
En-8 Oct 3, 2024
4ddf9bc
Merge branch 'staging' into 10275-story
TomElliottFlexion Oct 3, 2024
e2b0eb7
10275 Add some TODOs and include mock special sessions in test
En-8 Oct 4, 2024
dfc22d4
10275: export suggested calendar message to constant
TomElliottFlexion Oct 4, 2024
0a9a9a5
Merge branch '10275-story' of https://github.com/flexion/ef-cms into …
TomElliottFlexion Oct 4, 2024
bbeb54f
10275: update cypress test to use message constant, test bug
TomElliottFlexion Oct 4, 2024
918f778
10275: fix import
TomElliottFlexion Oct 4, 2024
1bb15a3
10275: move constant for now
TomElliottFlexion Oct 4, 2024
63bddde
10275: missing import
TomElliottFlexion Oct 4, 2024
0529f1b
10275: use ISO date format consistently in interactor, refactor appro…
akuny Oct 4, 2024
44206ba
10275: format create term modal dates to ISO date strings on front en…
akuny Oct 4, 2024
452e6a8
10275: WIP on types
akuny Oct 4, 2024
6928b40
10275: type every function in or reference in generateSuggestedTrialS…
TomElliottFlexion Oct 4, 2024
ec99ccb
10275: fix failing unit tests, remove comment
TomElliottFlexion Oct 7, 2024
4d57d94
10275: fix type errors in assignSessionsToWeeks test
TomElliottFlexion Oct 7, 2024
c48c87c
10275: use better data structure for passing scheduled trial sessions…
TomElliottFlexion Oct 7, 2024
fbb9320
10275: WIP format generated calendar
TomElliottFlexion Oct 7, 2024
6430ebd
10275 Fix border styling on spreadsheet
En-8 Oct 7, 2024
1a2d0c2
10275: clear alerts on modal open
TomElliottFlexion Oct 8, 2024
08e74d3
10275: add new openSearch query for generalDocketReadyForTrial status…
akuny Oct 8, 2024
6561f0f
10275 Cleanup after switching persistence methods
TomElliottFlexion Oct 8, 2024
29a044b
10275: WIP test cleanup
TomElliottFlexion Oct 8, 2024
b4da2de
10275 adapt unit tests to new types & data structures
En-8 Oct 8, 2024
0dcfb96
10275: fix typo in cypress test
TomElliottFlexion Oct 9, 2024
2722ec9
10275 local data updates
En-8 Oct 9, 2024
0029315
Merge branch '10275-story' of github.com:flexion/ef-cms into 10275-story
En-8 Oct 9, 2024
e188085
10275: add special rules for washington, dc
TomElliottFlexion Oct 9, 2024
813c8e7
10275: fix bug in special washington logic, test said logic
TomElliottFlexion Oct 9, 2024
abe7e35
10275: strip state from location in calendar output
TomElliottFlexion Oct 9, 2024
ea3745a
10275: add more another test for assignSessionsToWeeks
TomElliottFlexion Oct 9, 2024
27f0067
10275: add more tests for edge cases in createProspectiveTrialSessions
TomElliottFlexion Oct 9, 2024
42060fe
10275 Ensure preferredTrialCity exists
TomElliottFlexion Oct 9, 2024
331b6aa
10275: also filter out blocked or automaticBlocked cases
TomElliottFlexion Oct 9, 2024
287993b
10275: add fake file to rerun ci jobs
TomElliottFlexion Oct 9, 2024
41b82b1
10275: temporarily ignore cases whose preferredTrialCity does not mat…
TomElliottFlexion Oct 9, 2024
fd0d540
10275: temporarily skip test case
TomElliottFlexion Oct 9, 2024
e4e5291
10275 Fix bug with special sessions scheduled late in term
TomElliottFlexion Oct 10, 2024
5ef5993
10275: handle case sensitivity when determining cities from previous …
En-8 Oct 11, 2024
9b2d3a1
10275: disambiguate Portland and fix bottom row borders
TomElliottFlexion Oct 11, 2024
c86ab27
10275: begin process of returning case counts on generated calendar
TomElliottFlexion Oct 11, 2024
7059f8d
10275 Add initial case backlog values to term sheet
En-8 Oct 11, 2024
6841612
10275 WIP: include remaining case counts on term sheet
En-8 Oct 11, 2024
3abf915
10275 Fix some quirks with remaining case counts
En-8 Oct 14, 2024
4853110
10275: prevent scheduling trial sessions the week after special sessions
akuny Oct 14, 2024
d63005a
10275 type errors and test failures
En-8 Oct 14, 2024
0ab19c5
Merge branch 'staging' into 10275-story
En-8 Oct 15, 2024
9036fb7
10275 WIP working on formula
En-8 Oct 15, 2024
6ee39b0
10275 continue WIP on formulas
akuny Oct 15, 2024
fd92721
10275 Formula-ify total counts per week
En-8 Oct 15, 2024
ef50855
10275: refactor case-to-casesByCity into discrete module
En-8 Oct 15, 2024
9a3318c
10275: unit tests to match refactor
En-8 Oct 16, 2024
5577f16
10275: fix bug where not prioritizing cities not visited in last two …
En-8 Oct 16, 2024
ac08c17
10275: switch to excel-friendly formula for week totals row
akuny Oct 17, 2024
2a4e676
10275: notes
TomElliottFlexion Oct 21, 2024
d30fa7b
10275: add message telling user there are cases with preferred trial …
TomElliottFlexion Oct 21, 2024
ba24ecf
10275: sort docket numbers in success message
TomElliottFlexion Oct 21, 2024
163f563
10275: refactor: constraint engine, calendar state, case counts only
En-8 Oct 22, 2024
9f1a6e7
10275: fix mock data on new branch
TomElliottFlexion Oct 22, 2024
76bed7b
10275: refactor: consolidate case counts into single object
TomElliottFlexion Oct 22, 2024
71e50c6
10275: refactor: proof-of-concept: consolidate counter objects
TomElliottFlexion Oct 23, 2024
ed9e49c
10275: revert mocks
TomElliottFlexion Oct 23, 2024
a05f5f3
Merge pull request #10538 from flexion/10275-rf-again-continued
TomElliottFlexion Oct 23, 2024
bb3ad13
10275: use temp variable for counting cases for prospective sessions …
TomElliottFlexion Oct 23, 2024
c4a7689
10275: refactor: consolidate case scheduling functions
TomElliottFlexion Oct 23, 2024
3d71dca
10275: refactor: de-classify CalendarGenerator
TomElliottFlexion Oct 28, 2024
4585cf8
10275: refactor: rename CalendarGenerator file to generateCalendar
TomElliottFlexion Oct 28, 2024
22ca758
10275: refactor: clean up addScheduledTrialSession function, extract …
TomElliottFlexion Oct 28, 2024
fc7c185
10275: refactor: handle max special sessions per location inside main…
TomElliottFlexion Oct 29, 2024
29b6947
10275: refactor: differentiate between proposedSessions and scheduled…
TomElliottFlexion Oct 29, 2024
b9d7693
10275: continue refactoring constraints logic
akuny Oct 30, 2024
f4ab134
10275: more refactoring
akuny Oct 30, 2024
2d6a41a
10275: continue refactoring
akuny Oct 30, 2024
f1fb352
10275: refactor: allow object sorting function to take sort arg, use …
TomElliottFlexion Oct 30, 2024
87cff66
10275: refactor: consolidate functions for scheduling special and non…
TomElliottFlexion Oct 31, 2024
bf4a1c6
10275: refactor: calendarIsEmpty function to return early
TomElliottFlexion Oct 31, 2024
21fe26b
10275: refactor: minor excel function refactoring
TomElliottFlexion Oct 31, 2024
ba2808c
10275: refactor: split out row and column specific logic in writeTria…
TomElliottFlexion Oct 31, 2024
0b37b93
10275: refactor: missed object initialization
TomElliottFlexion Oct 31, 2024
0863647
10275: refactor: another helper function for getting cell values
TomElliottFlexion Oct 31, 2024
2e97cce
10275: extract constant
akuny Oct 31, 2024
07456d8
Merge remote-tracking branch 'USTC/staging' into 10275-calendar-gener…
akuny Oct 31, 2024
ead3331
10275: pin exceljs version and remove unused files
akuny Oct 31, 2024
d82e162
10275: fix typo, add notes
TomElliottFlexion Nov 1, 2024
28ce08a
10275: rework createProspectiveTrialSessions unit tests
akuny Nov 1, 2024
7e3ba92
Merge remote-tracking branch 'USTC/staging' into 10275-calendar-gener…
akuny Nov 1, 2024
fee8bba
10275: update writeTrialSessionToExcel test
akuny Nov 1, 2024
16f875e
10275: unit tests for constraints
akuny Nov 4, 2024
cc786a2
10275: unit tests for getDataForCalendaring
akuny Nov 4, 2024
b8c03fa
10275: sketch out initial unit tests for generateCalendar
akuny Nov 4, 2024
c93c7df
10275: flesh out generateCalendar unit tests
akuny Nov 4, 2024
2428601
10275: remove log statements
akuny Nov 4, 2024
2242bac
10275: expand generateCalendar unit tests
akuny Nov 4, 2024
4689469
10275: flesh out writeTrialSessionDataToExcel modestly
akuny Nov 4, 2024
005565f
10275: extract variable
akuny Nov 4, 2024
996d755
10275: work on integration test for interactor
akuny Nov 4, 2024
d14331c
10275: WIP on interactor test
akuny Nov 4, 2024
fae2b4e
10275: WIP add frontend unit test
akuny Nov 5, 2024
b80b6ba
10275: WIP add form entity unit test
akuny Nov 5, 2024
a4aa544
10275: WIP add downloadXlsx utility unit test
akuny Nov 5, 2024
9cca8d8
10275: WIP add frontend action unit test
akuny Nov 5, 2024
a257606
10275: WIP add another frontend action unit test
akuny Nov 5, 2024
a879911
10275: WIP add another frontend unit test
akuny Nov 5, 2024
27c18b6
Merge remote-tracking branch 'USTC/staging' into 10275-calendar-gener…
akuny Nov 5, 2024
c6bd43c
10275: work on integration test for trial session calendar interactor…
akuny Nov 5, 2024
f796123
10275 import shenanigans
En-8 Nov 6, 2024
a5ecf8e
10275: remove mock data
TomElliottFlexion Nov 6, 2024
6e4044c
10275: add test for new opensearch query
TomElliottFlexion Nov 6, 2024
000245a
10275: remove unecessary try/catch, stale comment
En-8 Nov 6, 2024
05f3ce7
Merge branch '10275-calendar-generator' of github.com:flexion/ef-cms …
En-8 Nov 6, 2024
a63d814
10275: Warning messages and date shenanigans
En-8 Nov 8, 2024
fa9c02f
10275: add dateHandler tests, clean up
TomElliottFlexion Nov 11, 2024
4343ade
10275: add new tab for excel sheet for "incorrectly sized" cases, ref…
TomElliottFlexion Nov 11, 2024
1c553e3
10275: refactor: constraints handling that matches previous output
TomElliottFlexion Nov 12, 2024
4b2264b
10275: format alert warnings for ui and update alert success to omit …
TomElliottFlexion Nov 12, 2024
0d7c11e
10275: refine formatting of success and warning alerts for term gener…
TomElliottFlexion Nov 12, 2024
3980a40
10275: update test cases
TomElliottFlexion Nov 12, 2024
34de78c
10275: fix constraints tests
TomElliottFlexion Nov 12, 2024
b1fd649
10275: update success message in trial session calendar cypress tes
TomElliottFlexion Nov 12, 2024
7c53199
10275: update tests now that createDateAtStartOfWeekEST is correctly …
TomElliottFlexion Nov 12, 2024
69daa43
10275: update test for runCreateTermAction
TomElliottFlexion Nov 12, 2024
9973cf6
10275: update GenerateSuggestedTermForm validation rules
TomElliottFlexion Nov 13, 2024
80fdf77
10275: bonus test
TomElliottFlexion Nov 14, 2024
c6dcb77
10275: add aria labels to modal buttons
akuny Nov 14, 2024
f679b52
10275: fix validation for term name max length
akuny Nov 14, 2024
833f315
10275: updates to spreadsheet styling
akuny Nov 14, 2024
1b31af8
10275: fix warning notification dismiss button wrapping
TomElliottFlexion Nov 14, 2024
9ef43b0
10275: UX feedback: add more specific date validation in create term …
TomElliottFlexion Nov 14, 2024
50a2cd6
10275: address UX feedback
akuny Nov 15, 2024
00c3691
10275: update broken tests
akuny Nov 15, 2024
3a1c974
10275: update GenerateSuggestedTermForm entity and add test
akuny Nov 15, 2024
c729fe2
10275: add aria-label to ModalDialog component's dialog element
akuny Nov 15, 2024
76cbfe9
10275: begin expanding tests for excel document containing term calendar
akuny Nov 18, 2024
b64873f
10275: unit tests for writeTrialSessionDataToExcel
akuny Nov 18, 2024
6796d0e
10275: make minor formatting change to writeTrialSessionDataToExcel
akuny Nov 18, 2024
b0c005c
10275: update alert wording/grammar
TomElliottFlexion Nov 19, 2024
a2ed9e3
Merge branch 'staging' of https://github.com/ustaxcourt/ef-cms into 1…
TomElliottFlexion Nov 20, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -374,6 +374,7 @@ module.exports = {
'rect',
'reindex',
'renderer',
'repo',
'rescan',
'restapi',
'riker',
Expand Down Expand Up @@ -440,6 +441,7 @@ module.exports = {
'wicg',
'workitem',
'workitems',
'xlsx',
'xpos',
'zendesk',
],
Expand Down
2 changes: 1 addition & 1 deletion cypress/helpers/retry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export function retry(cb: () => Cypress.Chainable<boolean>, maxAttempts = 5) {
}
});
} else {
throw new Error('cypress failed to run a successful retry block');
throw new Error('cypress failed to successfully run a retry block');
}
}

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
import {
FORMATS,
createISODateString,
getBusinessDateInFuture,
} from '../../../../../shared/src/business/utilities/DateHandler';
import { SUGGESTED_TRIAL_SESSION_TITLES } from '../../../../../shared/src/business/entities/EntityConstants';
import { loginAsPetitionsClerk1 } from '../../../../helpers/authentication/login-as-helpers';

describe('Run the suggested trial session calendar generator', () => {
const tomorrow = getBusinessDateInFuture({
numberOfDays: 1,
outputFormat: FORMATS.MMDDYYYY,
startDate: createISODateString(),
});

const oneMonthFromNow = getBusinessDateInFuture({
numberOfDays: 30,
outputFormat: FORMATS.MMDDYYYY,
startDate: createISODateString(),
});

it('should run the suggested trial session calendar generator', () => {
loginAsPetitionsClerk1();
cy.visit('/trial-sessions');
cy.get('[data-testId="open-create-term-modal-button"]').click();
cy.get('[data-testid="term-name-field"]').type('Test Term Name');
cy.get(
'.usa-date-picker__wrapper > [data-testid="termStartDate-date-start-input"]',
).type(tomorrow);
cy.get(
'.usa-date-picker__wrapper > [data-testid="termEndDate-date-end-input"]',
).type(oneMonthFromNow);
cy.get('[data-testid="modal-button-confirm"]').click();
cy.get('[data-testid="success-alert"]').should(
'contain.text',
SUGGESTED_TRIAL_SESSION_TITLES.success,
);
});
});
2 changes: 1 addition & 1 deletion docs/running-locally.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ This will install `node-canvas` dependencies globally. As of 12/05/2022, `node-c

Make sure you are on the `ustaxcourt/staging` branch before you install the npm dependencies or try to start the services.

#### Install the NPM Depedencies
#### Install the NPM Dependencies

All applications dependencies are managed via our `package.json` and `package-lock.json` files and are installed using `npm`. You will first need to install of our dependencies by running the following:

Expand Down
Loading
Loading