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

Merge staging into prod #5261

Merged
merged 272 commits into from
Aug 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
272 commits
Select commit Hold shift + click to select a range
ab3d112
10102-story: continue refining pdf preview
pixiwyn Jun 28, 2024
2401586
Merge branch 'staging' of github.com:ustaxcourt/ef-cms into 10102-story
pixiwyn Jun 28, 2024
5ab567b
10102-story: update local seed data to include status reports + write…
pixiwyn Jun 28, 2024
66068a8
10102-story: update date formatting and notes post convo with pm
pixiwyn Jun 28, 2024
f4e8e37
10102-story: match form with mocks
pixiwyn Jun 28, 2024
7bdc270
Conditionally append "It is further" to status report order response …
akuny Jul 1, 2024
7a70642
Work on formatting of text in pdf
akuny Jul 1, 2024
d343a45
merge ustc staging into branch
Mwindo Jul 1, 2024
5023d6b
10102-story: unit tests for setStatusReportOrderResponseFormAction an…
Mwindo Jul 1, 2024
401d1b0
Merge branch 'staging' into 10102-story
pixiwyn Jul 2, 2024
811ce1a
10102-story: route to status report order response form on edit
pixiwyn Jul 2, 2024
9e5aebb
10102-story: fix date handling on setEditStatusReportOrderResponseForm
pixiwyn Jul 2, 2024
c6d8dac
10102-story: finish edit routing for status report order response
pixiwyn Jul 2, 2024
835d516
10102-story: update notes
pixiwyn Jul 2, 2024
d90badc
10102-story: default docket entry description to Order
Mwindo Jul 3, 2024
31b6c71
10102-story: fix accessibility test and finish units test prepareStat…
Mwindo Jul 3, 2024
a17eb81
10102-story: resolve clear form issue on edit
Mwindo Jul 3, 2024
b73a6cb
10102-story: wrap up date formatting on generated pdf, default docket…
Mwindo Jul 3, 2024
b7d7e57
10102-story: generate pdf preview automatically upon edit of order re…
Mwindo Jul 3, 2024
5c2e575
test Chris permissions
Mwindo Jul 3, 2024
0f18736
10102-story: start on integration tests
pixiwyn Jul 3, 2024
8d56afe
10102-story: Move StatusReportOrderResponse sequences and actions int…
akuny Jul 4, 2024
cc09bbb
10102-story: refine naming conventions
akuny Jul 4, 2024
fddea40
10102-story: create dummy pdf for status report
akuny Jul 4, 2024
7b25388
10102: added additional types
akuny Jul 4, 2024
0a571f8
10102-story: fix type errors
akuny Jul 4, 2024
abf1c85
10102-story: added local image file and fixed bugs
akuny Jul 4, 2024
17469fd
10102-story: expand integration test suite
akuny Jul 4, 2024
8e5b8ab
10102-story: wrap up unit tests on actions
pixiwyn Jul 4, 2024
ec83ee4
10102-story: move formatStatusReportFilingDateAction
pixiwyn Jul 4, 2024
769fd5e
10102-story: add unit test for status report order response helper
pixiwyn Jul 4, 2024
cd8174b
10102-story: met unit test code coverage thus updating notes to remov…
pixiwyn Jul 4, 2024
8f682d5
10102-story: update css form StatusReportOrderResponse component and …
akuny Jul 5, 2024
0923fcf
10102-story: fix StatusReportOrderResponseForm validation logic so th…
akuny Jul 5, 2024
a93c229
Update notes
akuny Jul 5, 2024
c26c0cf
10102-story: added a route for creating an order response and for edi…
akuny Jul 5, 2024
7b0f264
10102-story: refactor so that navigateToStatusReportOrderResponseActi…
akuny Jul 5, 2024
1767f2a
10102-story: write unit tests for two actions
akuny Jul 5, 2024
fb5efec
10102-story: update unit tests affected by changes made after they we…
akuny Jul 5, 2024
387f13d
10102-story: update notes doc
akuny Jul 5, 2024
1783540
10102-story: get response order working from messages tab with proper…
Mwindo Jul 8, 2024
c6b450d
10102-story: add unit tests for shouldUnsetParentMessageIdAction and …
pixiwyn Jul 8, 2024
d402a20
10102-story: update css on StatusReportOrderResponse.tsx to add margi…
Mwindo Jul 9, 2024
e5f1c7e
10102-story: removing the usa-radio__block class from my previous com…
Mwindo Jul 9, 2024
5c8c831
10102-story: save scraping pdf functionality in the integration tests
pixiwyn Jul 9, 2024
de75de0
10102-story: outline integration test
pixiwyn Jul 9, 2024
026bea3
10102-story: vertically align jurisdiction radio buttons
Mwindo Jul 9, 2024
b81359e
Fix syntax in cypress test suite
akuny Jul 9, 2024
11bdea6
10102-story: Factor navigation in to navigateToStatusReportOrderRespo…
akuny Jul 9, 2024
4260877
10102-story: wrapped up edit status report order response from messag…
Mwindo Jul 9, 2024
8dcf353
Merge branch 'staging' of github.com:ustaxcourt/ef-cms into 10102-story
Mwindo Jul 9, 2024
41d0474
10102-story: fix route in judge.cy.ts and add tests for creating/edit…
Mwindo Jul 10, 2024
dfbb4f2
10102-story: add two tests for creating/editing orders from messages,…
Mwindo Jul 10, 2024
cd6e8c5
10102-story: adding some test cypress helper functions and extending …
Mwindo Jul 10, 2024
871829b
10102-story: slight refactor to cypress tests
Mwindo Jul 10, 2024
c74c671
10102-story: reactor to resolve refresh issues
pixiwyn Jul 10, 2024
8985026
Merge branch '10102-story' of github.com:flexion/ef-cms into 10102-story
pixiwyn Jul 10, 2024
8211eb5
10102-story: add missing unit tests and fix naming
pixiwyn Jul 10, 2024
d539682
10102-story: add docket clerk tests
Mwindo Jul 10, 2024
477444c
Merge branch 'staging' of github.com:ustaxcourt/ef-cms into 10102-story
Mwindo Jul 10, 2024
2349ee6
10102-story: fix validation issue that occurred after merging in stag…
Mwindo Jul 11, 2024
a500435
Merge branch 'staging' of github.com:ustaxcourt/ef-cms into 10102-story
Mwindo Jul 11, 2024
9382953
10102-story: getting petitionerFilesADocument.test.ts to pass
Mwindo Jul 11, 2024
fff0590
Merge branch 'staging' into 10102-story
jimlerza Jul 11, 2024
fc80e01
10102-story: fixed failing unit test, and refactored/extended cypress…
Mwindo Jul 11, 2024
3185bb8
Merge branch '10102-story' of github.com:flexion/ef-cms into 10102-story
Mwindo Jul 11, 2024
3d250b5
10102-story: fix createOrderHelper unit test, and fix file-status-rep…
Mwindo Jul 11, 2024
090fb4e
10102-story: temporarily fix a flaky test
Mwindo Jul 11, 2024
8912b49
10102: checkDocumentTypeAction test
TomElliottFlexion Jul 11, 2024
597fc03
10102-story: update notes
pixiwyn Jul 11, 2024
7c75fd1
10102-story: update date handling in cypress test suite
Mwindo Jul 12, 2024
0a04f70
10102-story: update notes and remove inline style for lead case radio…
Mwindo Jul 12, 2024
5e4da26
Update notes
akuny Jul 12, 2024
76896d7
Add two pieces of missing functionality
akuny Jul 12, 2024
d5ee500
10102-story: fix issue with language of 'all cases in group' vs. 'jus…
Mwindo Jul 12, 2024
dd403c8
10102-story: fixing unit tests for prepareStatusReportOrder and addin…
Mwindo Jul 15, 2024
c9c3a00
10102: Add redirect url from messages
akuny Jul 15, 2024
df4eb06
10102: refactor docketEntryIdToEdit
akuny Jul 15, 2024
41b2db2
10102-story: prevent horizontal resize on textarea and remove notes
akuny Jul 15, 2024
5dd37a8
Merge branch 'staging' of https://github.com/ustaxcourt/ef-cms into 1…
akuny Jul 15, 2024
d665fab
10323-story: try using non-breaking space to preserve tabs rather tha…
Mwindo Jul 16, 2024
88524a2
10323-story: avoid .replace when text not present
Mwindo Jul 16, 2024
abcb489
10323-story: ensure the change only affects the initial paragraph lin…
Mwindo Jul 17, 2024
05c9b1e
10102-story: remove old TODO, and prevent edit-status-report-order-re…
Mwindo Jul 17, 2024
25d4f3d
10102-story: address feedback by adding constants for issueOrder, ord…
Mwindo Jul 17, 2024
fb121b6
Merge branch 'staging' into 10102-story
Mwindo Jul 17, 2024
ca6932a
10102-story: adding a slightly better selector in a couple of cypress…
Mwindo Jul 17, 2024
63c0044
Merge branch 'staging' into 10102-story
pixiwyn Jul 19, 2024
b299f13
10102-story: potential fix for flaky test
Mwindo Jul 19, 2024
3592729
5512: remove petition redaction acknowledgement from Electronic petit…
nechama-krigsman Jul 25, 2024
013f0e2
5512: Extracted the 'N/A' constant to Entity Constant file;
nechama-krigsman Jul 25, 2024
0ebe557
5512: use useEffect instead of local variable;
nechama-krigsman Jul 25, 2024
ca932fa
5512: Extracted React components from Step 6 to own files;
nechama-krigsman Jul 25, 2024
8375cc7
5512: Extracted React components from Step 1 to own files;
nechama-krigsman Jul 25, 2024
6c5eb78
5512: Remove Comment;
nechama-krigsman Jul 25, 2024
d11a7b7
Merge branch '5512-story' into 5512-story-updates
nechama-krigsman Jul 25, 2024
09e6530
Merge branch '5512-story' into 5512-story-updates
nechama-krigsman Jul 25, 2024
ee9bf90
5512: move logic to generate case description based off of original c…
nechama-krigsman Jul 25, 2024
69d94f9
5512: Use empty HTML tags instead of React.Fragment tags;
nechama-krigsman Jul 25, 2024
959f587
5512: rename get data actions;
nechama-krigsman Jul 25, 2024
0ed4ceb
5512: rename state property where we store data for create a petition…
nechama-krigsman Jul 25, 2024
ea4d90d
5512: rename state property where we store data for create a petition…
nechama-krigsman Jul 25, 2024
ee5a028
5512: rename state property where we store data for create a petition…
nechama-krigsman Jul 25, 2024
0badc94
5512: rename state property where we store data for create a petition…
nechama-krigsman Jul 25, 2024
1177bfd
5512: rename state property where we store data for create a petition…
nechama-krigsman Jul 25, 2024
cbc1344
5512: Refactor out a nested if condition when assigning phone number …
nechama-krigsman Jul 25, 2024
75905dd
5512: add types to updatePetitionFormValueSequence;
nechama-krigsman Jul 25, 2024
6bc8e9a
5512: separate place of legal residence ids with hyphen instead of pe…
nechama-krigsman Jul 26, 2024
8c49af4
5512: rename count prop; updated component types;
nechama-krigsman Jul 26, 2024
b863b1b
5512: refactor default contact state to avoid duplicate code;
nechama-krigsman Jul 26, 2024
be6281e
5512: remove destructuring to be consistent;
nechama-krigsman Jul 26, 2024
120b358
5512: rename variable for clarity;
nechama-krigsman Jul 26, 2024
57dc871
5512: Add new lines;
Jul 26, 2024
9615df3
5512: Update how we check for errors;
Jul 26, 2024
fb9568d
Merge branch '5512-story-updates' of github.com:flexion/ef-cms into 5…
Jul 26, 2024
db35aee
5512: Use existing setFormValueAction;
Jul 26, 2024
808b866
5512: Refactor action;
Jul 26, 2024
ee3047b
5512: Extend unit test coverage of action;
Jul 26, 2024
6226509
5512: Refactor action to reduce code duplication;
Jul 26, 2024
1d23869
5512: Refactor action for better naming;
Jul 26, 2024
1c3078d
5512: Make sure we return after calling the error path in action;
Jul 26, 2024
97072a9
5512: extract focus validation logic to helper; add tests;
nechama-krigsman Jul 29, 2024
9cc2202
Merge branch '5512-story-updates' of https://github.com/flexion/ef-cm…
nechama-krigsman Jul 29, 2024
b9b749a
10102-story: incorporate review feedback
Mwindo Jul 29, 2024
dc21b6e
5512: remove inline style on petition facts and reasons;
nechama-krigsman Jul 29, 2024
ebed810
Merge remote-tracking branch 'ustc/staging' into 10102-story
Mwindo Jul 29, 2024
432503e
10102-story: fix type
Mwindo Jul 29, 2024
a2d32c8
5512: add types for PetitionPdf; Remove date formatting as data alrea…
nechama-krigsman Jul 29, 2024
c4916b6
5512: generate keys combining property and index to replace potential…
nechama-krigsman Jul 29, 2024
e1528af
5512: move PETITION_TYPES to entity constants;
nechama-krigsman Jul 29, 2024
871f87c
10323-story: try to use white-space: pre-wrap !important; in TextEdit…
Mwindo Jul 30, 2024
daf35d6
5512: Typing the Petition Generation flow; update Tests;
nechama-krigsman Jul 30, 2024
768a1a7
5512: a11y tests step 1;
nechama-krigsman Jul 30, 2024
72338c5
5512: a11y tests step 2;
nechama-krigsman Jul 30, 2024
29caf28
5512: Create accessibility tests for petition generation flow;
Jul 30, 2024
8575ca2
5512: Use helper function to fill step 1 information;
Jul 30, 2024
525bb69
5512: Use Entity to make sure data is correct for the generatePetitio…
Jul 30, 2024
6f52335
5512: accessibility test step 7 and welcome page;
nechama-krigsman Jul 31, 2024
ba1ad21
10102-story: feedback part 1, rename everything
Mwindo Jul 31, 2024
f76dea3
5512: update tests around generatePetitionPdfAction;
nechama-krigsman Jul 31, 2024
c8ef44b
5512: add tests around GeneratePetitionPdf entity;
nechama-krigsman Jul 31, 2024
9b3c2e1
5512: fix key causing text component to remount and lose focus;
nechama-krigsman Jul 31, 2024
c5b792e
10102-story: restrict docket clerk access to editing status report or…
akuny Jul 31, 2024
678d536
5512: fix petition facts and reasons textbox not displaying when user…
nechama-krigsman Jul 31, 2024
36672f7
5512: remove duplicate sequence;
nechama-krigsman Jul 31, 2024
55db675
remove console logs and add comment with TODO
Mwindo Jul 31, 2024
cfe5b79
10102-story: restrict docket clerk (etc.) access to editing status re…
Mwindo Aug 1, 2024
8489b27
10102-story: remove docket-entry-description
Mwindo Aug 1, 2024
2829d6a
10102-story: a few fixes for the last commit
Mwindo Aug 1, 2024
f8e34c8
5512: unit test tweak, remove comment
TomElliottFlexion Aug 1, 2024
512e663
5512: use constants for validating countryType and partyType
nechama-krigsman Aug 1, 2024
0684394
5512: we dont need to manually remove top level validation messages s…
nechama-krigsman Aug 1, 2024
6632b29
5512: fix tests;
nechama-krigsman Aug 1, 2024
ae86f64
10323-story: get tabs to render too
Mwindo Aug 2, 2024
5624c8e
10102-story: begin refactor of draftDocumentViewerHelper and messageD…
akuny Aug 2, 2024
56e7875
10102-story: reorder imports consistently in draftDocumentViewerHelpe…
akuny Aug 2, 2024
bd4e632
10102-story: finish first iteration of refactor
akuny Aug 2, 2024
143fbf1
5512: remove unused component; remove redundant check to show other f…
nechama-krigsman Aug 2, 2024
f0e9cae
10102-story: rearrange and rename variables
akuny Aug 2, 2024
5435d4e
10102-story: reorder some boolean checks and modify unit tests
akuny Aug 2, 2024
a196871
10102-story: remove some logging for debugging
akuny Aug 2, 2024
fba2005
10102-story: reordering and renaming a few more variables, and remove…
akuny Aug 2, 2024
5d1579f
5512: move petition reason and fact formatting to new action;
nechama-krigsman Aug 2, 2024
57be8e7
5512: remove unused action; we are using clearAddressFieldsAction ins…
nechama-krigsman Aug 2, 2024
cdda04f
5512: add tests around updateIrsNoticeIndexPropertyAction;
nechama-krigsman Aug 2, 2024
58e222d
5512: use irsNotices properties directly instead of separate variables;
nechama-krigsman Aug 2, 2024
7bf3579
5512: remove test since logic was moved to new action formatPetitionF…
nechama-krigsman Aug 5, 2024
c6da04e
5512: remove unused state;
nechama-krigsman Aug 5, 2024
39e47a1
5512: remove field since we are using irsNotices properties directly;
nechama-krigsman Aug 5, 2024
876323c
5512: shorten key length in petition reasons and facts;
nechama-krigsman Aug 5, 2024
86404ae
Merge branch 'staging' into 5512-story-updates
nechama-krigsman Aug 5, 2024
719866d
10102-story: undo experimental changes and add a few comments about d…
Mwindo Aug 5, 2024
c017a20
dep-updates: update terraform version in Dockerfile
akuny Aug 7, 2024
83407b4
dep-updates: update aws-cli version in Dockerfile
akuny Aug 7, 2024
df63c38
5512: include case types Disclosure1 and Disclosure2 in entity valida…
nechama-krigsman Aug 7, 2024
24c02dc
5512: update character limit and validation message for cityAndStateI…
nechama-krigsman Aug 7, 2024
d8fa82c
dep-updates: update package.json in root dir
akuny Aug 7, 2024
90c53f2
dep-updates: bump chromium and puppeteer/puppeteer-core in both packa…
akuny Aug 7, 2024
09fd830
5512: fix tests and type errors;
nechama-krigsman Aug 7, 2024
0e0ea75
5512: update test to use casetypes we display in the dropdown;
nechama-krigsman Aug 7, 2024
819f35c
Merge branch 'staging' into 5512-story-updates
nechama-krigsman Aug 7, 2024
831c640
dep-updates: update package-lock.json
akuny Aug 7, 2024
f69fd3f
dep-updates: update verify-terraform-version script
akuny Aug 7, 2024
2f1e27b
dep-updates: bump efcms-docker-image version number in ./circleci/con…
akuny Aug 7, 2024
aef801c
10323-story: fix tab and indenting
Mwindo Aug 7, 2024
5f12265
Merge remote-tracking branch 'USTC/staging' into dep-updates-20240807
akuny Aug 8, 2024
7da8cb3
10433-design-debt: only show petition alert if the petitioner is asso…
Mwindo Aug 8, 2024
1011ed2
Merge remote-tracking branch 'USTC/staging' into dep-updates-20240807
akuny Aug 9, 2024
4793b4a
Update additional npm deps
akuny Aug 9, 2024
4a4c175
Remove no-longer-needed jwk-to-pem dependency and replace with native…
akuny Aug 9, 2024
ae00317
Merge remote-tracking branch 'USTC/staging' into dep-updates-20240807
akuny Aug 9, 2024
731ffc4
Bump down @aws-sdk/client-cognito-identity-provider to 3.616.0
akuny Aug 9, 2024
dd7524b
dep-updates: new package-lock files
TomElliottFlexion Aug 9, 2024
a42b474
dep-updates: update cognito again
TomElliottFlexion Aug 9, 2024
97ccedb
10458-devex: fix favicon pattern matching
Mwindo Aug 10, 2024
cfb2268
10102-story: get rid of isEmpty check in clearStatusReportOrderFormAc…
Mwindo Aug 12, 2024
bbf0551
10102-story: change language involving lead cases based on feedback
Mwindo Aug 12, 2024
f0f8e21
dep-updates: revert puppeteer and chromium due to pdf generation issues
TomElliottFlexion Aug 12, 2024
3eb7fc8
dep-updates: fix updated typescript-eslint/no-unused-vars; stop treat…
TomElliottFlexion Aug 12, 2024
5f79e5b
Merge branch 'staging' into 5512-story-updates
nechama-krigsman Aug 12, 2024
3a4c4c3
10291: Remove close link and cancel upload button from FileUploadProg…
En-8 Aug 12, 2024
b225782
opex-10309: create logger once in middleware
Mwindo Aug 13, 2024
d3b02e9
dep-updates: remove comment
TomElliottFlexion Aug 13, 2024
2898532
Merge branch 'staging' into 10458-devex-favicon-issue
Mwindo Aug 13, 2024
0d54263
Merge branch 'staging' into 10433-design-debt-petitioner-banner
Mwindo Aug 13, 2024
4cc96b7
Merge branch 'staging' into 10323-story
Mwindo Aug 13, 2024
9836967
10291: remove unused cancelUpload sequence, action, and test
En-8 Aug 13, 2024
a83cb20
10102: ensure adding status report order response from message adds a…
Mwindo Aug 13, 2024
b728b06
Merge pull request #5234 from flexion/dep-updates-20240807
jimlerza Aug 13, 2024
c3dc1a8
10102: add tests for checking status report order as attachment from …
Mwindo Aug 13, 2024
615a2ca
Expand untouched file check to check ALL files for increased type err…
En-8 Aug 13, 2024
18d56b7
update filename references
En-8 Aug 13, 2024
373ca08
Merge branch 'staging' into 10291-design-debt
En-8 Aug 13, 2024
f54f85a
Merge branch 'staging' into 10309-opex-event-emitters
Mwindo Aug 13, 2024
d65be69
Merge branch 'staging' into 10458-devex-favicon-issue
Mwindo Aug 13, 2024
0043c41
Merge branch 'staging' into 10433-design-debt-petitioner-banner
Mwindo Aug 13, 2024
53bcf1f
Merge branch 'staging' into 10323-story
Mwindo Aug 13, 2024
d70e32e
Merge remote-tracking branch 'ustc/staging' into 10102-story
Mwindo Aug 14, 2024
1be0a89
Merge branch 'staging' into 5512-story-updates
nechama-krigsman Aug 14, 2024
c389244
Merge pull request #5236 from flexion/10458-devex-favicon-issue
jimlerza Aug 14, 2024
5192310
Merge branch 'staging' into expand-untouched-file-check
En-8 Aug 14, 2024
4f3fb58
Merge branch 'staging' into 10291-design-debt
jimlerza Aug 14, 2024
d55db50
Merge branch 'staging' into 10323-story
Mwindo Aug 14, 2024
13ed8dc
Merge branch 'staging' into 10433-design-debt-petitioner-banner
Mwindo Aug 14, 2024
92f85da
Merge pull request #5248 from flexion/expand-untouched-file-check
jimlerza Aug 14, 2024
956bee0
Merge branch 'staging' into 10291-design-debt
jimlerza Aug 14, 2024
d04ae84
Merge branch 'staging' into 10323-story
jimlerza Aug 14, 2024
62b5e95
Merge branch 'staging' into 10433-design-debt-petitioner-banner
Mwindo Aug 14, 2024
08f5282
Merge branch 'staging' into 10309-opex-event-emitters
Mwindo Aug 14, 2024
9123806
Merge pull request #5156 from flexion/10323-story
jimlerza Aug 14, 2024
2f5022e
Merge branch 'staging' into 10433-design-debt-petitioner-banner
jimlerza Aug 14, 2024
98ddfa1
Merge pull request #5230 from flexion/10433-design-debt-petitioner-ba…
jimlerza Aug 14, 2024
fe4df9a
Merge branch 'staging' into 10291-design-debt
jimlerza Aug 14, 2024
5337a08
Merge branch 'staging' into 10309-opex-event-emitters
Mwindo Aug 14, 2024
db7b3bb
Merge pull request #5243 from flexion/10291-design-debt
jimlerza Aug 14, 2024
6d04a06
Merge branch 'staging' into 10309-opex-event-emitters
jimlerza Aug 14, 2024
43cc135
Merge pull request #5244 from flexion/10309-opex-event-emitters
jimlerza Aug 15, 2024
047c5d5
Merge branch 'staging' into 10102-story
jimlerza Aug 15, 2024
381bcef
Merge branch 'staging' into 5512-story-updates
jimlerza Aug 15, 2024
f5fc7b4
10102-story: fix some typing errors
Mwindo Aug 15, 2024
4f1be36
Merge branch '10102-story' of github.com:flexion/ef-cms into 10102-story
Mwindo Aug 15, 2024
175ddb1
10102-story: update filingDate to be string
Mwindo Aug 15, 2024
c125a99
devex: clean up remaining references to 'untouched files'
En-8 Aug 15, 2024
8a039f8
5512: fix type errors;
nechama-krigsman Aug 15, 2024
d6c13e6
Merge pull request #5108 from flexion/10102-story
jimlerza Aug 15, 2024
66ef8b0
Merge branch 'staging' into cleanup-ts-file-check
jimlerza Aug 15, 2024
3ff0b07
Merge branch 'staging' into 5512-story-updates
jimlerza Aug 15, 2024
251b34b
Merge pull request #5253 from flexion/cleanup-ts-file-check
jimlerza Aug 16, 2024
fc6408f
Merge branch 'staging' into 5512-story-updates
jimlerza Aug 16, 2024
cb3a59d
Merge pull request #5212 from flexion/5512-story-updates
jimlerza Aug 16, 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
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: 2.1
orbs:
git-shallow-clone: guitarrapc/[email protected]

efcms-docker-image: &efcms-docker-image $AWS_ACCOUNT_ID.dkr.ecr.us-east-1.amazonaws.com/ef-cms-us-east-1:4.3.5
efcms-docker-image: &efcms-docker-image $AWS_ACCOUNT_ID.dkr.ecr.us-east-1.amazonaws.com/ef-cms-us-east-1:4.3.6

parameters:
run_build_and_deploy:
Expand Down Expand Up @@ -371,7 +371,7 @@ jobs:
- run:
name: Kill Build if Smoketests Failed
command: |
if [ "${READONLY_SMOKETESTS_RESULT}" -ne 0 ]; then
if [ "${READONLY_SMOKETESTS_RESULT}" -ne 0 ]; then
exit 1
fi
- run:
Expand Down
5 changes: 4 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,10 @@ module.exports = {
{
files: ['**/*.ts', '**/*.tsx'],
rules: {
'@typescript-eslint/no-unused-vars': 'error',
'@typescript-eslint/no-unused-vars': [
'error',
{ caughtErrors: 'none' },
],
'no-undef': 'off',
'no-underscore-dangle': 'off',
'no-unused-vars': 'off',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: Typescript Untouched File Check
name: Typescript File Check

on:
pull_request:

jobs:
CheckUntouchedFiles:
CheckAllFilesForTypeErrorCount:
runs-on: ubuntu-latest

steps:
Expand Down Expand Up @@ -39,5 +39,5 @@ jobs:
working-directory: ./targetBranch
run: npm ci

- name: Check untouched files
run: npx ts-node scripts/checkUntouchedFiles.ts
- name: Check files for increased error count
run: npx ts-node scripts/checkAllFilesForTypeErrorCount.ts
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@ RUN apt-get install -y build-essential
RUN apt-get install -y libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev

ENV JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64
RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64-2.17.22.zip" -o "awscliv2.zip" && \
RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64-2.17.24.zip" -o "awscliv2.zip" && \
unzip awscliv2.zip && \
./aws/install && \
rm -rf awscliv2.zip

RUN wget -q -O terraform.zip https://releases.hashicorp.com/terraform/1.9.3/terraform_1.9.3_linux_amd64.zip && \
RUN wget -q -O terraform.zip https://releases.hashicorp.com/terraform/1.9.4/terraform_1.9.4_linux_amd64.zip && \
unzip -o terraform.zip terraform && \
rm terraform.zip && \
cp terraform /usr/local/bin/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
export function externalUserSearchesDocketNumber(docketNumber: string) {
cy.get('[data-testid="docket-search-field"]').should('exist');
cy.get('[data-testid="docket-search-field"]').type(docketNumber);
cy.get('[data-testid="search-by-docket-number"]').click();
}
2 changes: 1 addition & 1 deletion cypress/helpers/authentication/login-as-helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export function loginAsIrsPractitioner1() {
}

export function loginAsPetitioner(
petitionerUser: 'petitioner' | 'petitioner1' = 'petitioner1',
petitionerUser: 'petitioner' | 'petitioner1' | 'petitioner7' = 'petitioner1',
) {
cy.login(petitionerUser);
cy.get('[data-testid="file-a-petition"]').should('exist');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export function petitionerCreatesElectronicCaseUpdated(
cy.get('[data-testid="contactPrimary.city"]').type('Orlando');
cy.get('[data-testid="contactPrimary.state"]').select('AL');
cy.get('[data-testid="contactPrimary.postalCode"]').type('12345');
cy.get('[data-testid="contactPrimary.placeOfLegalResidence"]').select('AL');
cy.get('[data-testid="contactPrimary-placeOfLegalResidence"]').select('AL');
cy.get('[data-testid="contact-primary-phone"]').type('1111111111');
cy.get('[data-testid="step-1-next-button"]').click();

Expand Down Expand Up @@ -105,7 +105,7 @@ export function petitionerAttemptsToUploadCorruptPdfUpdated() {
cy.get('[data-testid="contactPrimary.city"]').type('Orlando');
cy.get('[data-testid="contactPrimary.state"]').select('AL');
cy.get('[data-testid="contactPrimary.postalCode"]').type('12345');
cy.get('[data-testid="contactPrimary.placeOfLegalResidence"]').select('AL');
cy.get('[data-testid="contactPrimary-placeOfLegalResidence"]').select('AL');
cy.get('[data-testid="contact-primary-phone"]').type('1111111111');
cy.get('[data-testid="step-1-next-button"]').click();

Expand Down
46 changes: 46 additions & 0 deletions cypress/local-only/support/statusReportOrder.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
import {
FORMATS,
formatNow,
} from '../../../shared/src/business/utilities/DateHandler';

export const docketNumber = '107-19';
export const leadCaseDocketNumber = '102-67';
export const statusReportDocketEntryId = '178af2d2-fab1-445a-a729-d3da63517a0a';
export const messages = {
statusReport: {
messageId: '73d4365b-8b3a-4b01-9ca3-7087f7a6d4b5',
name: 'Status Report',
},
testStatusReportOrderSigned: {
messageId: '32484c7f-4606-49fc-89f1-27ba1d5596be',
name: 'Test Status Report Order (Signed)',
},
testStatusReportOrderUnsigned: {
messageId: '34483b5b-29de-4ad4-8caa-59f71ad6d906',
name: 'Test Status Report Order (Unsigned)',
},
};
export const expectedPdfLines = [
'On June 28, 2024, a status report was filed (Index no. 5). For cause, it is',
`ORDERED that the parties shall file a further status report by ${formatNow(FORMATS.MONTH_DAY_YEAR)}. It is further`,
'ORDERED that this case is stricken from the trial session. It is further',
'ORDERED that jurisdiction is retained by the undersigned. It is further',
'ORDERED that Here is my additional order text.',
];
export const selectAllOptionsInForm = () => {
cy.get('#order-type-status-report').check({ force: true });
cy.get('#status-report-due-date-picker').type(formatNow(FORMATS.MMDDYYYY));
cy.get('#stricken-from-trial-sessions').check({ force: true });
cy.get('#jurisdiction-retained').check({ force: true });
cy.get('#additional-order-text').type('Here is my additional order text.');
};

export const getLastDraftOrderElementFromDrafts = () => {
return cy.get('button:contains(Order)').last();
};

export const getLastDraftOrderElementIndexFromDrafts = () => {
return getLastDraftOrderElementFromDrafts().then(lastOrderButton => {
return lastOrderButton.index();
});
};
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import { checkA11y } from '../../../support/generalCommands/checkA11y';
import { loginAsPetitioner } from '../../../../helpers/authentication/login-as-helpers';

describe('Petition generation - intro pages', () => {
it('welcome to dawson: should be free of a11y issues', () => {
loginAsPetitioner('petitioner7');
checkA11y();
});

it('before filing a case: should be free of a11y issues', () => {
loginAsPetitioner();
cy.visit('/before-filing-a-petition');
checkA11y();
});
});
Original file line number Diff line number Diff line change
@@ -0,0 +1,146 @@
import { checkA11y } from '../../../support/generalCommands/checkA11y';
import { loginAsPetitioner } from '../../../../helpers/authentication/login-as-helpers';

describe('Petition generation - step 1', () => {
beforeEach(() => {
loginAsPetitioner();
cy.visit('/file-a-petition/new');
});

describe('Myself', () => {
it('Myself - domestic: should be free of a11y issues', () => {
cy.get('[data-testid="filing-type-0"').click();
checkA11y();
});

it('Myself - international: should be free of a11y issues', () => {
cy.get('[data-testid="filing-type-0"').click();
cy.get('[data-testid="international-country-btn"]').click();
checkA11y();
});
});
describe('Myself and my spouse', () => {
it('Myself and my spouse - deceased: should be free of a11y issues', () => {
cy.get('[data-testid="filing-type-1"').click();
cy.get('[data-testid="is-spouse-deceased-0"]').click();
checkA11y();
});

it('Myself and my spouse - not deceased: should be free of a11y issues', () => {
cy.get('[data-testid="filing-type-1"').click();
cy.get('[data-testid="is-spouse-deceased-1"]').click();
cy.get('[data-testid="have-spouse-consent-label"').click();
checkA11y();
});
});
describe('Business', () => {
it('Corporation: should be free of a11y issues', () => {
cy.get('[data-testid="filing-type-2"').click();
cy.get('.business-type-radio-option').eq(0).click();
checkA11y();
});

it('Partnership (as the Tax Matters Partner): should be free of a11y issues', () => {
cy.get('[data-testid="filing-type-2"').click();
cy.get('.business-type-radio-option').eq(1).click();
checkA11y();
});

it('Partnership (as a partner other than Tax Matters Partner): should be free of a11y issues', () => {
cy.get('[data-testid="filing-type-2"').click();
cy.get('.business-type-radio-option').eq(2).click();
checkA11y();
});

it('Partnership (as a partnership representative under BBA): should be free of a11y issues', () => {
cy.get('[data-testid="filing-type-2"').click();
cy.get('.business-type-radio-option').eq(3).click();
checkA11y();
});
});
describe('Other', () => {
describe('An estate or trust', () => {
it('Estate with an executor/personal representative/fiduciary/etc.: should be free of a11y issues: should be free of a11y issues', () => {
cy.get('[data-testid="filing-type-3"').click();
cy.get('[data-testid="other-type-radio-option-0"]').click();
cy.get('[data-testid="estate-type-radio-option-0"]').click();
checkA11y();
});

it('Estate without an executor/personal representative/fiduciary/etc.: should be free of a11y issues', () => {
cy.get('[data-testid="filing-type-3"').click();
cy.get('[data-testid="other-type-radio-option-0"]').click();
cy.get('[data-testid="estate-type-radio-option-1"]').click();
checkA11y();
});

it('Trust: should be free of a11y issues', () => {
cy.get('[data-testid="filing-type-3"').click();
cy.get('[data-testid="other-type-radio-option-0"]').click();
cy.get('[data-testid="estate-type-radio-option-2"]').click();
checkA11y();
});
});

describe('A minor or legally incompetent person', () => {
it('Conservator: should be free of a11y issues', () => {
cy.get('[data-testid="filing-type-3"').click();
cy.get('[data-testid="other-type-radio-option-1"]').click();
cy.get('[data-testid="minor-incompetent-type-radio-option-0"]').click();
checkA11y();
});

it('Guardian: should be free of a11y issues', () => {
cy.get('[data-testid="filing-type-3"').click();
cy.get('[data-testid="other-type-radio-option-1"]').click();
cy.get('[data-testid="minor-incompetent-type-radio-option-1"]').click();
checkA11y();
});

it('Custodian: should be free of a11y issues', () => {
cy.get('[data-testid="filing-type-3"').click();
cy.get('[data-testid="other-type-radio-option-1"]').click();
cy.get('[data-testid="minor-incompetent-type-radio-option-2"]').click();
checkA11y();
});

it('Next friend for a minor (without a guardian, conservator, or other like fiduciary): should be free of a11y issues', () => {
cy.get('[data-testid="filing-type-3"').click();
cy.get('[data-testid="other-type-radio-option-1"]').click();
cy.get('[data-testid="minor-incompetent-type-radio-option-3"]').click();
checkA11y();
});

it('Next friend for a legally incompetent person (without a guardian, conservator, or other like fiduciary): should be free of a11y issues', () => {
cy.get('[data-testid="filing-type-3"').click();
cy.get('[data-testid="other-type-radio-option-1"]').click();
cy.get('[data-testid="minor-incompetent-type-radio-option-4"]').click();
checkA11y();
});
});

describe('Donor', () => {
it('Donor: should be free of a11y issues', () => {
cy.get('[data-testid="filing-type-3"').click();
cy.get('[data-testid="other-type-radio-option-2"]').click();
checkA11y();
});
});

describe('Transferee', () => {
it('Transferee: should be free of a11y issues', () => {
cy.get('[data-testid="filing-type-3"').click();
cy.get('[data-testid="other-type-radio-option-3"]').click();
checkA11y();
});
});

describe('Deceased Spouse', () => {
it('Deceased Spouse: should be free of a11y issues', () => {
cy.get('[data-testid="filing-type-3"').click();
cy.get('[data-testid="other-type-radio-option-4"]').click();
checkA11y();
});
});
});
});
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import { checkA11y } from '../../../support/generalCommands/checkA11y';
import { fillPetitionerInformation } from '../../integration/fileAPetitionUpdated/petition-helper';
import { loginAsPetitioner } from '../../../../helpers/authentication/login-as-helpers';

describe('Petition generation - step 2', () => {
beforeEach(() => {
loginAsPetitioner();
cy.visit('/file-a-petition/new');
fillPetitionerInformation();
});

it('Auto generate Petition: should be free of a11y issues', () => {
cy.get('[data-testid="add-another-reason-link-button"').click();
cy.get('[data-testid="add-another-fact-link-button"').click();
checkA11y();
});

it('Upload PDF Petition: should be free of a11y issues', () => {
cy.get('[data-testid="upload-a-petition-label"').click();
checkA11y();
});
});
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
import { checkA11y } from '../../../support/generalCommands/checkA11y';
import {
fillPetitionFileInformation,
fillPetitionerInformation,
} from '../../integration/fileAPetitionUpdated/petition-helper';
import { loginAsPetitioner } from '../../../../helpers/authentication/login-as-helpers';

describe('Petition generation - step 3', () => {
const VALID_FILE = '../../helpers/file/sample.pdf';

beforeEach(() => {
loginAsPetitioner();
cy.visit('/file-a-petition/new');
fillPetitionerInformation();
fillPetitionFileInformation(VALID_FILE);
});

it('IRS Notice Provided: should be free of a11y issues', () => {
cy.get('[data-testid="irs-notice-Yes"]').click();
checkA11y();
});

it('IRS Notice not Provided: should be free of a11y issues', () => {
cy.get('[data-testid="irs-notice-No"]').click();
checkA11y();
});
});
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
import { checkA11y } from '../../../support/generalCommands/checkA11y';
import {
fillIrsNoticeInformation,
fillPetitionFileInformation,
fillPetitionerInformation,
} from '../../integration/fileAPetitionUpdated/petition-helper';
import { loginAsPetitioner } from '../../../../helpers/authentication/login-as-helpers';

describe('Petition generation - step 4', () => {
const VALID_FILE = '../../helpers/file/sample.pdf';

beforeEach(() => {
loginAsPetitioner();
cy.visit('/file-a-petition/new');
fillPetitionerInformation();
fillPetitionFileInformation(VALID_FILE);
fillIrsNoticeInformation(VALID_FILE);
});

it('Regular Case: should be free of a11y issues', () => {
checkA11y();
});

it('Small Case: should be free of a11y issues', () => {
cy.get('[data-testid="procedure-type-1"]').click();
checkA11y();
});
});
Loading
Loading