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

5512: Petitioner: DAWSON Petition Generation #4924

Merged
merged 641 commits into from
Jul 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
641 commits
Select commit Hold shift + click to select a range
18977ba
Merge branch 'staging' into 5512-story
cruzjone-flexion May 31, 2024
7c1db40
Merge branch '5512-story' of https://github.com/flexion/ef-cms into 5…
nechama-krigsman May 31, 2024
667f9c3
Merge branch 'staging' of https://github.com/ustaxcourt/ef-cms into 5…
nechama-krigsman May 31, 2024
471b568
5512: update data-testid;
nechama-krigsman May 31, 2024
fc60fda
5512: update data-testids; remove testing validation error messages f…
nechama-krigsman May 31, 2024
03495ef
5512: Expanded on cypress tests for step 2;
May 31, 2024
0f97702
5512: Add cypress test around step 4;
May 31, 2024
7c55e3a
Merge branch '5512-story' of github.com:flexion/ef-cms into 5512-story
May 31, 2024
a61a982
5512: update data-testid;
nechama-krigsman May 31, 2024
ea710e1
Merge branch '5512-story' of https://github.com/flexion/ef-cms into 5…
nechama-krigsman May 31, 2024
2ee37c9
5512: update data-testid;
nechama-krigsman May 31, 2024
d40c412
Merge branch 'staging' into 5512-story
cruzjone-flexion May 31, 2024
5660c9f
5512: save placeOfLegalResidence data;
nechama-krigsman Jun 3, 2024
16b1759
5512: fix missing spacing after state and zip fields on old petition …
nechama-krigsman Jun 3, 2024
8ec3285
5512: allow phone to be optional for secondary contact; display secon…
nechama-krigsman Jun 3, 2024
5774e52
Merge branch 'staging' into 5512-story
nechama-krigsman Jun 3, 2024
bf2d2da
5512: update tests around optional phone field
nechama-krigsman Jun 3, 2024
664a0c1
Merge branch '5512-story' of https://github.com/flexion/ef-cms into 5…
nechama-krigsman Jun 3, 2024
9edb112
5512: printable before starting case page must be accessible
TomElliottFlexion Jun 4, 2024
8ae6524
5512: add feature flag setup script
TomElliottFlexion Jun 4, 2024
ef4e784
5512: increase line height of the text in accordion headers (match th…
TomElliottFlexion Jun 4, 2024
5cb1ebd
5512: add back cypress account cleanup
TomElliottFlexion Jun 4, 2024
5deeee2
5512: Display file name when user uploads a PDF file for petition ins…
Jun 4, 2024
9f477c6
5512: header should print in color
TomElliottFlexion Jun 4, 2024
afc66d0
5512: remove exra spacing on secondary contact review page; add missi…
nechama-krigsman Jun 4, 2024
b364b0b
Merge branch '5512-story' of https://github.com/flexion/ef-cms into 5…
nechama-krigsman Jun 4, 2024
963834e
5512: add data testid for helper functions;
Jun 4, 2024
07297c8
5512: dont throw validation error when Place of legal residence is 'O…
nechama-krigsman Jun 4, 2024
a2acbb9
5512: add cypress test to assure text on links are correct;
Jun 4, 2024
c9f574f
Merge branch '5512-story' of github.com:flexion/ef-cms into 5512-story
Jun 4, 2024
4ef16f6
5512: Update page title;
Jun 4, 2024
f225666
5512: Use correct key for state driven file input;
Jun 4, 2024
8ce24e8
Merge remote-tracking branch 'taxCourt/staging' into 5512-story
Jun 4, 2024
0bf2448
5512: create shared component for redaction acknowledgement;
nechama-krigsman Jun 4, 2024
72bb9c5
Merge branch '5512-story' of https://github.com/flexion/ef-cms into 5…
nechama-krigsman Jun 4, 2024
86980de
5512: fix radio buttons wrapping on small screens;
nechama-krigsman Jun 4, 2024
f44ac98
5512: use updated form value sequence when uploading stin;
nechama-krigsman Jun 4, 2024
4b55b70
5512: clear petition data when user toggles petition type;
nechama-krigsman Jun 5, 2024
1f5568e
5512: Include "Docker Numve:" as part of the link in blue header;
Jun 5, 2024
d5ae277
5512: Remove the bold "C/O:" text and make sure that this is in lower…
Jun 5, 2024
044a44b
5512: Increase character limit for facts and reasons; Updated tests;
Jun 5, 2024
2e7187c
5512: Show in care of field for business/corporation on petition QC;
nechama-krigsman Jun 5, 2024
d9f1bef
Merge branch '5512-story' of https://github.com/flexion/ef-cms into 5…
nechama-krigsman Jun 5, 2024
d6841de
5512: Fix fetching the docket number from the success banner;
Jun 5, 2024
ba217aa
Merge branch '5512-story' of github.com:flexion/ef-cms into 5512-story
Jun 5, 2024
e65e0a9
5512: remove the text "from this petition," in the Privacy Notice sec…
nechama-krigsman Jun 5, 2024
f69fd7b
Merge branch '5512-story' of https://github.com/flexion/ef-cms into 5…
nechama-krigsman Jun 5, 2024
374f336
Merge branch 'staging' of https://github.com/ustaxcourt/ef-cms into 5…
nechama-krigsman Jun 5, 2024
9a58d4d
5512: move inline styles to css files;
nechama-krigsman Jun 6, 2024
3e46c9f
5512: fix email link on welcome page;
nechama-krigsman Jun 6, 2024
f89bb1f
5512: capitalization;
nechama-krigsman Jun 6, 2024
d582e11
5512: update international validation message for postal code;
nechama-krigsman Jun 6, 2024
3b5c595
5512: fix uploaded petition preview url; remove link icon;
nechama-krigsman Jun 6, 2024
3630eaf
5512: remove cancel verification modal from start case screen; add ca…
nechama-krigsman Jun 6, 2024
233d115
5512: display N/A when place of legal residence isnt selected; fix ma…
nechama-krigsman Jun 6, 2024
80c6b15
Merge branch 'staging' of https://github.com/ustaxcourt/ef-cms into 5…
TomElliottFlexion Jun 7, 2024
c854b8e
5512: remove extra spacing in contact information
nechama-krigsman Jun 7, 2024
6d74a40
Merge branch '5512-story' of https://github.com/flexion/ef-cms into 5…
nechama-krigsman Jun 7, 2024
44da4e7
5512: update test aroud international postal code validation;
nechama-krigsman Jun 7, 2024
e41d488
5512: fix type errors;
nechama-krigsman Jun 7, 2024
a89c8d8
Merge branch 'staging' of https://github.com/ustaxcourt/ef-cms into 5…
nechama-krigsman Jun 7, 2024
04f56ab
5512: fix type errors;
nechama-krigsman Jun 7, 2024
d0e56ce
5512: fix type errors;
nechama-krigsman Jun 7, 2024
ca173f6
5512: remove tests around cancel modal from before filing a petition …
nechama-krigsman Jun 7, 2024
1a3a833
5512: Create a case page convert the first bullet to paragraph;
nechama-krigsman Jun 7, 2024
896130e
5512: Wrap address text;
nechama-krigsman Jun 10, 2024
cc82800
5512: add padding to petition buttons;
nechama-krigsman Jun 10, 2024
d4fd94e
5512: print header in color missing lines
TomElliottFlexion Jun 10, 2024
06c1b11
5512: fix petitioner spouse displaying primary contact place of legal…
nechama-krigsman Jun 10, 2024
0f23203
5512: require redactionAcknowledgement on irsNotices only when a file…
TomElliottFlexion Jun 11, 2024
936ee55
Merge branch 'staging' of https://github.com/ustaxcourt/ef-cms into 5…
TomElliottFlexion Jun 11, 2024
2620c7f
5512: update tests for redactionAcknowledgement on irs notices
TomElliottFlexion Jun 11, 2024
30b3ae7
5512: limit facts and reasons textarea to size of viewport
TomElliottFlexion Jun 11, 2024
6d59224
5512: fix validateUploadPetitionStep3Action.test.ts
TomElliottFlexion Jun 11, 2024
10566db
5512: missed bold C/O on generated petition
TomElliottFlexion Jun 11, 2024
ee98d05
5512: limit facts and reasons to 80% of viewport on desktop
TomElliottFlexion Jun 11, 2024
51fb041
Merge branch '5512-story' of https://github.com/flexion/ef-cms into 5…
nechama-krigsman Jun 11, 2024
4adb5f1
5512: don't show toolbar on petition pdf preview
TomElliottFlexion Jun 11, 2024
4a8be9e
Merge branch '5512-story' of https://github.com/flexion/ef-cms into 5…
TomElliottFlexion Jun 11, 2024
49b5603
5512: update file-a-petition-step-3.cy.ts with new irs notice redacti…
TomElliottFlexion Jun 11, 2024
9ab5a3d
5512: update step 7 filing fee processing time text
TomElliottFlexion Jun 11, 2024
2f2d335
5512: add feature flag logic to BeforeStartingCase
TomElliottFlexion Jun 11, 2024
dd1b590
5512: wrap long file names on petition review screen;
nechama-krigsman Jun 11, 2024
4081c64
Merge branch '5512-story' of https://github.com/flexion/ef-cms into 5…
nechama-krigsman Jun 11, 2024
59f561b
5512: WIP add city and state issuing office field;
nechama-krigsman Jun 11, 2024
7d01e68
5512: Always display the place of legal residence;
Jun 12, 2024
d683142
5512: Change the order of petition upload and contact info;
Jun 12, 2024
3436796
5512: Fill contact info first;
Jun 12, 2024
847eede
5512: Fix cypress tests; Fix live validation for step 1 and 2;
Jun 12, 2024
7a33f07
5512: Move navigtion steps to top of function;
Jun 12, 2024
20be4e8
5512: Rename methods/files/sequences better for petitioner informatio…
Jun 12, 2024
843791d
5512: Fix step indicator titles;
Jun 12, 2024
6aebbcf
5512: Rename methods/files/sequences better for petition information …
Jun 12, 2024
a6eb687
5512: Fix and expand unit tests;
Jun 12, 2024
be32364
5512: Reorder case/notice types when user has IRS Notice; Add test to…
Jun 12, 2024
dff5b5d
5512: Include Deficiency for "Does not have IRS Notice" caseTypes; Ma…
Jun 13, 2024
6593670
5512: Fix unit test;
Jun 13, 2024
2f9f108
5512: rename output of getFilePetitionPetitionerInformationAction
TomElliottFlexion Jun 14, 2024
756494e
5512: format irs notice upload form for city/state of office
TomElliottFlexion Jun 14, 2024
b166e20
5512: display irs notice city/state on generated petition
TomElliottFlexion Jun 14, 2024
cc4953a
5512: clear out address form fields when toggling domestic/intl addre…
nechama-krigsman Jun 17, 2024
e788f9b
5512: use uswds classnames; remove custom classes;
nechama-krigsman Jun 18, 2024
1af35f6
5512: address text feedback; default case procedure to regular;
nechama-krigsman Jun 18, 2024
1c009d3
5512: fix file petition button spacing;
nechama-krigsman Jun 18, 2024
b92d370
5512: Display buttons when using window.print method
Jun 19, 2024
c6da1af
Merge remote-tracking branch 'taxCourt/staging' into 5512-story
Jun 19, 2024
e468d2a
5512: Delete test file for action that was deleted;
Jun 19, 2024
3bd2d91
5512: Fix clickable length of the radio buttons;
Jun 19, 2024
043af0e
5512: Fix margin on buttons;
Jun 19, 2024
3cc9bc7
5512: Fix margin on accordion (+) icon;
Jun 19, 2024
bfd80ed
5512: redo step 6/review page; Remove PDF preview; Show entered infor…
nechama-krigsman Jun 19, 2024
1aa0920
Merge branch '5512-story' of https://github.com/flexion/ef-cms into 5…
nechama-krigsman Jun 19, 2024
f3eb815
5512: Remove cypress step to check if PDF viewer is there;
Jun 19, 2024
75336d2
5512: align edit button on mobile view;
nechama-krigsman Jun 19, 2024
ecbb7d8
Merge branch '5512-story' of https://github.com/flexion/ef-cms into 5…
nechama-krigsman Jun 19, 2024
0a7e00f
5512: remove assertion; id does not exist when creating a generated p…
nechama-krigsman Jun 20, 2024
ce2f789
5512: update test id; put back assertion;
nechama-krigsman Jun 20, 2024
12e52e7
5512: Remove vertical border for validation errors in step 2;
Jun 20, 2024
70d7b0c
Merge branch '5512-story' of github.com:flexion/ef-cms into 5512-story
Jun 20, 2024
fc28c26
5512: Move cypress test files to correct directory;
Jun 20, 2024
1e2a35c
5512: Fix import;
Jun 20, 2024
b0aa825
5512: Add cypress test to assure user cannot add more than 5 IRS Noti…
Jun 20, 2024
5233ccf
5512: Implemented max number of IRS Notices; Extended tests;
Jun 20, 2024
8ac9309
5512: Fix cypress tests;
Jun 20, 2024
4773f26
Merge remote-tracking branch 'taxCourt/staging' into 5512-story
Jun 20, 2024
a335de5
Merge branch 'staging' into 5512-story
cruzjone-flexion Jun 20, 2024
5bbcf1c
5512: Remove cypress test since there is a default value now
Jun 20, 2024
aefd61e
Merge branch '5512-story' of github.com:flexion/ef-cms into 5512-story
Jun 20, 2024
53040da
5512: Fix typings and import statements;
Jun 21, 2024
fb07cf0
5512: Fix Typing errors in test files to lower overall count;
Jun 21, 2024
80ca23a
5512: clear out IRS notice info when toggling if user has IRS notice;
nechama-krigsman Jun 21, 2024
f7bb370
Merge branch 'staging' into 5512-story
cruzjone-flexion Jun 24, 2024
dd0d361
Merge branch 'staging' into 5512-story
cruzjone-flexion Jun 24, 2024
029e7da
5512: Enable all break points for USWDS;
Jun 24, 2024
1183895
5512: Fix typing;
Jun 24, 2024
4f6384d
Merge branch 'staging' into 5512-story
cruzjone-flexion Jun 24, 2024
5c85876
5512: small text feedback; updated review page feedback;
nechama-krigsman Jun 24, 2024
29916e8
Merge branch '5512-story' of https://github.com/flexion/ef-cms into 5…
nechama-krigsman Jun 24, 2024
1bdf1dc
5512: text change feedback;
nechama-krigsman Jun 24, 2024
b072ece
Merge branch 'staging' into 5512-story
cruzjone-flexion Jun 25, 2024
42a635a
5512: Reduce checkboxes wide selectable area;
Jun 25, 2024
fdacee5
5512: remove docket number from generated petition; include city and …
nechama-krigsman Jun 26, 2024
a68f503
5512: don't clear out secondary phone when toggling use same address …
nechama-krigsman Jun 26, 2024
13b61e8
Merge branch '5512-story' of https://github.com/flexion/ef-cms into 5…
nechama-krigsman Jun 26, 2024
763c81d
5512: indent petition reason and facts;
nechama-krigsman Jun 27, 2024
741ff69
5512: dont display bullet list of N/A if all IRS notice info is not p…
nechama-krigsman Jun 27, 2024
11c69c1
5512: display place of business for business party types on review page;
nechama-krigsman Jun 27, 2024
cea0d36
5512: update test since are not copying place of legal residence when…
nechama-krigsman Jun 27, 2024
d3bb631
5512: update test since are not copying phone when user clicks use sa…
nechama-krigsman Jun 27, 2024
0a90333
Merge branch 'staging' of https://github.com/ustaxcourt/ef-cms into 5…
nechama-krigsman Jun 27, 2024
bc7b8e6
5512: rename steps 1 and 2 to be consistent;
nechama-krigsman Jun 28, 2024
2d1d242
Merge branch 'staging' of https://github.com/ustaxcourt/ef-cms into 5…
nechama-krigsman Jun 28, 2024
91555c1
5512: clear redaction acknowledgement when a user removes an uploaded…
nechama-krigsman Jun 28, 2024
0f151dd
Merge branch 'staging' of https://github.com/ustaxcourt/ef-cms into 5…
nechama-krigsman Jul 1, 2024
464f04e
Merge branch 'staging' into 5512-story
nechama-krigsman Jul 1, 2024
4323966
Merge branch '5512-story' of https://github.com/flexion/ef-cms into 5…
nechama-krigsman Jul 1, 2024
55f238a
5512: only remove redaction acknowledgement state if there are no IRS…
nechama-krigsman Jul 1, 2024
3277923
5512: display disclosure when case types Notice of Intention to Discl…
nechama-krigsman Jul 1, 2024
3f4d059
5512: only remove redaction acknowledgement state if there are no pet…
nechama-krigsman Jul 2, 2024
5906605
Merge branch 'staging' into 5512-story
nechama-krigsman Jul 2, 2024
728e74a
5512: don't display scroll to top button on printed page;
nechama-krigsman Jul 2, 2024
7a747ea
5512: fix spacing when displaying N/A for place of legal residence;
nechama-krigsman Jul 2, 2024
4e4b4a1
5512: span 5 equal columns for irs notices; span 3 equal columns for …
nechama-krigsman Jul 2, 2024
5e2452d
5512: span 5 equal columns case information;
nechama-krigsman Jul 2, 2024
a20bbcb
5512: fix spacing on petitioner information review page;
nechama-krigsman Jul 3, 2024
40ed266
5512: adjust spacing on case type and irs notice section on review page;
nechama-krigsman Jul 3, 2024
ca01010
5512: update test;
nechama-krigsman Jul 3, 2024
ae939b1
5512: display place of legal residence on review page when user uploa…
nechama-krigsman Jul 3, 2024
3337b42
5512: fix large selection box when tabbing link buttons;
nechama-krigsman Jul 3, 2024
dd6289f
5512: pass validation sequence for CDS;
nechama-krigsman Jul 4, 2024
4fcf99b
5512: fix types;
nechama-krigsman Jul 4, 2024
e15a797
5512: don't display place of legal residence on generated petition if…
nechama-krigsman Jul 4, 2024
5af3634
5512: remove unused type;
nechama-krigsman Jul 4, 2024
609d859
5512: remove unused type;
nechama-krigsman Jul 4, 2024
0026052
5512: add cypress test for step 5;
nechama-krigsman Jul 4, 2024
ec6fbc9
5512: add types to sequence;
nechama-krigsman Jul 4, 2024
585312d
5512: add data testid;
nechama-krigsman Jul 4, 2024
f514f84
5512: update component types to include deps;
nechama-krigsman Jul 5, 2024
6c99fc7
5512: add types for sequences;
nechama-krigsman Jul 8, 2024
28be4c0
5512: add types to components; some cleanup;
nechama-krigsman Jul 8, 2024
5d92081
5512: fix large selection box when tabbing links;
nechama-krigsman Jul 8, 2024
6bc1135
5512: revert large selection box fix;
nechama-krigsman Jul 8, 2024
446ce4f
Merge branch 'staging' of https://github.com/ustaxcourt/ef-cms into 5…
nechama-krigsman Jul 8, 2024
041f590
5512: fix type errors;
nechama-krigsman Jul 8, 2024
f74eba7
5512: add cypress tests around petitioner information display on step 6;
nechama-krigsman Jul 9, 2024
3b891a2
5512: Remove before each and added to test; Added new cypress tests a…
nechama-krigsman Jul 9, 2024
e01b141
5512: remove left padding to display reminder on one line;
nechama-krigsman Jul 10, 2024
eedc923
5512: add cypress tests around petitioner information on review page;
nechama-krigsman Jul 10, 2024
24bede0
5512: left align the remove button to the reason text box;
nechama-krigsman Jul 10, 2024
39b3ea7
5512: fix display of yes to register for eservice;
nechama-krigsman Jul 10, 2024
6313110
Merge branch 'staging' of https://github.com/ustaxcourt/ef-cms into 5…
nechama-krigsman Jul 10, 2024
2f62aa3
Merge branch 'staging' into 5512-story
nechama-krigsman Jul 10, 2024
e873c23
5512: update data-testids;
nechama-krigsman Jul 11, 2024
93adde4
Merge branch 'staging' into 5512-story
nechama-krigsman Jul 11, 2024
250eae0
5512: remove empty display of legal place of residence;
nechama-krigsman Jul 11, 2024
ead63d5
5512: put back test parameter that was removed in merge;
nechama-krigsman Jul 11, 2024
c8d1c47
5512: update testid;
nechama-krigsman Jul 11, 2024
d702da4
Merge branch 'staging' into 5512-story
jimlerza Jul 11, 2024
9ad4b4f
5512: add tests around updatedFilePetitionHelper;
nechama-krigsman Jul 12, 2024
bbc2d3a
5512: rename cypress test files;
nechama-krigsman Jul 12, 2024
3f885c2
5512: add tests around step 6 petition information section;
nechama-krigsman Jul 12, 2024
d3fb895
5512: For secondary contact info save email user inputted as paperPet…
nechama-krigsman Jul 15, 2024
0cb70fe
5512: Display the email and consent for efiled petitions when filing …
Jul 15, 2024
7404f86
5512-story: fix validation errors for optional secondary phone number…
nechama-krigsman Jul 17, 2024
f8d1c78
Merge branch 'staging' of https://github.com/ustaxcourt/ef-cms into 5…
nechama-krigsman Jul 17, 2024
d66ce42
5512: remove renamed action
TomElliottFlexion Jul 17, 2024
f8e2a00
Merge branch '5512-story' of https://github.com/flexion/ef-cms into 5…
TomElliottFlexion Jul 17, 2024
1a106d9
5512: fix tests;
nechama-krigsman Jul 17, 2024
b977909
5512: add stepper navigation
TomElliottFlexion Jul 17, 2024
7214d64
Merge branch '5512-story' of https://github.com/flexion/ef-cms into 5…
TomElliottFlexion Jul 17, 2024
510c2e6
5512: don't run cancel sequence when modal is closed
TomElliottFlexion Jul 17, 2024
e40022a
5512: fix type error
nechama-krigsman Jul 17, 2024
d4bdaed
Merge branch '5512-story' of https://github.com/flexion/ef-cms into 5…
TomElliottFlexion Jul 17, 2024
36eaaff
5512: add tests around default secondary phone;
nechama-krigsman Jul 17, 2024
4bd526a
5512: fix stepper wrapping on mobile; fix case header wrap so the doc…
nechama-krigsman Jul 18, 2024
f852347
5512: prevent stepper navigation on step 7
TomElliottFlexion Jul 18, 2024
ec6887b
5512: fix display secondary contact info on petition;
nechama-krigsman Jul 18, 2024
e25e087
5512: remove petition pdf preview
TomElliottFlexion Jul 18, 2024
e78c829
Merge branch 'staging' into 5512-story
nechama-krigsman Jul 18, 2024
feaffc8
Merge branch '5512-story' of https://github.com/flexion/ef-cms into 5…
TomElliottFlexion Jul 18, 2024
f698c61
5512: reorder no irs notice case types dropdown; rename case types; e…
nechama-krigsman Jul 18, 2024
12923e4
5512: update test;
nechama-krigsman Jul 19, 2024
a196a5b
5512: toggle feature flag for failing cypress test;
nechama-krigsman Jul 19, 2024
f6d19b3
5512: Default the phone number to "N/A" for paper filing;
Jul 22, 2024
6e6f16c
5512: Update text;
Jul 22, 2024
02d135f
5512: Add unit test around defaulring secondary contact phone;
Jul 22, 2024
ad1532c
5512: Pass "hasIrsNotice" property to the POST request;
Jul 22, 2024
bcc4635
Merge remote-tracking branch 'taxCourt/staging' into 5512-story
Jul 23, 2024
e3d177b
5512: add tests around step 6 review page;
nechama-krigsman Jul 23, 2024
a9616f0
5512: add tests around step7;
nechama-krigsman Jul 23, 2024
ce81d67
5512: Add header for Spouse information
nechama-krigsman Jul 23, 2024
18bd2e9
5512: Updated cypress test assertion;
nechama-krigsman Jul 23, 2024
26931c6
5512: Add cypress test to happy path creating a petition (uploaded/ge…
nechama-krigsman Jul 23, 2024
9657b3d
5512: display secondary paper petition email on generated petition;
nechama-krigsman Jul 23, 2024
b78cc1a
5512: add cypress test around creating and serving paper petition wit…
nechama-krigsman Jul 23, 2024
159b705
5512: remove comment;
nechama-krigsman Jul 23, 2024
7c2f731
5512: Use "hasUploadedIrsNotice" boolean instead of "noticeIssuedDate…
Jul 24, 2024
d0a9260
5512: Update unit tests for generatePetitionPdfInteractor;
Jul 24, 2024
594b27e
5512: updated version of petitionerCreatesElectronicCaseForBusiness a…
TomElliottFlexion Jul 24, 2024
e5d4d9d
5512: create updated version of petitionerAttemptsToUploadCorruptPdf
TomElliottFlexion Jul 24, 2024
1f21ac2
5512: add cypress test for new petitionerCreatesElectronicCaseWithSpo…
TomElliottFlexion Jul 24, 2024
ec7b3d5
5512: remove duplicate state selection
TomElliottFlexion Jul 24, 2024
b401ac4
5512: remove remaining instances of toggleFeatureFlag
TomElliottFlexion Jul 24, 2024
7a8b1c7
5512: return to my cases after filing electronic petition in cypress
TomElliottFlexion Jul 24, 2024
2b38810
Merge branch 'staging' into 5512-story
jimlerza Jul 25, 2024
ecdd4c6
5512: Fix minor bug where case description was not displaying on gene…
nechama-krigsman Jul 25, 2024
681c2ca
5512: Fix unit test assertions for "formatPetitionAction";
nechama-krigsman Jul 25, 2024
37cacd8
5512: Fix unit test assertions for "generatePetitionPdfInteractor";
nechama-krigsman Jul 25, 2024
3f68798
5512: Fix cypress test that used old legacy petition generation flow;
nechama-krigsman Jul 25, 2024
27f9989
Merge branch 'staging' into 5512-story
nechama-krigsman Jul 25, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 4 additions & 1 deletion cypress-public.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { defineConfig } from 'cypress';
import { setAllowedTerminalIpAddresses } from './cypress/local-only/support/database';
import { toggleFeatureFlag } from './cypress/helpers/cypressTasks/dynamo/dynamo-helpers';
import fs from 'fs';
import path from 'path';

Expand All @@ -22,9 +23,11 @@ export default defineConfig({
},
table(message) {
console.table(message);

return null;
},
toggleFeatureFlag(args) {
return toggleFeatureFlag(args);
},
});
},
specPattern: [
Expand Down
8 changes: 8 additions & 0 deletions cypress-smoketests.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ import {
import {
expireUserConfirmationCode,
getEmailVerificationToken,
getFeatureFlagValue,
getNewAccountVerificationCode,
toggleFeatureFlag,
} from './cypress/helpers/cypressTasks/dynamo/dynamo-helpers';
import { unzipFile } from './cypress/helpers/file/unzip-file';
import { waitForNoce } from './cypress/helpers/cypressTasks/wait-for-noce';
Expand Down Expand Up @@ -69,6 +71,9 @@ export default defineConfig({
getEmailVerificationToken({ email }) {
return getEmailVerificationToken({ email });
},
getFeatureFlagValue({ flag }) {
return getFeatureFlagValue({ flag });
},
getIrsBearerToken({ password, userName }) {
return getIrsBearerToken({
password,
Expand All @@ -87,6 +92,9 @@ export default defineConfig({
}) {
return readAllItemsInBucket({ bucketName, retries });
},
toggleFeatureFlag(args) {
return toggleFeatureFlag(args);
},
unzipFile({ fileName }) {
return unzipFile({ fileName });
},
Expand Down
9 changes: 8 additions & 1 deletion cypress.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ import {
import {
expireUserConfirmationCode,
getEmailVerificationToken,
getFeatureFlagValue,
getNewAccountVerificationCode,
toggleFeatureFlag,
} from './cypress/helpers/cypressTasks/dynamo/dynamo-helpers';
import { unzipFile } from './cypress/helpers/file/unzip-file';
import { waitForNoce } from './cypress/helpers/cypressTasks/wait-for-noce';
Expand Down Expand Up @@ -43,14 +45,19 @@ export default defineConfig({
getEmailVerificationToken({ email }) {
return getEmailVerificationToken({ email });
},
getFeatureFlagValue({ flag }) {
return getFeatureFlagValue({ flag });
},
getNewAccountVerificationCode({ email }) {
return getNewAccountVerificationCode({ email });
},
table(message) {
console.table(message);

return null;
},
toggleFeatureFlag(args) {
return toggleFeatureFlag(args);
},
unzipFile({ fileName }) {
return unzipFile({ fileName });
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export function petitionsclerkAddsRespondentToCase(
export function petitionsClerkAddsRespondentToCase(
docketNumber: string,
barNumber: string,
) {
Expand Down
43 changes: 43 additions & 0 deletions cypress/helpers/cypressTasks/dynamo/dynamo-helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,49 @@ export const expireUserConfirmationCode = async (
return null;
};

export const toggleFeatureFlag = async ({
flag,
flagValue,
}: {
flag: string;
flagValue: any;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Aren't our feature flag values booleans?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Aren't our feature flag values booleans?

I believe the Clerk of Court and Chief Judge values are formatted like feature flags (that is, their value is stored in the current field).

}): Promise<null> => {
const dynamoClient = await getDocumentClient();
await dynamoClient.update({
ExpressionAttributeNames: {
'#value': 'current',
},
ExpressionAttributeValues: {
':value': flagValue,
},
Key: {
pk: flag,
sk: flag,
},
TableName: getCypressEnv().dynamoDbTableName,
UpdateExpression: 'SET #value = :value',
});

return null;
};

export const getFeatureFlagValue = async ({
flag,
}: {
flag: string;
}): Promise<boolean> => {
const dynamoClient = await getDocumentClient();
const result = await dynamoClient.get({
Key: {
pk: flag,
sk: flag,
},
TableName: getCypressEnv().dynamoDbDeployTableName,
});

return !!result?.Item?.current;
};

export const getEmailVerificationToken = async ({
email,
}: {
Expand Down
4 changes: 4 additions & 0 deletions cypress/helpers/env/cypressEnvironment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ export const getCypressEnv = () => {
cognitoEndpoint: env === 'local' ? 'http://localhost:9229/' : undefined,
defaultAccountPass: Cypress.env('DEFAULT_ACCOUNT_PASS') || 'Testing1234$',
deployingColor: Cypress.env('DEPLOYING_COLOR'),
dynamoDbDeployTableName:
Cypress.env('DYNAMODB_DEPLOY_TABLE_NAME') || 'efcms-local',
dynamoDbTableName: Cypress.env('DYNAMODB_TABLE_NAME') || 'efcms-local',
efcmsDomain: Cypress.env('EFCMS_DOMAIN'),
env,
Expand All @@ -26,6 +28,8 @@ export const getCypressEnv = () => {
defaultAccountPass:
process.env.CYPRESS_DEFAULT_ACCOUNT_PASS || 'Testing1234$',
deployingColor: process.env.CYPRESS_DEPLOYING_COLOR,
dynamoDbDeployTableName:
process.env.CYPRESS_DYNAMODB_DEPLOY_TABLE_NAME || 'efcms-local',
dynamoDbTableName: process.env.CYPRESS_DYNAMODB_TABLE_NAME || 'efcms-local',
efcmsDomain: process.env.CYPRESS_EFCMS_DOMAIN,
env,
Expand Down
2 changes: 1 addition & 1 deletion cypress/helpers/file/upload-file.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ export function uploadFile(testId: string) {
cy.get(`[data-testid="${testId}"]`).attachFile(
'../../helpers/file/sample.pdf',
);
cy.get(`[data-testid="${testId}-label"]`).should('have.class', 'validated');
cy.get('[data-testid="upload-file-success"]').should('exist');
}
70 changes: 70 additions & 0 deletions cypress/helpers/fileAPetition/create-and-serve-paper-petition.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,3 +142,73 @@ export function createAndServePaperPetition(
});
});
}

export function createAndServePaperPetitionMyselfAndSpouse() {
cy.login('petitionsclerk1');
cy.get('[data-testid="inbox-tab-content"]').should('exist');
cy.get('[data-testid="document-qc-nav-item"]').click();
cy.get('[data-testid="start-a-petition"]').click();

cy.get('#party-type').select('Petitioner & spouse');
cy.get('[data-testid="contact-primary-name"]').type('John');
cy.get('[data-testid="contactPrimary.address1"]').type('111 South West St.');
cy.get('[data-testid="contactPrimary.city"]').type('Orlando');
cy.get('[data-testid="contactPrimary.state"]').select('AK');
cy.get('[data-testid="contactPrimary.postalCode"]').type('09876');
cy.get('[data-testid="phone"]').type('3232323232');
cy.get('[data-testid="contact-secondary-name"]').type('John Spouse');
cy.get('[data-testid="contactSecondary.address1"]').type('address1');
cy.get('[data-testid="contactSecondary.city"]').type('jackson');
cy.get('[data-testid="contactSecondary.state"]').select('AL');
cy.get('[data-testid="contactSecondary.postalCode"]').type('09876');
cy.get('[data-testid="tab-case-info"] > .button-text').click();

cy.get('#date-received-picker').type('07/16/2024');
cy.get('#mailing-date').type('07/16/2024');
cy.get('[data-testid="preferred-trial-city"]').select('Birmingham, Alabama');
cy.get('[data-testid="payment-status-paid-radio"]').click();

cy.get('[data-testid="payment-date-picker"]').eq(1).type('07/16/2024');
cy.get('#petition-payment-method').type('paid');
cy.get('[data-testid="tab-irs-notice"] > .button-text').click();
cy.get('[data-testid="case-type-select"]').select('Deficiency');

cy.get('#upload-mode-upload').click();
cy.get('#petitionFile-file').attachFile('../../helpers/file/sample.pdf');

cy.get('#tabButton-requestForPlaceOfTrialFile > .button-text').click();
cy.get('#upload-mode-upload').click();
cy.get('#requestForPlaceOfTrialFile-file').attachFile(
'../../helpers/file/sample.pdf',
);

cy.get('[data-testid="tabButton-stinFile"]').click();
cy.get('[data-testid="upload-pdf-button"]').click();
cy.get('input#stinFile-file').attachFile('../../helpers/file/sample.pdf');

cy.get('[data-testid="submit-paper-petition"]').click();

return cy
.get('.docket-number-header a')
.invoke('attr', 'href')
.then(href => {
const docketNumber = href!.split('/').pop();
cy.get('[data-testid="serve-case-to-irs"]').click();
cy.get('[data-testid="modal-confirm"]').click();
cy.get(
'[data-testid="done-viewing-paper-petition-receipt-button"]',
).click();

cy.get('[data-testid="success-alert"]').contains(
'Petition served to IRS.',
);

cy.get('[data-testid="docket-number-search-input"]').type(
`${docketNumber}`,
);

cy.get('[data-testid="search-docket-number"]').click();

return cy.wrap(docketNumber);
});
}
Loading
Loading