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

Merged
merged 649 commits into from
Sep 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
649 commits
Select commit Hold shift + click to select a range
9c7cfc7
10417: remove appcontext.getCurrentUser from getMessageThreadInteractor
jtdevos Jul 22, 2024
e33631a
10417 remove getCurrentUser from exportPendingReportInteractor
En-8 Jul 22, 2024
7488d56
10417 remove getCurrentUser from setMessageAsReadInteractor
En-8 Jul 22, 2024
3f7cb60
10417: remove appcontext.getCurrentUser from getOutboxMessagesForSect…
jtdevos Jul 22, 2024
f0b4708
10417 remove getCurrentUser from replyToMessageInteractor
En-8 Jul 22, 2024
0ac353a
10417 remove getCurrentUser from getPractitionerByBarNumberInteractor
En-8 Jul 22, 2024
fca82ef
10417 cleanup in serveCaseToIrsInteractor
En-8 Jul 22, 2024
29e93d3
10417 cleanup in setTrialSessionCalendarInteractor
En-8 Jul 22, 2024
988d0a4
10417: remove getCurrentUser
Jul 22, 2024
a0d69d1
Merge branch '10417-remove-get-current-user' of github.com:flexion/ef…
Jul 22, 2024
c69cb4a
10417: remove getCurrentUser
Jul 22, 2024
97e8f4a
10417 some cleanup in generateTrialSessionPaperServicePdfInteractor
En-8 Jul 22, 2024
ce83af3
10417 remove getCurrentUser from serveCaseToIrsInteractor.addDocketEn…
En-8 Jul 22, 2024
3a46616
10417: remove getCurrentUser
Jul 22, 2024
69efc8e
Merge branch '10417-remove-get-current-user' of github.com:flexion/ef…
Jul 22, 2024
99bfaf0
10417: remove getCurrentUser
Jul 22, 2024
522ce19
10417: remove getCurrentUser in the worker. Replace the user argument…
Jul 22, 2024
05790d7
10417: remove getCurrentUser in the worker. Replace the user argument…
Jul 22, 2024
858a682
10417: remove getCurrentUser in the worker. Replace the user argument…
Jul 22, 2024
d8c8d7f
10417: remove getCurrentUser in the worker. Replace the user argument…
Jul 22, 2024
97b6685
10417 remove getCurrentUser from fileAndServeDocumentOnOneCase
En-8 Jul 23, 2024
5300ad6
10417 cont'd remove getCurrentUser from serveCourtIssuedDocumentInter…
En-8 Jul 23, 2024
81004fa
10417 remove getCurrentUser from updatePractitionerUserInteractor
En-8 Jul 23, 2024
69e080c
10417: remove getCurrentUser
Jul 23, 2024
a3aeede
10417: cleanup commented getCurrentUser refs
jtdevos Jul 23, 2024
be984fd
10417: remove getCurrentUser, add docs
Jul 23, 2024
c425b27
Merge branch '10417-remove-get-current-user' of github.com:flexion/ef…
Jul 23, 2024
3d796b2
10417: add authorizedUser to updateCaseAndAssociations low hanging fruit
Jul 23, 2024
0397c75
10417 rm getCurrentUser and fix tests
Jul 23, 2024
0d447e5
10417 rm getCurrentUser and fix tests
Jul 23, 2024
c8cc0c3
10417 rm getCurrentUser and fix tests
Jul 23, 2024
c830b02
10417: rm getCurrentUser from tests
Jul 23, 2024
deeda94
10417: Remove todos related to type changes. These are legitamte type…
Jul 23, 2024
3bd4b21
10417: rm getCurrentUser from tests
Jul 23, 2024
921332c
Merge branch 'staging' of github.com:ustaxcourt/ef-cms into 10417-rem…
Jul 23, 2024
44a4e3b
10417 fix removeCounselFromRemovedPractitioner tests
En-8 Jul 24, 2024
7753b29
10417 pass in user for lambda tests
En-8 Jul 24, 2024
b7cd8b1
10417 fix locking tests
En-8 Jul 24, 2024
acd6bed
10417 fix workerRouter tests
En-8 Jul 24, 2024
dcba91b
10417: rm authorizedUser from genericHandler. Do direct import of int…
Jul 24, 2024
364e7e8
10417: rm options as an argument from lambdas as it is unused except …
Jul 24, 2024
b7c6743
10417: connectLambda gets its own user
En-8 Jul 24, 2024
6c1e90c
10417: rm getCurrentUser
Jul 24, 2024
faa9b7a
10417: Update failing test to look at full authorized user
Jul 24, 2024
f472220
Merge branch 'staging' of github.com:ustaxcourt/ef-cms into 10417-rem…
Jul 25, 2024
99d1a8c
10417: wip: WorkItem constructor needs a second param
En-8 Jul 25, 2024
a03b9fb
10417: fix WorkItem constructor differently
En-8 Jul 25, 2024
8d06e12
10417 add authorizedUser to forwardMessageLambda
En-8 Jul 25, 2024
d38b810
10417 add custom:userId to auth token
En-8 Jul 26, 2024
8463c2b
10417 add custom:userId to auth token
En-8 Jul 26, 2024
1130fce
10417: remove authorizedUser from public endpoint
En-8 Jul 26, 2024
80f1abd
10417 fix authorizationClientService tests
En-8 Jul 26, 2024
0acf675
10417 revert back to applicationContext for useCases
En-8 Jul 26, 2024
15cca20
Merge branch 'staging' of github.com:ustaxcourt/ef-cms into 10417-rem…
Jul 26, 2024
e59866a
Merge branch 'staging' of github.com:ustaxcourt/ef-cms into 10417-rem…
Jul 26, 2024
b7f67ee
10417: Remove getCurrentUser
Jul 26, 2024
12b7713
10417: Remove getCurrentUser
Jul 26, 2024
a3883f7
10417: Remove getCurrentUser
Jul 26, 2024
6fa8632
10417: Remove getCurrentUser
Jul 26, 2024
5ef285b
10417: Default the user as an empty object so that state can understa…
Jul 26, 2024
66c4b0a
10417: Update to use authorizedUser
Jul 26, 2024
0c55b41
10417: docs
Jul 26, 2024
346c5ae
10417: Update passing in authorizedUser
Jul 26, 2024
2901321
Merge branch '10417-minimum-changes' into 10417-remove-get-current-user
Jul 29, 2024
bff7a2d
Merge branch '10417-minimum-changes' into 10417-remove-get-current-user
Jul 29, 2024
05d289c
10417: fix unit tests
Jul 29, 2024
f3757cd
10417: fix type errors for appContext
Jul 29, 2024
019e57a
10417: fix tests
Jul 29, 2024
d7d75cb
10417 fix type errors
Jul 29, 2024
d1a75f6
10417: WIP adding
Jul 29, 2024
51bf10a
10417: Update login when creating and serving paper petitions
Jul 29, 2024
95b546e
10417 fix type errors, add auth user check to start polling interactor
En-8 Jul 29, 2024
45d4b90
10417: Update type errors. Pass in authUser
Jul 29, 2024
1ef377d
10417: Update type errors. Create a system user when sealing in lower…
Jul 29, 2024
4497fd4
10417: Update type errors. Create a system user when sealing in lower…
Jul 29, 2024
620168c
10417: Update appContext Type
Jul 29, 2024
2a6e647
10417 fix tests
En-8 Jul 30, 2024
97e09ca
10417 fix untouched file types
En-8 Jul 30, 2024
8104a5d
10417: Use new login helper function
Jul 30, 2024
b6fce8e
10417 Improve typing of validateRawCollection
Jul 30, 2024
b4f7e40
10417 document followup changes
Jul 30, 2024
1ee5b7b
10417: Update validateRawCollection usage
Jul 30, 2024
f7c2b1d
10417 fix calls to validateRawCollection
JayFlexy Jul 30, 2024
a14f973
10417 fix handleLockError instances
JayFlexy Jul 30, 2024
4f8bb90
10417 delete leftover files
JayFlexy Jul 30, 2024
1cb85c8
10417 switch to cy.clearAllCookies
En-8 Jul 30, 2024
0181549
Merge branch 'staging' of github.com:ustaxcourt/ef-cms into 10417-rem…
Jul 31, 2024
b73cf5f
10417 add type and empty state to user state
Jul 31, 2024
3657ee6
10417 - Fix tests for state.user
Jul 31, 2024
473bb09
Merge branch 'staging' of github.com:ustaxcourt/ef-cms into 10417-rem…
Jul 31, 2024
4ca53f2
10417 check if user is logged in using token
En-8 Jul 31, 2024
2eed27c
10417 - Skip dynamsoft for cypress
Aug 1, 2024
819ddc9
Merge branch '10417-remove-get-current-user' of github.com:flexion/ef…
Aug 1, 2024
b25625e
10417 - Add script for checking if all cognito attributes exist
Aug 1, 2024
1687302
Merge branch 'devex-rebuild-cognito' into 10417-remove-get-current-user
Aug 2, 2024
78cfdb4
Merge branch 'devex-10415-convert-apigateway' into 10417-remove-get-c…
Aug 2, 2024
d1c75cd
10417 - When creating users give them a name and a user id for automa…
Aug 2, 2024
ca42647
10417 - Update IRS pool to have a custom UserId attribut
Aug 2, 2024
58d7c2c
10417 - Update test to pass in name and userId
Aug 2, 2024
b52578e
Merge branch 'staging' into 10417-remove-get-current-user
En-8 Aug 5, 2024
bb8cd24
10417 - Update permissions to allow cognito to add attributes
Aug 5, 2024
9f0fdb9
Merge branch '10417-remove-get-current-user' of github.com:flexion/ef…
Aug 5, 2024
3d3e4fd
10417 - Pass in correct argument name
Aug 5, 2024
b94f0b0
10417: script to check for malformed users
Aug 5, 2024
c16ea0f
10417: WIP swap with wrap
Aug 5, 2024
6958ab8
10417: Update to use tasks to get userIds instead of wrap
Aug 5, 2024
44d88b4
Merge branch 'staging' into 10417-remove-get-current-user
zachrog Aug 5, 2024
f554ad3
10417: Update test to not use getCurrentUser
Aug 5, 2024
e2d4d65
10417: Look for custom:name
Aug 5, 2024
d66e1c4
Merge branch 'staging' of github.com:ustaxcourt/ef-cms into 10417-rem…
Aug 6, 2024
c2955d2
10417: Add defaulting of role to petitioner. Half of all prod users d…
Aug 7, 2024
af8bf8b
10417 fix IRS superuser test
En-8 Aug 1, 2024
83cab2a
10417 - Add script to give all users a role of petitioner if they do …
En-8 Aug 7, 2024
2c59f91
10417: Add script to verify confirming to a user
Aug 7, 2024
27ec65a
10417: Remove uneeded script
Aug 7, 2024
f245d7f
Merge branch 'staging' of github.com:ustaxcourt/ef-cms into 10417-rem…
Aug 7, 2024
8bb4dcc
Revert "devex - Remove unused oauth flows from cognito"
En-8 Aug 7, 2024
b25966c
Revert "devex - Replace outdated terraform module"
En-8 Aug 7, 2024
cad9212
10417: Remove defaulting of user to petitioner. Rely on role to come …
Aug 7, 2024
8df48a1
Merge branch 'staging' into 10417-remove-get-current-user
zachrog Aug 8, 2024
fb9fb7a
10417 add ability to update name in cognito
En-8 Aug 8, 2024
27edcfc
Merge branch 'staging' into 10417-remove-get-current-user
En-8 Aug 12, 2024
afe5cd4
Remove duplicate, outdated file
Mwindo Aug 12, 2024
44f2b40
Merge branch 'staging' into 10417-remove-get-current-user
zachrog Aug 15, 2024
2d93daa
Merge branch 'staging' of github.com:ustaxcourt/ef-cms into 10417-rem…
Aug 15, 2024
488430d
Merge branch 'staging' of github.com:ustaxcourt/ef-cms into 10417-rem…
Aug 20, 2024
38588ae
10417: Update tests
Aug 20, 2024
dd44c54
10417 add wrapper in validateRawCollection return type
En-8 Aug 20, 2024
c17795d
10417: Fix type errors. Remove unused parameter from sendNotification…
Aug 20, 2024
aa6ede2
10417: updating types
Aug 20, 2024
65fb3e2
Merge branch 'staging' into 10417-remove-get-current-user
zachrog Aug 21, 2024
b39eae2
deps: easy lib upgrades
En-8 Aug 22, 2024
e82c792
deps: update puppeteer, chromium
En-8 Aug 22, 2024
ae1e917
deps: update terraform version
En-8 Aug 22, 2024
3198a4a
deps: dockerfile upgrades: terraform, cypress, aws cli
En-8 Aug 22, 2024
0d62a2b
deps: terraform provider version
En-8 Aug 22, 2024
4e58153
deps: revert ts upgrade
En-8 Aug 22, 2024
48146e2
10226-bug: fix accessibility issue and extract PillButton component
Mwindo Aug 23, 2024
394a191
deps: AWS type updates
En-8 Aug 23, 2024
fb427fc
Merge branch 'staging' into deps-2024-08-26
En-8 Aug 23, 2024
a084289
devex - Remove unused oauth flows from cognito
En-8 Aug 1, 2024
a915d5c
devex - Replace outdated terraform module
En-8 Aug 1, 2024
956a323
Revert "deps: update puppeteer, chromium"
En-8 Aug 23, 2024
5dfc9be
deps: remove erroneous package lock file
En-8 Aug 26, 2024
e921c02
10471: Added unit test to cover order of docket numbers;
Aug 26, 2024
e42f308
10471: Implement sorting of the dorcket numbers; Pass array of deocke…
Aug 26, 2024
0249cdd
Merge branch 'staging' into 10417-remove-get-current-user
zachrog Aug 26, 2024
c995fc7
10397: add new custom paginator
TomElliottFlexion Aug 26, 2024
a0b1758
10397: replace paginator in PractitionerSearchResults, ColdCaseReport…
TomElliottFlexion Aug 26, 2024
416f275
10397: remove react-paginate from project
TomElliottFlexion Aug 26, 2024
0c4220e
10397: enable axe core rule
TomElliottFlexion Aug 26, 2024
8193214
Call clearPendingReportsAction when no judge is selected in setPendin…
akuny Aug 20, 2024
361af65
10463-bug: change type attribute from "tel" to "text" for phone numbe…
akuny Aug 19, 2024
a6b364d
Remove styling for no-longer-used "tel" input els in forms.scss
akuny Aug 20, 2024
66afadf
10399-bug: Direct user to the edit-upload-court-issued route if a use…
akuny Aug 22, 2024
5ae63ec
10399-bug: handle scenario in which a status report order is in draft…
akuny Aug 23, 2024
ea3563c
Isolate logic to determine if a docket entry is miscellaneous
akuny Aug 23, 2024
b37cbe1
Fix type errors that popped up as a result of making documentType an …
akuny Aug 23, 2024
3d30e03
Fix more type errors
akuny Aug 23, 2024
02f7aff
Work on end-to-end tests
akuny Aug 25, 2024
d437dd8
10399-bug: set document title when editing a court issued docket entry
akuny Aug 26, 2024
a6c9786
10399-bug: docket clerk can now update document description
akuny Aug 26, 2024
d4e930a
Merge remote-tracking branch 'USTC/staging' into 10399-bug
akuny Aug 26, 2024
74fed10
10399-bug: type errors
akuny Aug 26, 2024
3a8dbbe
10399-bug: add calling parens back to action in editUploadCourtIssued…
akuny Aug 26, 2024
5e09269
10397: add type to paginator
TomElliottFlexion Aug 26, 2024
2ed1012
10399-bug: Fix typo in editUploadCourtIssuedDocumentSequence.ts
akuny Aug 27, 2024
1c1870a
10397: feedback: remove list-item rule from axe cypress test, type pa…
TomElliottFlexion Aug 27, 2024
70a393e
10397: currentPage is a number, not a string
TomElliottFlexion Aug 27, 2024
94ad95c
10397: hide unused paginator buttons rather than not rendering them
TomElliottFlexion Aug 27, 2024
8747ecc
10399-bug: add test cases for editing a court issued docket entry fro…
akuny Aug 27, 2024
b3dab58
10399-bug: remove type hack and replace with a less offensive type hack
akuny Aug 27, 2024
1a01569
10399-bug: add more type fixes
akuny Aug 27, 2024
c3e5195
10399-bug: adjust the logic that determines if a docket entry is a dr…
akuny Aug 27, 2024
ec34f97
10365-bug: remove leading/trailing spaces in password when making aut…
Mwindo Aug 27, 2024
04aad60
10399-bug: make parameter for setCaseDetailPageTabActionGenerator opt…
akuny Aug 27, 2024
f484635
10399-bug: make documentType non-optional in DocketEntry entity
akuny Aug 27, 2024
6c08dc4
10399-bug: remove explicit type for parameter in isMiscellaneousDocum…
akuny Aug 27, 2024
e043169
Convert sequences to arrays;
Aug 27, 2024
d2f86a7
refactoring instances where we pass sequence strings
codyseibert Aug 27, 2024
b52dd85
forgot to import sequences in some files
codyseibert Aug 27, 2024
b6c6127
Merge branch 'staging' into 10471-story
cruzjone-flexion Aug 27, 2024
f2b7c1d
10399-bug: remove no-longer-needed type workaround
akuny Aug 28, 2024
a334c28
10377: Disable buttons when user has already clicked on one;
Aug 28, 2024
c687f04
10377: Migrate disabling of button into the shared component;
Aug 28, 2024
ad167b3
10399-refactor: move docket entry-related entities and tests in docke…
akuny Aug 28, 2024
a534e28
10377: Fix mispelled property; Add debounce mechanism as default for …
Aug 28, 2024
4a3cbca
Merge branch 'staging' into deps-2024-08-26
En-8 Aug 28, 2024
eb2066f
10377: Pass arguments to onClick methods;
Aug 28, 2024
649df5b
migrationWaitHelper and setup-for-blue-green-migration use same migra…
TomElliottFlexion Aug 28, 2024
9bdc64d
Merge pull request #5181 from flexion/10417-remove-get-current-user
jimlerza Aug 28, 2024
f239668
Merge branch 'staging' into 10226-bug
jimlerza Aug 28, 2024
f4d0c57
Merge pull request #5280 from flexion/10226-bug
jimlerza Aug 28, 2024
daaa3ec
Merge branch 'staging' into convert-sequences-to-arrays
jimlerza Aug 28, 2024
d93479c
Merge remote-tracking branch 'taxCourt/staging' into 10471-story
Aug 28, 2024
e19a0e2
Merge branch 'fix-migration-queue' into deps-2024-08-26
En-8 Aug 28, 2024
b5f9f9b
Merge branch 'staging' into fix-migration-queue
TomElliottFlexion Aug 28, 2024
81aa4dd
Merge branch 'staging' into deps-2024-08-26
En-8 Aug 29, 2024
53e98ef
Merge pull request #5295 from flexion/10471-story
jimlerza Aug 29, 2024
8c1b48e
Merge branch 'staging' into fix-migration-queue
TomElliottFlexion Aug 29, 2024
835ae6a
Merge branch 'staging' into deps-2024-08-26
En-8 Aug 29, 2024
9b045c3
10399-bug: update logic that determines if a draft docket entry is a …
akuny Aug 29, 2024
552f0f1
10399-bug: fix typos in test case descriptions
akuny Aug 29, 2024
b5ab240
10399-bug: update checkDocumentTypeAction.test.ts to use corrected cr…
akuny Aug 29, 2024
2d8222e
Merge branch 'staging' into convert-sequences-to-arrays
cruzjone-flexion Aug 29, 2024
bfdd58a
10377: Remove default debounce logic and passing of args;
Aug 29, 2024
9a14fa9
10399-bug: update getFormattedCaseDetail.test.ts to use corrected cri…
akuny Aug 29, 2024
d2c23bd
10377: Construct onClick updated method using helper method;
Aug 29, 2024
e5e6c9d
Revert "Merge branch 'fix-migration-queue' into deps-2024-08-26"
En-8 Aug 29, 2024
a86a515
Merge pull request #5300 from flexion/fix-migration-queue
jimlerza Aug 29, 2024
9f7f281
Merge branch 'staging' into deps-2024-08-26
jimlerza Aug 29, 2024
57bbbe9
10439 add docketclerk sessionTypes filter on SessionInformationForm
JayFlexy Aug 22, 2024
eeafed9
10439 add unit test for docketclerk sessionTypes filter
JayFlexy Aug 22, 2024
7fe0bd3
add tests for docketClerkUser edit perms
JayFlexy Aug 29, 2024
4e283b1
rm debug log statement
JayFlexy Aug 22, 2024
fb2af59
10439 use declared constants for sessionTypes
JayFlexy Aug 26, 2024
fdef4e2
devex add loginAsUser function to fix race conditions in cypress tests
JayFlexy Aug 26, 2024
b30923f
rm logic from tsx file and fix type errors
JayFlexy Aug 26, 2024
f8c8f48
10439 fix tests after refactor
JayFlexy Aug 26, 2024
2b75d8e
10439 merge and test fixes
JayFlexy Aug 29, 2024
54e1eff
10377: Remove default debounce logic;
Aug 29, 2024
b5f9373
10377: Merge if conditions;
Aug 29, 2024
db80dad
Merge branch 'staging' into convert-sequences-to-arrays
cruzjone-flexion Aug 29, 2024
3fb1d14
Merge pull request #5294 from flexion/convert-sequences-to-arrays
jimlerza Aug 29, 2024
947901c
Merge branch 'staging' into devex-refactor-string-sequence
jimlerza Aug 29, 2024
5e2267f
Merge pull request #5296 from flexion/devex-refactor-string-sequence
jimlerza Aug 29, 2024
8c884b3
Merge branch 'staging' into deps-2024-08-26
jimlerza Aug 29, 2024
828950a
10397: fix typo
TomElliottFlexion Aug 29, 2024
cfd93ca
Merge pull request #5277 from flexion/deps-2024-08-26
jimlerza Aug 29, 2024
b775801
10439: Remove expectation that private practitioners will have cases …
JayFlexy Aug 29, 2024
d7e1d44
Merge branch 'staging' into 10397-accessible-paginator
JayFlexy Aug 29, 2024
2945830
Merge branch 'staging' into 10439-docketclerk-restrict-trialsession-a…
JayFlexy Aug 29, 2024
9592d6b
Merge pull request #5302 from flexion/10397-accessible-paginator
jimlerza Aug 30, 2024
b51e1ea
10399-bug: update warning component and wording; move location of sav…
akuny Aug 30, 2024
98b5c94
Merge branch 'staging' into 10377-story
cruzjone-flexion Aug 30, 2024
9c63899
Revert "10399-refactor: move docket entry-related entities and tests …
akuny Aug 30, 2024
98401f2
10377: Extract debounce constant to constant variable;
Aug 30, 2024
c1e1d1f
Merge branch '10377-story' of github.com:flexion/ef-cms into 10377-story
Aug 30, 2024
a9b1f23
Merge staging into 10399-bug
akuny Sep 3, 2024
5726182
Merge branch 'staging' into remove-duplicate-fileCourtIssuedOrderInte…
jimlerza Sep 4, 2024
f7953c6
Merge pull request #5241 from flexion/remove-duplicate-fileCourtIssue…
jimlerza Sep 4, 2024
35d3f19
Merge branch 'staging' into 10439-docketclerk-restrict-trialsession-a…
jimlerza Sep 4, 2024
bfab6eb
Merge pull request #5274 from flexion/10439-docketclerk-restrict-tria…
jimlerza Sep 4, 2024
4387c93
Merge branch 'staging' into 10399-bug
jimlerza Sep 4, 2024
f728d45
Merge branch 'staging' into 10377-story
cruzjone-flexion Sep 4, 2024
58fd4b5
Merge pull request #5286 from flexion/10399-bug
jimlerza Sep 4, 2024
a12526c
Merge branch 'staging' into 10377-story
cruzjone-flexion Sep 4, 2024
595b1be
Merge pull request #5309 from flexion/10377-story
jimlerza Sep 4, 2024
35bc338
Merge branch 'staging' into 10365-bug
Mwindo Sep 4, 2024
62ebe70
Merge pull request #5324 from flexion/10365-bug
jimlerza Sep 5, 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
  •  
  •  
  •  
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.7
efcms-docker-image: &efcms-docker-image $AWS_ACCOUNT_ID.dkr.ecr.us-east-1.amazonaws.com/ef-cms-us-east-1:4.3.8

parameters:
run_build_and_deploy:
Expand Down
6 changes: 3 additions & 3 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.88-1-ff-128.0.3-edge-127.0.2651.74-1
FROM cypress/browsers:node-20.16.0-chrome-127.0.6533.119-1-ff-129.0.1-edge-127.0.2651.98-1

WORKDIR /home/app

Expand Down 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.30.zip" -o "awscliv2.zip" && \
RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64-2.17.36.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.4/terraform_1.9.4_linux_amd64.zip && \
RUN wget -q -O terraform.zip https://releases.hashicorp.com/terraform/1.9.5/terraform_1.9.5_linux_amd64.zip && \
unzip -o terraform.zip terraform && \
rm terraform.zip && \
cp terraform /usr/local/bin/
Expand Down
18 changes: 14 additions & 4 deletions cypress-smoketests.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import {
deleteAllCypressTestAccounts,
deleteAllIrsCypressTestAccounts,
getIrsBearerToken,
getUserByEmail,
} from './cypress/helpers/cypressTasks/cognito/cognito-helpers';
import { defineConfig } from 'cypress';
import {
Expand Down Expand Up @@ -33,20 +34,26 @@ export default defineConfig({
return confirmUser({ email });
},
createAccount({
irsEnv,
isIrsEnv,
name,
password,
role,
userId,
userName,
}: {
irsEnv: boolean;
userName: string;
password: string;
role: string;
userName: string;
isIrsEnv: boolean;
name: string;
userId: string;
}) {
return createAccount({
isIrsEnv: irsEnv,
isIrsEnv,
name,
password,
role,
userId,
userName,
});
},
Expand Down Expand Up @@ -83,6 +90,9 @@ export default defineConfig({
getNewAccountVerificationCode({ email }) {
return getNewAccountVerificationCode({ email });
},
getUserByEmail(email: string) {
return getUserByEmail(email);
},
readAllItemsInBucket({
bucketName,
retries,
Expand Down
4 changes: 4 additions & 0 deletions cypress.config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import {
confirmUser,
deleteAllCypressTestAccounts,
getUserByEmail,
} from './cypress/helpers/cypressTasks/cognito/cognito-helpers';
import { defineConfig } from 'cypress';
import {
Expand Down Expand Up @@ -56,6 +57,9 @@ export default defineConfig({
getNewAccountVerificationCode({ email }) {
return getNewAccountVerificationCode({ email });
},
getUserByEmail(email: string) {
return getUserByEmail(email);
},
table(message) {
console.table(message);
return null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,12 @@ import {
} from '../../../helpers/authentication/login-as-helpers';

describe('Advanced Search', () => {
beforeEach(() => {
Cypress.session.clearCurrentSessionData();
});

it('should find a served paper case when the user searches by party name or docket number', () => {
/** Arrange */
loginAsPetitionsClerk1();
createAndServePaperPetition().then(({ docketNumber, name }) => {
/** Act */
cy.get('[data-testid="search-link"]').click();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ROLES } from '../../../../shared/src/business/entities/EntityConstants';
/* eslint-disable promise/no-nesting */
import { assertExists, retry } from '../../../helpers/retry';
import { goToCase } from '../../../helpers/caseDetail/go-to-case';
import {
Expand All @@ -10,29 +10,10 @@ import { petitionsClerkServesPetition } from '../../../helpers/documentQC/petiti
import { uploadFile } from '../../../helpers/file/upload-file';

describe('Document QC Complete', () => {
let CASE_SERVICE_SUPERVISOR_INFO: { userId: string; name: string } =
undefined as unknown as { userId: string; name: string };
let DOCKET_CLERK_INFO: { userId: string; name: string } =
undefined as unknown as { userId: string; name: string };

const docketSectionMessage = 'To CSS under Docket Section';
const petitionsSectionMessage = 'To CSS under Petitions Section';

before(() => {
cy.intercept('GET', '**/users', req => {
req.on('before:response', res => {
if (res.body.role === ROLES.caseServicesSupervisor) {
CASE_SERVICE_SUPERVISOR_INFO = res.body;
}
if (res.body.role === ROLES.docketClerk) {
DOCKET_CLERK_INFO = res.body;
}
});
});

cy.login('caseServicesSupervisor1');
cy.login('docketclerk1');

loginAsPetitioner();
petitionerCreatesElectronicCase().then(docketNumber => {
cy.wrap(docketNumber).as('DOCKET_NUMBER');
Expand All @@ -54,18 +35,22 @@ describe('Document QC Complete', () => {
cy.get<string>('@DOCKET_NUMBER').then(docketNumber => {
loginAsAdmissionsClerk();
goToCase(docketNumber);
cy.task<{ userId: string; name: string; email: string; role: string }>(
'getUserByEmail',
'[email protected]',
).then(caseServiceSupervisorInfo => {
sendMessages(
caseServiceSupervisorInfo.userId,
docketSectionMessage,
'docket',
);

sendMessages(
CASE_SERVICE_SUPERVISOR_INFO.userId,
docketSectionMessage,
'docket',
);

sendMessages(
CASE_SERVICE_SUPERVISOR_INFO.userId,
petitionsSectionMessage,
'petitions',
);
sendMessages(
caseServiceSupervisorInfo.userId,
petitionsSectionMessage,
'petitions',
);
});

retry(() => {
cy.login('caseServicesSupervisor1', '/messages/my/inbox');
Expand Down Expand Up @@ -125,42 +110,49 @@ describe('Document QC Complete', () => {
cy.get(`[data-testid="work-item-${docketNumber}"]`)
.find('[data-testid="checkbox-assign-work-item"]')
.click();

cy.get('[data-testid="dropdown-select-assignee"]').select(
DOCKET_CLERK_INFO.name,
);

retry(() => {
cy.login(
'caseServicesSupervisor1',
'/document-qc/section/inbox/selectedSection?section=docket',
cy.task<{ userId: string; name: string; email: string; role: string }>(
'getUserByEmail',
'[email protected]',
).then(docketClerkInfo => {
cy.get('[data-testid="dropdown-select-assignee"]').select(
docketClerkInfo.name,
);
cy.get('table.usa-table');
return cy.get('body').then(body => {
const workItem = body.find(
`[data-testid="work-item-${docketNumber}"]`,
);
const assigneeName = workItem.find(
'[data-testid="table-column-work-item-assigned-to"]',

retry(() => {
cy.login(
'caseServicesSupervisor1',
'/document-qc/section/inbox/selectedSection?section=docket',
);
const text = assigneeName.text();
return cy.wrap(text.includes(DOCKET_CLERK_INFO.name));
cy.get('table.usa-table');
return cy.get('body').then(body => {
const workItem = body.find(
`[data-testid="work-item-${docketNumber}"]`,
);
const assigneeName = workItem.find(
'[data-testid="table-column-work-item-assigned-to"]',
);
const text = assigneeName.text();
return cy.wrap(text.includes(docketClerkInfo.name));
});
});
});

cy.get(`[data-testid="work-item-${docketNumber}"]`)
.find('.message-document-title')
.find('a')
.click();
cy.get(`[data-testid="work-item-${docketNumber}"]`)
.find('.message-document-title')
.find('a')
.click();

cy.get('#save-and-finish').click();
cy.get('#save-and-finish').click();

cy.get('[data-testid="success-alert"]').should('contain', 'QC Completed');
cy.get('[data-testid="success-alert"]').should(
'contain',
'QC Completed',
);

cy.visit('/document-qc/my/outbox');
cy.get(`[data-testid="section-work-item-outbox-${docketNumber}"]`).should(
'exist',
);
cy.visit('/document-qc/my/outbox');
cy.get(
`[data-testid="section-work-item-outbox-${docketNumber}"]`,
).should('exist');
});
});
});

Expand All @@ -181,9 +173,14 @@ describe('Document QC Complete', () => {
.find('[data-testid="checkbox-assign-work-item"]')
.click();

cy.get('[data-testid="dropdown-select-assignee"]').select(
CASE_SERVICE_SUPERVISOR_INFO.name,
);
cy.task<{ userId: string; name: string; email: string; role: string }>(
'getUserByEmail',
'[email protected]',
).then(caseServiceSupervisorInfo => {
cy.get('[data-testid="dropdown-select-assignee"]').select(
caseServiceSupervisorInfo.name,
);
});

cy.visit('/document-qc/my/inbox');
cy.get(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { getCypressEnv } from '../../../helpers/env/cypressEnvironment';
import { loginAsPetitioner } from '../../../helpers/authentication/login-as-helpers';
import { petitionerCreatesElectronicCase } from '../../../helpers/fileAPetition/petitioner-creates-electronic-case';
import { petitionsClerkQcsAndServesElectronicCase } from '../../../helpers/documentQC/petitions-clerk-qcs-and-serves-electronic-case';
import { v4 } from 'uuid';

if (!Cypress.env('SMOKETESTS_LOCAL')) {
describe('irs superuser integration', () => {
Expand All @@ -20,9 +21,11 @@ if (!Cypress.env('SMOKETESTS_LOCAL')) {

it('should let an irs superuser view the reconciliation report and download a STIN', () => {
cy.task('createAccount', {
irsEnv: true,
isIrsEnv: true,
name: 'irsSuperUser CI/CD',
password,
role: ROLES.irsSuperuser,
userId: v4(),
userName,
});

Expand Down
34 changes: 30 additions & 4 deletions cypress/helpers/authentication/login-as-helpers.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import { getCypressEnv } from '../env/cypressEnvironment';

export function loginAsTestAdmissionsClerk() {
cy.login('testAdmissionsClerk');
cy.get('#inbox-tab-content').should('exist');
Expand Down Expand Up @@ -35,8 +37,6 @@ export function loginAsPrivatePractitioner(
cy.login(practitionerUser);
cy.get('[data-testid="file-a-petition"]').should('exist');
cy.get('[data-testid="search-for-a-case-card"]').should('exist');
cy.get('[data-testid="open-cases-count"]').contains('Open Cases');
cy.get('[data-testid="closed-cases-count"]').contains('Closed Cases');
}

export function loginAsIrsPractitioner(
Expand All @@ -59,7 +59,11 @@ export function loginAsIrsPractitioner1() {
}

export function loginAsPetitioner(
petitionerUser: 'petitioner' | 'petitioner1' | 'petitioner7' = 'petitioner1',
petitionerUser:
| 'petitioner'
| 'petitioner1'
| 'petitioner2'
| 'petitioner7' = 'petitioner1',
) {
cy.login(petitionerUser);
cy.get('[data-testid="file-a-petition"]').should('exist');
Expand All @@ -76,7 +80,7 @@ export function loginAsPetitionsClerk() {
}

export function loginAsPetitionsClerk1() {
cy.login('petitionsclerk1');
login({ email: 'petitionsclerk1@example.com' });
cy.get('[data-testid="inbox-tab-content"]').should('exist');
}

Expand Down Expand Up @@ -119,3 +123,25 @@ export function loginAsIrsSuperUser() {
cy.login('irssuperuser');
cy.get('[data-testid="advanced-search-link"]').should('exist');
}

// We created this new login function because our current login function was too generically
// waiting for the account menu button, resulting in visiting a route before the page was fully loaded.
// We need to deprecate usage of cy.login and have all tests login through helper functions so we properly await
function login({ email }: { email: string }) {
cy.clearAllCookies();
cy.visit('/login');
cy.get('[data-testid="email-input"]').type(email);
cy.get('[data-testid="password-input"]').type(
getCypressEnv().defaultAccountPass,
);
cy.get('[data-testid="login-button"]').click();
cy.window().then(win =>
win.localStorage.setItem('__cypressOrderInSameTab', 'true'),
);
cy.intercept('GET', 'https://**/dynamsoft.webtwain.initiate.js', {
body: `window.Dynamsoft = {DWT: {
GetWebTwain() {}
}}`,
statusCode: 200,
});
}
Loading
Loading