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 #5370

Merged
merged 288 commits into from
Sep 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
288 commits
Select commit Hold shift + click to select a range
f9b983a
10339: add tests around step 5 for private practitioner;
nechama-krigsman Aug 12, 2024
827bce8
10339: add tests around step 6 for private practitioner;
nechama-krigsman Aug 12, 2024
e034fe6
OTP: save redaction acknowledgement for petition and irsNotice files
TomElliottFlexion Aug 13, 2024
5948425
Merge branch 'staging' of https://github.com/ustaxcourt/ef-cms into 1…
TomElliottFlexion Aug 13, 2024
1aef94a
Merge branch 'OPG-redactionAcknowledgment-latest' of https://github.c…
TomElliottFlexion Aug 13, 2024
2cad8af
10339: fix bad merge; add back petitionRedactionAcknowledgement on El…
TomElliottFlexion Aug 13, 2024
4506629
10339: add tests around welcome screen and start a case page;
nechama-krigsman Aug 14, 2024
66fe1ed
Merge branch '10339-story' of https://github.com/flexion/ef-cms into …
nechama-krigsman Aug 14, 2024
ed3369a
10339: add tests around displaying email information for practitioners;
nechama-krigsman Aug 14, 2024
e5f1f19
10339: remove sentence from welcome page per UX;
nechama-krigsman Aug 14, 2024
4327b7d
10339: remove padding from counsel phone number;
nechama-krigsman Aug 14, 2024
6466523
10339: add phone label to generated petition and review page;
nechama-krigsman Aug 14, 2024
6c6f772
10339: display case description on petition review page;
nechama-krigsman Aug 14, 2024
1b9159e
10339: add tests around display case description on petition review p…
nechama-krigsman Aug 14, 2024
545e93e
10339: update stin text alert;
nechama-krigsman Aug 14, 2024
57c4c13
Merge branch 'staging' into 10339-story
nechama-krigsman Aug 14, 2024
f194a16
10339: add types to sequences;
nechama-krigsman Aug 15, 2024
13b9594
Merge branch '5512-story-updates' into 10339-story
nechama-krigsman Aug 15, 2024
bb6e65d
10339: remove unused type;
nechama-krigsman Aug 15, 2024
12f16c5
10339: update test data;
nechama-krigsman Aug 15, 2024
c4e4113
Merge branch '5512-story-updates' into 10339-story
nechama-krigsman Aug 15, 2024
8251203
10339: Update assertions to avoid using mock user object as createUse…
nechama-krigsman Aug 15, 2024
dc1415d
Merge branch 'staging' of https://github.com/ustaxcourt/ef-cms into 1…
nechama-krigsman Aug 16, 2024
ce9f4b1
10339: update type for mock user; revert test changes;
nechama-krigsman Aug 16, 2024
b1f10ef
10339: add data to mock user;
nechama-krigsman Aug 16, 2024
06c96db
10339: capitalize petition text;
nechama-krigsman Aug 19, 2024
a3654b8
10339: clear address field validation when toggling country field;
nechama-krigsman Aug 19, 2024
263f76d
10339: update spacing above and below the blue banner on the review p…
nechama-krigsman Aug 19, 2024
fc3d85f
10339: remove extra padding on mobile counsel information title;
nechama-krigsman Aug 19, 2024
da57db7
10339: Fix welcome petitioner name word wrap; adjust advanced search …
nechama-krigsman Aug 19, 2024
cfefec9
Merge branch 'staging' into 10339-story
nechama-krigsman Aug 19, 2024
c93a4cd
10339: adjust advanced search link on mobile;
nechama-krigsman Aug 19, 2024
c2f0c52
cleanup usage, set executable flag
jtdevos Aug 20, 2024
63ca0ee
Merge branch 'staging' into opex-count-event-codes
jtdevos Aug 20, 2024
ff2f117
more usage cleanup
jtdevos Aug 20, 2024
2a8f685
10339: capitalization updates;
nechama-krigsman Aug 21, 2024
1e1db40
10339: update text for practitioner;
nechama-krigsman Aug 21, 2024
8136ace
10339: fix facts and reasons text area sizing on mobile;
nechama-krigsman Aug 21, 2024
0fd0477
10437: Type the helper;
Aug 21, 2024
e3f5e9a
10437: Filter blocked case report by case status;
Aug 21, 2024
f4f5e33
10437: Use helper to get case statuses for dropdown;
Aug 21, 2024
b6f7ec0
10437: Type state;
Aug 21, 2024
899db10
10339: update test text;
nechama-krigsman Aug 21, 2024
c1072a2
10339: rename component;
nechama-krigsman Aug 21, 2024
98ec109
10339: fix remove button alignment on mobile;
nechama-krigsman Aug 21, 2024
57accaf
10437: Return automatic blocked reasons in helper;
Aug 21, 2024
c369bd1
10437: Add reason filter
Aug 21, 2024
9fce005
10437: Add tests for reason filter
Aug 21, 2024
e29752f
10437: Style export button
Aug 21, 2024
aaae063
10437: Add debounce mechanism to export button;
Aug 21, 2024
47a0136
10437: WIP Wire up sequence to download Blocked Case Report as csv file;
Aug 21, 2024
257beae
10432: Switch to using custom state instead of state.form
Aug 21, 2024
8a366e4
10432: Export csv for blocked cases
Aug 21, 2024
f1885a9
10437: Refactor variables;
Aug 22, 2024
69975ec
10437: Export case with all reasons;
Aug 22, 2024
e399742
10437: Add "Manual Block" for reason filter;
Aug 22, 2024
bdceab8
10437: If "Manual Block" reason is selected we display blocked cases …
Aug 22, 2024
46280ab
10437: Add test to cover manual block filtering;
Aug 22, 2024
68ba95e
10437: Ger procedure type filter from correct part of state;
Aug 22, 2024
a8d25c0
10437: Append;
Aug 22, 2024
ae4591e
10437: Update tests around procedure type filter;
Aug 22, 2024
0426e6f
10437: Fix unit test;
Aug 22, 2024
7722869
10437: Fix unit test;
Aug 22, 2024
0caa2cd
10437: decrease padding;
Aug 22, 2024
e599c4b
10437: Add reset of filters when trial location changes
Aug 22, 2024
fb5f963
10437: Add unit test around "resetBlockedCasesFiltersAction";
Aug 22, 2024
b5d62a3
10437: WIP Add unit test around "eexportCsvBlockedCaseReport";
Aug 22, 2024
5815632
10437: Extract csv download logic to applicationContext;
Aug 22, 2024
0292178
10437: Add test around csv download action;
Aug 22, 2024
5a4c011
10339: add pdf snapshot test for generated petition;
nechama-krigsman Aug 22, 2024
d8ba2fe
10339: add pdf snapshot test for generated petition page 2;
nechama-krigsman Aug 22, 2024
1df3345
10339: add cypress tests around petition generation;
nechama-krigsman Aug 22, 2024
5904837
Merge branch 'staging' into 10339-story
nechama-krigsman Aug 22, 2024
a94916a
10437: Refactor csv construction;
Aug 22, 2024
200c16f
10437: Updated tests;
Aug 22, 2024
a2722a9
10339: remove unused function; check file exists before loading and p…
nechama-krigsman Aug 23, 2024
0492eb1
10437: Updated integration test with correct root level;
Aug 23, 2024
039f471
10437: Fix typing;
Aug 23, 2024
cc05e67
10437: Fix Property name storage;
Aug 23, 2024
af58bfa
10437: Fix Property name storage;
Aug 23, 2024
cbb5ef6
10339: updates text for practitioner based on feedback;
nechama-krigsman Aug 26, 2024
696d044
10339: display labels for email and phone number on review page;
nechama-krigsman Aug 26, 2024
19ca563
10437: Filter out options if blocked cases array does not contain it;
Aug 26, 2024
8461803
10339: Show 'No email provided' in the generated petition if no email…
nechama-krigsman Aug 26, 2024
b9e65fb
10437: Add cypress test around new filters and export mechanism in bl…
Aug 26, 2024
25e71d8
10339: update tests to account for email label display;
nechama-krigsman Aug 26, 2024
4579d36
10339: update optional phone message to be more generic;
nechama-krigsman Aug 26, 2024
c0eb094
10437: Add test for blocked case report
Aug 26, 2024
3b4873b
10437: Fix maxLength to be a number on textarea and remove type from …
Aug 26, 2024
16f8205
10437: Reset Case Status and Reason when a new case type is selected …
Aug 26, 2024
f62a675
10437: Update procedure types to be dynamically generated.
Aug 26, 2024
ed859c3
Merge branch 'staging' of github.com:ustaxcourt/ef-cms into 10437-story
Aug 26, 2024
0f88c9b
10437: Refactor out hard coded wait time with a retry block; Updated …
Aug 27, 2024
af36d94
10437: Added more filtering in cypress test. Made create a case more …
Aug 27, 2024
11d4715
10437: Migrate away from using index as a data-testid for procedure t…
Aug 27, 2024
e3d8e75
10437: Fix expectation.
Aug 27, 2024
b8494f3
10339: remove spouse consent check for private practitioners; clear o…
nechama-krigsman Aug 27, 2024
b5d3c1c
10339: Minor text update
nechama-krigsman Aug 27, 2024
439d693
10339: fix typo;
nechama-krigsman Aug 27, 2024
72e984f
10339: remove unused prop;
nechama-krigsman Aug 27, 2024
e65e498
10339: update cypress tests;
nechama-krigsman Aug 27, 2024
078593b
10339: remove tests since text is now generic;
nechama-krigsman Aug 27, 2024
166ccab
10339: update test to include email label;
nechama-krigsman Aug 27, 2024
9a99fc2
10339: put back optional email field for secondary contact when a pet…
nechama-krigsman Aug 27, 2024
f2007d6
10339: update tests;
nechama-krigsman Aug 27, 2024
02dbb13
Merge branch 'staging' of https://github.com/ustaxcourt/ef-cms into 1…
nechama-krigsman Aug 27, 2024
7f26dbd
10339: intercept getting document url instead of stubbing window.open;
nechama-krigsman Aug 27, 2024
6b7ff0c
10437: Remove filtering of procedure type options; Updated test;
Aug 28, 2024
7a09d34
Merge branch 'staging' of github.com:ustaxcourt/ef-cms into 10437-story
Aug 28, 2024
b4dea16
first draft of sensitive data warning
TomElliottFlexion Aug 29, 2024
0fca7b0
Merge branch 'staging' into sensitive-data-doc
TomElliottFlexion Aug 29, 2024
81ce074
Merge branch 'staging' into opex-count-event-codes
jtdevos Aug 29, 2024
1459f5c
Merge branch 'staging' of github.com:ustaxcourt/ef-cms into 10437-story
Aug 30, 2024
2832086
10401: Convert "generatePrintableCaseInventoryReportInteractor" to us…
Aug 30, 2024
2f871b5
10401: Add typing;
Aug 30, 2024
6bac10b
10401: Change endpoint url for lead test;
Aug 30, 2024
65d7083
Merge branch 'staging' into sensitive-data-doc
TomElliottFlexion Sep 2, 2024
ad380d7
10401: Add query string parameters for the GET http request in the as…
Sep 2, 2024
005031a
10401: Mock current invoke event;
Sep 2, 2024
5b10006
10401: Update load test PDF script to use asyncSync mechanism;
Sep 2, 2024
d8dd6f3
10401: Remove console.log;
Sep 2, 2024
337a508
10401: Move spinner logic to root level of sequence;
Sep 3, 2024
c0c2334
10437: Update empty table message; Update unit tests
Sep 3, 2024
fdf3c40
10437: Refactor logic;
Sep 3, 2024
968f469
10401: Add wait time out before checking if results are available;
Sep 3, 2024
736de4f
10437: Fix typos;
Sep 3, 2024
868f765
10437: Fix typos in test;
Sep 3, 2024
5fffa2d
10339: remove "A minor or legally incompetent person" filing option f…
nechama-krigsman Sep 3, 2024
df51515
10470-design-debt: change default prop values for PDFPreviewButton co…
akuny Sep 3, 2024
b79877e
10468-design-debt: update the casing of a sentence
akuny Sep 3, 2024
069ed64
Merge branch 'staging' of https://github.com/ustaxcourt/ef-cms into 1…
nechama-krigsman Sep 3, 2024
94dee40
10339: fix type errors; remove getCurrentUser;
nechama-krigsman Sep 4, 2024
410fc91
10339: add types;
nechama-krigsman Sep 4, 2024
7641de4
10339: update test around minor/incompetent option for private practi…
nechama-krigsman Sep 4, 2024
1728ea9
10339: text updates for private practitioner; ux feedback updates;
nechama-krigsman Sep 4, 2024
2b921f5
10339: update tests that were using getCurrentUser; update petition g…
nechama-krigsman Sep 4, 2024
f2ab944
Merge branch 'staging' into 10401-story
cruzjone-flexion Sep 4, 2024
a260529
Merge branch 'staging' into 10401-story
cruzjone-flexion Sep 4, 2024
6090b9b
Merge branch 'staging' into 10437-story
cruzjone-flexion Sep 4, 2024
318eb57
Merge branch 'staging' into opex-count-event-codes
jimlerza Sep 4, 2024
6842fbd
Merge branch 'staging' into 10437-story
jimlerza Sep 4, 2024
a0eac5e
10401: Added typing;
Sep 4, 2024
2abd60f
10401: Extend timeout for generate PDF lambda now that it is being us…
Sep 4, 2024
31ee4eb
Merge branch 'staging' into 10401-story
cruzjone-flexion Sep 4, 2024
ac18064
Merge branch '10401-story' of github.com:flexion/ef-cms into 10401-story
Sep 4, 2024
f9c1ddb
10437: Clear blocked cases report when coming into the page
Sep 4, 2024
626f5e8
10339: add email field for primary contact when filing as private pra…
nechama-krigsman Sep 4, 2024
b3f055c
10339: add user to tests;
nechama-krigsman Sep 4, 2024
cdad8f9
Merge branch 'staging' into 10339-story
nechama-krigsman Sep 4, 2024
58ea550
10401: Increase memory size of the lambda;
Sep 4, 2024
90c9219
10401: Modify memory size of the lambda;
Sep 4, 2024
754b68a
10437: Use a csv generator to create a csv. Unify display message whe…
Sep 4, 2024
8d8ad9c
Merge branch '10437-story' of github.com:flexion/ef-cms into 10437-story
Sep 4, 2024
69e7ae8
10437: Update unit test
Sep 4, 2024
60b7c75
10339: save petitioner email as paperPetitionEmail since its not use…
nechama-krigsman Sep 5, 2024
1c0ac5d
10282: slighly bump up the minimum width of usa-date-picker class to …
akuny Sep 5, 2024
bb07543
Merge branch 'staging' into opex-count-event-codes
jimlerza Sep 5, 2024
f299df9
10339: display email field on petitions clerk review screen for elect…
nechama-krigsman Sep 5, 2024
41f173c
10339: add test around email field; fix type error;
nechama-krigsman Sep 5, 2024
a66d891
10339: fix test;
nechama-krigsman Sep 5, 2024
78ad67f
Merge branch 'staging' of https://github.com/ustaxcourt/ef-cms into 1…
nechama-krigsman Sep 5, 2024
7ed6d3c
Merge branch 'staging' into 10401-story
cruzjone-flexion Sep 5, 2024
fd60d23
Merge branch 'staging' into 10437-story
cruzjone-flexion Sep 5, 2024
39c1f7c
10339: fix missing focus state onother filing fee accordion;
nechama-krigsman Sep 5, 2024
6644407
dep-updates: Update all packages without caveats
Sep 6, 2024
b493ffd
dep-updates: Update typescript test
Sep 6, 2024
0d2437c
dep-updates: remove temp
Sep 6, 2024
d25a2c9
dep-updates: remove caveat
Sep 6, 2024
370342d
dep-updates: doc updates
Sep 6, 2024
034a2e5
dep-updates: Update puppeteer to 32 and chromium to 127
Sep 6, 2024
61dd79a
dep-updates: remove react-test-renderer and associated UI tests as th…
Sep 6, 2024
c694ea2
dep-updates: remove ajv
Sep 6, 2024
c1e3bbc
dep-updates: remove axios-retry
Sep 6, 2024
fb8529b
dep-updates: remove babel-loader
Sep 6, 2024
4f5b0d9
dep-updates: remove babel-plugin-transform-html-import-require-to-string
Sep 6, 2024
5e36a97
dep-updates: remove checksum
Sep 6, 2024
aabba42
dep-updates: remove css-loader
Sep 6, 2024
b10ee31
dep-updates: remove esm
Sep 6, 2024
93ef077
dep-updates: remove file-loader
Sep 6, 2024
578ab8b
dep-updates: remove json2yaml
Sep 6, 2024
51f78a4
dep-updates: remove node-cache
Sep 6, 2024
cf955f2
dep-updates: npm-run-all
Sep 6, 2024
5703700
dep-updates: remove postcss-loader
Sep 6, 2024
672b83c
dep-updates: remove prop-types
Sep 6, 2024
83ce657
dep-updates: remove style-loader
Sep 6, 2024
2313ceb
dep-updates: remove ts-loader
Sep 6, 2024
a0ffd12
dep-updates: remove babel plugin
Sep 6, 2024
7ac166a
dep-updates: replace run-p with & operator
Sep 6, 2024
be76691
dep-updates: replace run-p with & operator
Sep 6, 2024
a8f0677
dep-updates: Update dockerfile
Sep 6, 2024
92390ec
dep-updates: Update terraform provider
Sep 6, 2024
45bb4a2
10339: text changes;
nechama-krigsman Sep 6, 2024
2eef28a
10339: increase stepper line height;
nechama-krigsman Sep 6, 2024
49102d5
10339: text changes;
nechama-krigsman Sep 6, 2024
86fb5e7
dep-updates: Update target for typescript for aggregateCommonQueryPar…
Sep 6, 2024
7965f4c
Merge pull request #5336 from flexion/dep-updates-2024-09-02
jimlerza Sep 9, 2024
e9b532a
Merge branch 'staging' into 10437-story
cruzjone-flexion Sep 9, 2024
6ec79ef
Merge branch 'staging' into 10401-story
cruzjone-flexion Sep 9, 2024
0757e06
dep-updates: Update package lock for puppeteer
Sep 9, 2024
2967f19
10339: fix facts and reasons text area extending over padded area;
nechama-krigsman Sep 9, 2024
b852a8e
dep-updates: Make pdf-generator lambda return an object so that direc…
Sep 9, 2024
8b7f454
10476-story: bump up additional order text to 256 chars and switch In…
Mwindo Sep 9, 2024
7f2fde7
10339: add validation for paperPetitionEmail field;
nechama-krigsman Sep 9, 2024
4a1a246
Merge pull request #5180 from ustaxcourt/opex-count-event-codes
jimlerza Sep 9, 2024
b46323c
Merge branch 'staging' into dep-updates-2024-09-02
TomElliottFlexion Sep 9, 2024
036ac76
10339: fix letter labels displaying characters when exceeding 26 fact…
nechama-krigsman Sep 9, 2024
0c901cf
10339: update text for private practitioner;
nechama-krigsman Sep 9, 2024
0eca306
Merge branch 'staging' into 10339-story
nechama-krigsman Sep 9, 2024
eed4bf0
10339: pull out function to helper file; add tests;
nechama-krigsman Sep 9, 2024
4871503
10339: pull out function to helper file; add tests;
nechama-krigsman Sep 9, 2024
262b9e4
Merge branch '10339-story' of https://github.com/flexion/ef-cms into …
nechama-krigsman Sep 9, 2024
aa3fdf2
10339: fix alignment of remove fact or reason button on mobile screens;
nechama-krigsman Sep 10, 2024
84f91ae
10339: move primary label text to helper;
nechama-krigsman Sep 10, 2024
a692d8b
update phone number for Judge Way now that we have it
Mwindo Sep 10, 2024
898a2fe
Merge branch 'staging' into 10437-story
zachrog Sep 10, 2024
a89ece3
Merge branch 'staging' into 10401-story
cruzjone-flexion Sep 10, 2024
05ffd10
10339: change text from case to petition;
nechama-krigsman Sep 11, 2024
bdace8b
Merge remote-tracking branch 'USTC/staging' into 10282-design-debt
akuny Sep 11, 2024
0f7b2df
Merge remote-tracking branch 'USTC/staging' into 10470-design-debt
akuny Sep 11, 2024
0fe4af8
10339: rename dashboard component to a more generic name;
nechama-krigsman Sep 11, 2024
b67180d
ux-docs: links to recent research and case flow updates
TomElliottFlexion Sep 11, 2024
18fb5b7
ux-docs: formatting updates
TomElliottFlexion Sep 11, 2024
f079f7e
Merge pull request #5342 from flexion/dep-updates-2024-09-02
jimlerza Sep 11, 2024
99ea95c
Merge branch 'staging' into sensitive-data-doc
jimlerza Sep 11, 2024
52cfb37
Merge pull request #5301 from flexion/sensitive-data-doc
jimlerza Sep 11, 2024
9ebd8e2
Merge branch 'staging' into updated-ux-docs
TomElliottFlexion Sep 11, 2024
8d27f7e
ux-docs: missing space
TomElliottFlexion Sep 11, 2024
62b417a
Merge branch 'staging' into 10437-story
jimlerza Sep 11, 2024
7329645
ux-docs: fix broken links, format links uniformly
TomElliottFlexion Sep 11, 2024
d3805d5
Merge branch 'staging' into 10339-story
nechama-krigsman Sep 11, 2024
b5c71f7
Merge pull request #5306 from flexion/10437-story
jimlerza Sep 11, 2024
227f1bd
Merge branch 'staging' into 10401-story
jimlerza Sep 11, 2024
e7ac9b8
Merge branch 'staging' into 10282-design-debt
jimlerza Sep 11, 2024
da5a39c
Merge pull request #5354 from flexion/10282-design-debt
jimlerza Sep 11, 2024
f71a1f8
Merge branch 'staging' into 10470-design-debt
jimlerza Sep 11, 2024
291d265
Merge pull request #5355 from flexion/10470-design-debt
jimlerza Sep 11, 2024
62a43d8
Merge branch 'staging' into 10401-story
jimlerza Sep 11, 2024
1049f50
Merge branch 'staging' of https://github.com/ustaxcourt/ef-cms into 1…
nechama-krigsman Sep 11, 2024
de75c39
Merge pull request #5316 from flexion/10401-story
jtdevos Sep 11, 2024
20f997a
Merge branch 'staging' into updated-ux-docs
TomElliottFlexion Sep 12, 2024
370afc4
Merge branch 'staging' into update-way-phone-number
TomElliottFlexion Sep 12, 2024
e1316bf
Merge branch 'staging' into 10339-story
nechama-krigsman Sep 12, 2024
9993fc4
Merge pull request #5246 from flexion/10339-story
jimlerza Sep 12, 2024
6c0193e
Merge branch 'staging' into 10476-story
jimlerza Sep 12, 2024
76d5a7b
Merge branch 'staging' into update-way-phone-number
jimlerza Sep 12, 2024
a99e10c
Merge pull request #5349 from flexion/update-way-phone-number
jimlerza Sep 12, 2024
ab7edb8
Merge branch 'staging' into 10476-story
jimlerza Sep 12, 2024
9291330
Merge pull request #5361 from flexion/10476-story
jimlerza Sep 12, 2024
818849f
Merge branch 'staging' into updated-ux-docs
jimlerza Sep 13, 2024
263df26
Merge pull request #5357 from flexion/updated-ux-docs
jimlerza Sep 13, 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: 1 addition & 1 deletion .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.8
efcms-docker-image: &efcms-docker-image $AWS_ACCOUNT_ID.dkr.ecr.us-east-1.amazonaws.com/ef-cms-us-east-1:4.3.9

parameters:
run_build_and_deploy:
Expand Down
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ module.exports = {
'no-underscore-dangle': 'off',
'promise/always-return': 'off',
'promise/catch-or-return': 'off',
'promise/no-nesting': 'off',
},
},
{
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Note: node-20.14.0-chrome-125.0.* is debian 12.5 (bookworm)

FROM cypress/browsers:node-20.16.0-chrome-127.0.6533.119-1-ff-129.0.1-edge-127.0.2651.98-1
FROM cypress/browsers:node-20.17.0-chrome-128.0.6613.119-1-ff-130.0-edge-128.0.2739.63-1

WORKDIR /home/app

Expand Down Expand Up @@ -37,7 +37,7 @@ 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.36.zip" -o "awscliv2.zip" && \
RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64-2.17.46.zip" -o "awscliv2.zip" && \
unzip awscliv2.zip && \
./aws/install && \
rm -rf awscliv2.zip
Expand Down
2 changes: 1 addition & 1 deletion babel.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module.exports = {
plugins: ['babel-plugin-cerebral', 'transform-html-import-require-to-string'],
plugins: ['babel-plugin-cerebral'],
presets: [
[
'@babel/preset-env',
Expand Down
4 changes: 4 additions & 0 deletions cypress.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import {
toggleFeatureFlag,
} from './cypress/helpers/cypressTasks/dynamo/dynamo-helpers';
import { overrideIdleTimeouts } from './cypress/local-only/support/idleLogoutHelpers';
import { parsePdf } from './cypress/local-only/support/helpers.ts';
import { unzipFile } from './cypress/helpers/file/unzip-file';
import { waitForNoce } from './cypress/helpers/cypressTasks/wait-for-noce';
import { waitForPractitionerEmailUpdate } from './cypress/helpers/cypressTasks/wait-for-practitioner-email-update';
Expand Down Expand Up @@ -60,6 +61,9 @@ export default defineConfig({
getUserByEmail(email: string) {
return getUserByEmail(email);
},
parsePdf({ filePath }) {
return parsePdf({ filePath });
},
table(message) {
console.table(message);
return null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ describe('Admissions Clerk Grants E-Access', () => {
getCypressEnv().defaultAccountPass,
);
cy.get('[data-testid="change-password-button"]').click();
cy.get('[data-testid="open-cases-count"]');
cy.get('[data-testid="petition-welcome-text"]');
createAndServePaperPetition().then(({ docketNumber }) => {
cy.login('admissionsclerk1');
cy.get('[data-testid="messages-banner"]');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ describe('Admissions Clerk Updates Practitioner Email', () => {
getCypressEnv().defaultAccountPass,
);
cy.get('[data-testid="change-password-button"]').click();
cy.get('[data-testid="open-cases-count"]');
cy.get('[data-testid="petition-welcome-text"]');
logout();

loginAsAdmissionsClerk();
Expand Down Expand Up @@ -146,7 +146,7 @@ describe('Admissions Clerk Updates Practitioner Email', () => {
getCypressEnv().defaultAccountPass,
);
cy.get('[data-testid="change-password-button"]').click();
cy.get('[data-testid="open-cases-count"]');
cy.get('[data-testid="petition-welcome-text"]');

createAndServePaperPetition().then(({ docketNumber }) => {
cy.login('admissionsclerk1');
Expand Down
30 changes: 26 additions & 4 deletions cypress/helpers/fileAPetition/create-and-serve-paper-petition.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,29 @@
import { ProcedureType } from '../../../shared/src/business/entities/EntityConstants';
import { loginAsPetitionsClerk1 } from '../authentication/login-as-helpers';

export function createAndServePaperPetition(
options = { yearReceived: '2020' },
) {
{
procedureType = 'Regular',
trialLocation = 'Birmingham, Alabama',
yearReceived = '2020',
}: Partial<{
yearReceived: string;
procedureType: ProcedureType;
trialLocation: string;
}> = {
procedureType: 'Regular',
trialLocation: 'Birmingham, Alabama',
yearReceived: '2020',
},
): Cypress.Chainable<{
docketNumber: string;
documentsCreated: {
eventCode: string;
index: number;
servedTo: string;
}[];
name: string;
}> {
const name = 'rick james ' + Date.now();
loginAsPetitionsClerk1();
cy.get('[data-testid="inbox-tab-content"]').should('exist');
Expand All @@ -22,10 +43,11 @@ export function createAndServePaperPetition(
cy.get('[data-testid="phone"]').type('n/a');
cy.get('#tab-case-info > .button-text').click();
cy.get('#date-received-picker').clear();
cy.get('#date-received-picker').type(`01/02/${options.yearReceived}`);
cy.get('#date-received-picker').type(`01/02/${yearReceived}`);
cy.get('#mailing-date').clear();
cy.get('#mailing-date').type('01/02/2019');
cy.get('[data-testid="preferred-trial-city"]').select('Birmingham, Alabama');
cy.get(`[data-testid="procedure-type-${procedureType}-radio"]`).click();
cy.get('[data-testid="preferred-trial-city"]').select(trialLocation);
cy.get(
':nth-child(9) > .usa-fieldset > :nth-child(3) > .usa-radio__label',
).click();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { PROCEDURE_TYPES_MAP } from '../../../shared/src/business/entities/EntityConstants';
import { uploadFile } from '../file/upload-file';

export function petitionerCreatesElectronicCaseUpdated(
Expand Down Expand Up @@ -26,8 +27,9 @@ export function petitionerCreatesElectronicCaseUpdated(
cy.get('[data-testid="redaction-acknowledgement-label"]').click();
cy.get('[data-testid="step-3-next-button"]').click();

cy.get('[data-testid="procedure-type-1"]').click();
cy.get('[data-testid="procedure-type-0"]').click();
cy.get(
`[data-testid="procedure-type-${PROCEDURE_TYPES_MAP.regular}-radio"]`,
).click();
cy.get('[data-testid="preferred-trial-city"]').select('Mobile, Alabama');
cy.get('[data-testid="step-4-next-button"]').click();

Expand Down Expand Up @@ -119,8 +121,9 @@ export function petitionerAttemptsToUploadCorruptPdfUpdated() {
cy.get('[data-testid="redaction-acknowledgement-label"]').click();
cy.get('[data-testid="step-3-next-button"]').click();

cy.get('[data-testid="procedure-type-1"]').click();
cy.get('[data-testid="procedure-type-0"]').click();
cy.get(
`[data-testid="procedure-type-${PROCEDURE_TYPES_MAP.regular}-radio"]`,
).click();
cy.get('[data-testid="preferred-trial-city"]').select('Mobile, Alabama');
cy.get('[data-testid="step-4-next-button"]').click();

Expand Down Expand Up @@ -170,8 +173,9 @@ export function petitionerCreatesElectronicCaseWithSpouseUpdated(
cy.get('[data-testid="redaction-acknowledgement-label"]').click();
cy.get('[data-testid="step-3-next-button"]').click();

cy.get('[data-testid="procedure-type-1"]').click();
cy.get('[data-testid="procedure-type-0"]').click();
cy.get(
`[data-testid="procedure-type-${PROCEDURE_TYPES_MAP.regular}-radio"]`,
).click();
cy.get('[data-testid="preferred-trial-city"]').select('Mobile, Alabama');
cy.get('[data-testid="step-4-next-button"]').click();

Expand Down Expand Up @@ -221,8 +225,9 @@ export function petitionerCreatesElectronicCaseWithDeceasedSpouseUpdated(
cy.get('[data-testid="redaction-acknowledgement-label"]').click();
cy.get('[data-testid="step-3-next-button"]').click();

cy.get('[data-testid="procedure-type-1"]').click();
cy.get('[data-testid="procedure-type-0"]').click();
cy.get(
`[data-testid="procedure-type-${PROCEDURE_TYPES_MAP.regular}-radio"]`,
).click();
cy.get('[data-testid="preferred-trial-city"]').select('Mobile, Alabama');
cy.get('[data-testid="step-4-next-button"]').click();

Expand Down
31 changes: 19 additions & 12 deletions cypress/helpers/fileAPetition/petitioner-creates-electronic-case.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { PROCEDURE_TYPES_MAP } from '../../../shared/src/business/entities/EntityConstants';
import {
petitionerAttemptsToUploadCorruptPdfUpdated,
petitionerCreatesElectronicCaseForBusinessUpdated,
Expand Down Expand Up @@ -31,8 +32,9 @@ export function petitionerCreatesElectronicCaseWithDeceasedSpouseOld(
cy.get('[data-testid="phone"]').type('1111111111');
cy.get('[data-testid="use-same-address-above-label"]').click();
cy.get('[data-testid="complete-step-3"]').click();
cy.get('[data-testid="procedure-type-1"]').click();
cy.get('[data-testid="procedure-type-0"]').click();
cy.get(
`[data-testid="procedure-type-${PROCEDURE_TYPES_MAP.regular}-radio"]`,
).click();
cy.get('[data-testid="preferred-trial-city"]').select('Mobile, Alabama');
cy.get('[data-testid="complete-step-4"]').click();
cy.get('[data-testid="file-petition"]').click();
Expand Down Expand Up @@ -111,8 +113,9 @@ export function petitionerCreatesElectronicCaseWithSpouseOld(
cy.get('[data-testid="phone"]').type('1111111111');
cy.get('[data-testid="use-same-address-above-label"]').click();
cy.get('[data-testid="complete-step-3"]').click();
cy.get('[data-testid="procedure-type-1"]').click();
cy.get('[data-testid="procedure-type-0"]').click();
cy.get(
`[data-testid="procedure-type-${PROCEDURE_TYPES_MAP.regular}-radio"]`,
).click();
cy.get('[data-testid="preferred-trial-city"]').select('Mobile, Alabama');
cy.get('[data-testid="complete-step-4"]').click();
cy.get('[data-testid="file-petition"]').click();
Expand Down Expand Up @@ -160,8 +163,9 @@ function petitionerCreatesElectronicCaseOld(primaryFilerName = 'John') {
cy.get('[data-testid="phone"]').type('1111111111');

cy.get('[data-testid="complete-step-3"]').click();
cy.get('[data-testid="procedure-type-1"]').click();
cy.get('[data-testid="procedure-type-0"]').click();
cy.get(
`[data-testid="procedure-type-${PROCEDURE_TYPES_MAP.regular}-radio"]`,
).click();
cy.get('[data-testid="preferred-trial-city"]').select('Mobile, Alabama');
cy.get('[data-testid="complete-step-4"]').click();

Expand Down Expand Up @@ -204,8 +208,9 @@ export function petitionerCreatesElectronicCaseForBusinessOld() {
uploadFile('corporate-disclosure-file');

cy.get('[data-testid="complete-step-3"]').click();
cy.get('[data-testid="procedure-type-1"]').click();
cy.get('[data-testid="procedure-type-0"]').click();
cy.get(
`[data-testid="procedure-type-${PROCEDURE_TYPES_MAP.regular}-radio"]`,
).click();
cy.get('[data-testid="preferred-trial-city"]').select('Mobile, Alabama');
cy.get('[data-testid="complete-step-4"]').click();

Expand Down Expand Up @@ -259,8 +264,9 @@ export function privatePractitionerCreatesElectronicCaseForBusiness() {
uploadFile('corporate-disclosure-file');

cy.get('[data-testid="complete-step-3"]').click();
cy.get('[data-testid="procedure-type-1"]').click();
cy.get('[data-testid="procedure-type-0"]').click();
cy.get(
`[data-testid="procedure-type-${PROCEDURE_TYPES_MAP.regular}-radio"]`,
).click();
cy.get('[data-testid="preferred-trial-city"]').select('Mobile, Alabama');
cy.get('[data-testid="complete-step-4"]').click();

Expand Down Expand Up @@ -313,8 +319,9 @@ export function petitionerAttemptsToUploadCorruptPdfOld() {
cy.get('[data-testid="phone"]').type('1111111111');

cy.get('[data-testid="complete-step-3"]').click();
cy.get('[data-testid="procedure-type-1"]').click();
cy.get('[data-testid="procedure-type-0"]').click();
cy.get(
`[data-testid="procedure-type-${PROCEDURE_TYPES_MAP.regular}-radio"]`,
).click();
cy.get('[data-testid="preferred-trial-city"]').select('Mobile, Alabama');
cy.get('[data-testid="complete-step-4"]').click();

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,19 @@
import { PROCEDURE_TYPES_MAP } from '../../../shared/src/business/entities/EntityConstants';
import { petitionerCreatesElectronicCaseUpdated } from './petitioner-creates-electronic-case-updated';
import { uploadFile } from '../file/upload-file';

export function practitionerCreatesElectronicCase() {
return cy
.task('getFeatureFlagValue', { flag: 'updated-petition-flow' })
.then(updatedFlow => {
if (updatedFlow) {
return petitionerCreatesElectronicCaseUpdated();
}
return practitionerCreatesElectronicCaseOld();
});
}

export function practitionerCreatesElectronicCaseOld() {
cy.get('[data-testid="file-a-petition"]').click();
uploadFile('stin-file');
cy.get('[data-testid="complete-step-1"]').click();
Expand All @@ -20,8 +33,9 @@ export function practitionerCreatesElectronicCase() {
cy.get('[data-testid="phone"]').type('1111111111');
cy.get('[data-testid="use-same-address-above-label"]').click();
cy.get('[data-testid="complete-step-3"]').click();
cy.get('[data-testid="procedure-type-1"]').click();
cy.get('[data-testid="procedure-type-0"]').click();
cy.get(
`[data-testid="procedure-type-${PROCEDURE_TYPES_MAP.regular}-radio"]`,
).click();
cy.get('[data-testid="preferred-trial-city"]').select('Mobile, Alabama');
cy.get('[data-testid="complete-step-4"]').click();
cy.get('[data-testid="file-petition"]').click();
Expand Down
Loading
Loading