-
Notifications
You must be signed in to change notification settings - Fork 22
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
Hearings Post Go Live 1.2 v3 #3201
Merged
udaydenduluri33
merged 371 commits into
master
from
feature/Hearings-Post-Go-Live-1.2-v3
Nov 29, 2023
Merged
Changes from 250 commits
Commits
Show all changes
371 commits
Select commit
Hold shift + click to select a range
c7ab533
EUI-7916 Hearing Actuals getting error when participants are not conf…
johnbenjamin-hmcts d76933b
EUI-7916 Hearing Actuals getting error when participants are not conf…
johnbenjamin-hmcts 1c09550
Merge pull request #2833 from hmcts/bug/EUI-7916-Hearing-Actuals-gett…
johnbenjamin-hmcts b4eaecf
EUI-7922 Hearing Actuals unknown error when confirming time and parti…
johnbenjamin-hmcts d63888e
Merge pull request #2834 from hmcts/bug/EUI-7922-Hearing-Actuals-unkn…
johnbenjamin-hmcts 907d856
Hearings Actuals planned to actual transformation
johnbenjamin-hmcts 9bd2d04
EUI-7927 Hearings Actuals planned to actual transformation
johnbenjamin-hmcts 5ecab9a
EUI-7927 Hearings Actuals planned to actual transformation
johnbenjamin-hmcts 73ed24c
EUI-7927 Hearings Actuals planned to actual transformation
johnbenjamin-hmcts 8cf307b
EUI-7927 Hearings Actuals planned to actual transformation
johnbenjamin-hmcts eb7ecb1
EUI-7927 Hearings Actuals planned to actual transformation
johnbenjamin-hmcts c99fe23
EUI-7896 Hearings CIVIL Integration initial request
johnbenjamin-hmcts dbc74fd
Merge branch 'feature/Hearings-Post-Go-Live-1.2' into feature/EUI-789…
johnbenjamin-hmcts e4679fc
Merge branch 'master' into feature/Hearings-Post-Go-Live-1.2
johnbenjamin-hmcts 2bb4b1c
Merge branch 'feature/Hearings-Post-Go-Live-1.2' into feature/EUI-789…
johnbenjamin-hmcts d1c9f22
Merge branch 'feature/Hearings-Post-Go-Live-1.2' into feature/EUI-679…
johnbenjamin-hmcts d68ade4
Merge pull request #2814 from hmcts/feature/EUI-6798-Hearings-tab-dis…
johnbenjamin-hmcts 821c1eb
Merge branch 'master' into feature/Hearings-Post-Go-Live-1.2
johnbenjamin-hmcts 4c81fc2
Merge from master package json file
johnbenjamin-hmcts 2b83400
Update yarn.lock
johnbenjamin-hmcts 96e56bb
Update package.json
johnbenjamin-hmcts 8179c78
Update yarn.lock
johnbenjamin-hmcts 0cd6f41
Update yarn-audit-known-issues
johnbenjamin-hmcts aeabe0b
Merge pull request #2845 from hmcts/feature/EUI-7896-Hearings-CIVIL-I…
johnbenjamin-hmcts 90fae3e
Merge branch 'master' into bug/Hearings-Actuals-planned-to-actual-tra…
johnbenjamin-hmcts 5384789
Merge with master
johnbenjamin-hmcts 4eeff96
Merge from Master
johnbenjamin-hmcts f7e71b8
Sonarcloud fixes
johnbenjamin-hmcts 1a45b08
EUI-7980 Link hearings only allow linking with an active hearing
johnbenjamin-hmcts 68d377b
EUI-7980 Link hearings only allow linking with an active hearing
johnbenjamin-hmcts ca90f22
Merge pull request #2844 from hmcts/bug/Hearings-Actuals-planned-to-a…
johnbenjamin-hmcts 70caf0b
Merge pull request #2863 from hmcts/bug/EUI-7980-Link-hearings-only-a…
johnbenjamin-hmcts 2feddc6
Merge branch 'master' into feature/Hearings-PrL-Fixes
johnbenjamin-hmcts 5f399af
Merge branch 'master' into feature/Hearings-Post-Go-Live-1.2
johnbenjamin-hmcts 2504f61
Merge branch 'feature/Hearings-PrL-Fixes' into feature/Hearings-Post-…
johnbenjamin-hmcts e7da86b
Merge branch 'master' into feature/Hearings-Post-Go-Live-1.2
johnbenjamin-hmcts 38ec8ad
EUI-7939 Hearings Civil integration access management
johnbenjamin-hmcts 88b8a24
EUI-7939 Hearings Civil integration access management
johnbenjamin-hmcts 7e2b48e
Update hearings-view-guard.spec.ts
johnbenjamin-hmcts dbeace8
Merge pull request #2885 from hmcts/feature/EUI-7939-Hearings-Civil-i…
johnbenjamin-hmcts acf8f4f
Merge branch 'master' into feature/Hearings-Post-Go-Live-1.2
johnbenjamin-hmcts d807bb0
Merge branch 'master' into feature/Hearings-Post-Go-Live-1.2
johnbenjamin-hmcts 5cb0b51
EUI-7939
johnbenjamin-hmcts cfea9d0
EUI-7939
johnbenjamin-hmcts cada679
Merge branch 'master' into feature/Hearings-Post-Go-Live-1.2
johnbenjamin-hmcts bda11f4
EUI-7894 Hearings date range validation
johnbenjamin-hmcts 2f579b2
EUI-7936 Hearings AM and PM to be passed through to HMC
johnbenjamin-hmcts ed07e56
EUI-7936 Hearings AM and PM to be passed through to HMC
johnbenjamin-hmcts 91297d6
Merge pull request #2906 from hmcts/bug/EUI-7894-Hearings-date-range-…
johnbenjamin-hmcts 5e90b2d
Merge branch 'feature/Hearings-Post-Go-Live-1.2' into bug/EUI-7936-He…
johnbenjamin-hmcts d1c7df7
Merge pull request #2907 from hmcts/bug/EUI-7936-Hearings-AM-and-PM-t…
johnbenjamin-hmcts e591030
Merge branch 'master' into feature/Hearings-Post-Go-Live-1.2
johnbenjamin-hmcts de6d40e
Merge from master
johnbenjamin-hmcts 96c5eea
Merge from master
johnbenjamin-hmcts c9dec56
EUI-8025 Linked cases continue button not showing error message
johnbenjamin-hmcts c786059
bug/EUI-8026 package update
Kartheek-S 90a2f37
yarn install
Kartheek-S 6a33bd2
Merge branch 'master' into bug/EUI-8026
Kartheek-S a7aebc1
yarn install merge with master
Kartheek-S a9860a1
EUI-8025 Linked cases continue button not showing error message
johnbenjamin-hmcts 242455c
Merge branch 'master' into feature/Hearings-Post-Go-Live-1.2
johnbenjamin-hmcts fa82411
Merge branch 'feature/Hearings-Post-Go-Live-1.2' into bug/EUI-8025-Li…
johnbenjamin-hmcts a6611cc
yarn package update
Kartheek-S a3e9d81
EUI-8025 Linked cases continue button not showing error message
johnbenjamin-hmcts fadcddc
Merge pull request #2911 from hmcts/bug/EUI-8025-Linked-cases-continu…
johnbenjamin-hmcts aa48f06
conflicts fix
Kartheek-S 8db7b96
Merge pull request #2920 from hmcts/bug/EUI-8026
johnbenjamin-hmcts b07567c
unit tests fix
Kartheek-S 80629c4
Merge branch 'master' into feature/Hearings-Post-Go-Live-1.2
johnbenjamin-hmcts 4e583b9
Merge from master
johnbenjamin-hmcts 950e4a6
Merge from master
johnbenjamin-hmcts d583afc
Merge branch 'master' into feature/Hearings-Post-Go-Live-1.2
johnbenjamin-hmcts bd11287
Change all end of line sequence to LF
johnbenjamin-hmcts f5a9fc3
Update case-viewer-container.component.spec.ts
johnbenjamin-hmcts 9a8dd22
Merge branch 'master' into feature/Hearings-Post-Go-Live-1.2
johnbenjamin-hmcts 00cef82
Merge from master
johnbenjamin-hmcts 266bacf
Merge branch 'master' into feature/Hearings-Post-Go-Live-1.2
johnbenjamin-hmcts dcf845b
Sonarcloud fixes
johnbenjamin-hmcts 7791b0f
Sonarcloud fixes
johnbenjamin-hmcts 85c8dc8
Merge branch 'master' into feature/Hearings-Post-Go-Live-1.2
Kartheek-S 94b7c04
Merge branch 'master' into feature/Hearings-Post-Go-Live-1.2
MateiHMCTS d780013
Merge branch 'master' into feature/Hearings-Post-Go-Live-1.2
Kartheek-S 2fe4b29
Update values.yaml
mwaheedanjum 171cf6d
Bumping chart version/ fixing aliases
hmcts-jenkins-j-to-z[bot] 6f66397
Merge branch 'master' into feature/Hearings-Post-Go-Live-1.2
johnbenjamin-hmcts fa078fe
Merge from master
johnbenjamin-hmcts 56fbc3f
Merge from master
johnbenjamin-hmcts 350b4f4
Merge branch 'master' into feature/Hearings-Post-Go-Live-1.2
johnbenjamin-hmcts e70a68c
Merge from master
johnbenjamin-hmcts 7d90206
Update yarn.lock
johnbenjamin-hmcts 8521c96
Merge branch 'master' into feature/Hearings-Post-Go-Live-1.2
bradley-hmcts 253f756
Merge branch 'master' into feature/Hearings-Post-Go-Live-1.2
johnbenjamin-hmcts 50d2a2c
Update yarn-audit-known-issues
johnbenjamin-hmcts 8daa796
Update latest toolkit version
johnbenjamin-hmcts b8778ed
Update ccd-case.config.ts
johnbenjamin-hmcts 970682c
Amending hearing fixed
mwaheedanjum 5ad62fe
Revert "Amending hearing fixed"
mwaheedanjum 325055d
Amending hearing fixed
mwaheedanjum 7e1f3e0
updated hearingWindow with unit tests
mwaheedanjum 94e82d8
Update hearing.test.data.ts
mwaheedanjum 3ea720e
Update hearing-timing.component.ts
mwaheedanjum 85ecfa8
Merge branch 'master' into bug/COT-354_V3
mwaheedanjum a4fc423
Bumping chart version/ fixing aliases
hmcts-jenkins-j-to-z[bot] 6e3aeda
Merge pull request #3124 from hmcts/bug/COT-354_V3
mwaheedanjum f151406
Update yarn-audit-known-issues
johnbenjamin-hmcts c910c80
Merge branch 'master' into feature/Hearings-Post-Go-Live-1.2
johnbenjamin-hmcts 51c02c1
Merge branch 'master' into feature/Hearings-Post-Go-Live-1.2
johnbenjamin-hmcts e354502
Merge branch 'master' into feature/Hearings-Post-Go-Live-1.2
johnbenjamin-hmcts 7e8c37a
Merge branch 'master' into feature/Hearings-Post-Go-Live-1.2
johnbenjamin-hmcts 2350f69
Merge branch 'master' into feature/Hearings-Post-Go-Live-1.2
johnbenjamin-hmcts e487629
Merge branch 'master' into feature/Hearings-Post-Go-Live-1.2
johnbenjamin-hmcts 5a1c9d5
Update yarn-audit-known-issues
johnbenjamin-hmcts 05f0265
Merge branch 'master' into feature/Hearings-Post-Go-Live-1.2
johnbenjamin-hmcts e47954a
Update yarn-audit-known-issues
johnbenjamin-hmcts 9521458
Merge branch 'master' into feature/Hearings-Post-Go-Live-1.2
johnbenjamin-hmcts 1f5a119
Bumping chart version/ fixing aliases
hmcts-jenkins-j-to-z[bot] 19f4c86
Update package.json
johnbenjamin-hmcts 1b2869a
Merge branch 'feature/Hearings-Post-Go-Live-1.2' into feature/Hearing…
johnbenjamin-hmcts f2cf0f2
test feature file format
sreekanthpuligadda be62051
Merge branch 'master' into feature/Hearings-Post-Go-Live-1.2-v3
johnbenjamin-hmcts 7501051
Merge branch 'master' into feature/Hearings-Post-Go-Live-1.2-v3
johnbenjamin-hmcts 3bd6670
Merge branch 'master' into feature/Hearings-Post-Go-Live-1.2-v3
johnbenjamin-hmcts 2f95f16
EUI-8736 JRD e-Links API V2
johnbenjamin-hmcts 4350287
Merge branch 'master' into feature/Hearings-Post-Go-Live-1.2-v3
johnbenjamin-hmcts df9266f
Update hearing-actuals-view-edit-parties.component.ts
mwaheedanjum 90bd9eb
Merge pull request #3231 from hmcts/bug/COT-461-v2
mwaheedanjum 3c82abb
Merge branch 'master' into feature/Hearings-Post-Go-Live-1.2-v3
sanjayparekh-hmcts 412b44d
Merge branch 'master' into feature/EUI-8736-JRD-e-Links-API-V2
johnbenjamin-hmcts 484cb19
EUI-8736 JRD e-Links API V2
johnbenjamin-hmcts fb6029b
Revert "EUI-8736 JRD e-Links API V2"
johnbenjamin-hmcts 8c36afe
EUI-8736 JRD e-Links API V2
johnbenjamin-hmcts efbc9a3
EUI-8779 Merge unmerged RA code
johnbenjamin-hmcts 0491e96
Revert "EUI-8779 Merge unmerged RA code"
johnbenjamin-hmcts da9b804
Merge branch 'master' into feature/EUI-8736-JRD-e-Links-API-V2
johnbenjamin-hmcts 5cfc350
feature/EUI-8736-JRD-e-Links-API-V2: Setting Preview Deployment ID
johnbenjamin-hmcts 502d771
EUI-8736 JRD e-Links API V2
johnbenjamin-hmcts 34935bd
Merge branch 'feature/EUI-8736-JRD-e-Links-API-V2' of https://github.…
johnbenjamin-hmcts 1c22941
feature/EUI-8736-JRD-e-Links-API-V2: Setting Preview Deployment ID
johnbenjamin-hmcts 6713406
Merge from master
johnbenjamin-hmcts 5b91917
feature/EUI-8736-JRD-e-Links-API-V2: Setting Preview Deployment ID
johnbenjamin-hmcts d7fdabe
EUI-8736 JRD e-Links API V2
johnbenjamin-hmcts f28a652
Bumping chart version/ fixing aliases
hmcts-jenkins-j-to-z[bot] 649e232
Merge branch 'master' into feature/Hearings-Post-Go-Live-1.2-v3
andywilkinshmcts 675ded8
feature/Hearings-Post-Go-Live-1.2-v3: Setting Preview Deployment ID
andywilkinshmcts 3e952a6
Merge branch 'master' into feature/Hearings-Post-Go-Live-1.2-v3
danlysiak 2d18726
New suppressions
danlysiak eb7fde8
EUI-8736 JRD e-Links API V2
johnbenjamin-hmcts aa48ce1
Merge branch 'master' into feature/EUI-8736-JRD-e-Links-API-V2
johnbenjamin-hmcts 9ee9775
feature/EUI-8736-JRD-e-Links-API-V2: Setting Preview Deployment ID
johnbenjamin-hmcts 0263e90
EUI-8736 JRD e-Links API V2
johnbenjamin-hmcts 60c7d2f
Update yarn-audit-known-issues
johnbenjamin-hmcts 3516d0f
Merge branch 'master' into feature/Hearings-Post-Go-Live-1.2-v3
danlysiak 9bf14a0
Suppressions
danlysiak 88ddd06
Merge branch 'master' into feature/Hearings-Post-Go-Live-1.2-v3
johnbenjamin-hmcts a8ef900
feature/Hearings-Post-Go-Live-1.2-v3: Setting Preview Deployment ID
johnbenjamin-hmcts fa3aae6
Merge branch 'master' into feature/EUI-8736-JRD-e-Links-API-V2
johnbenjamin-hmcts 847bbf5
Update serviceCourtType.mapping.ts
mwaheedanjum 89f1e88
Merge branch 'master' into feature/Hearings-Post-Go-Live-1.2-v3
johnbenjamin-hmcts 9879173
Handling code review comments
johnbenjamin-hmcts e635a32
Revert "Handling code review comments"
johnbenjamin-hmcts e3c7377
Handling code review comments
johnbenjamin-hmcts 498982f
Update index.spec.ts
mwaheedanjum 01b5483
Merge branch 'feature/Hearings-Post-Go-Live-1.2-v3' into bug/COT-442
mwaheedanjum f14fdf8
lint fixed
mwaheedanjum 0a0fcf4
Update yarn-audit-known-issues
mwaheedanjum e43013d
Merge branch 'master' into feature/Hearings-Post-Go-Live-1.2-v3
johnbenjamin-hmcts 48b34a9
Update yarn-audit-known-issues
johnbenjamin-hmcts fcea72b
Merge branch 'feature/Hearings-Post-Go-Live-1.2-v3' into bug/COT-442
mwaheedanjum 6b6501f
Merge pull request #3261 from hmcts/bug/COT-442
mwaheedanjum dbdde84
Merge branch 'master' into feature/Hearings-Post-Go-Live-1.2-v3
johnbenjamin-hmcts 58be0fb
Merge branch 'master' into feature/EUI-8736-JRD-e-Links-API-V2
johnbenjamin-hmcts 20f309c
Fix functional tests
andywilkinshmcts fc40be0
Merge branch 'feature/Hearings-Post-Go-Live-1.2-v3' of github.com:hmc…
andywilkinshmcts f2c103c
Fix lint issues
andywilkinshmcts 7f72792
temporarily disable this test to allow build to complete
andywilkinshmcts cc7ea9d
Empty-Commit
adityadwadasi cbfa321
Merge branch 'master' into feature/Hearings-Post-Go-Live-1.2-v3
johnbenjamin-hmcts ccb3ccb
Create renovate.json
johnbenjamin-hmcts 17a7e32
Resolve Merge conflicts
johnbenjamin-hmcts dd83dd3
Update hearings.service.spec.ts
johnbenjamin-hmcts e58c826
Merge branch 'master' into feature/Hearings-Post-Go-Live-1.2-v3
adityadwadasi 0fe5323
Merge branch 'master' into feature/EUI-8736-JRD-e-Links-API-V2
johnbenjamin-hmcts 6cd89bc
revert 7f72792db
andywilkinshmcts 5c27995
Revert "Fix lint issues"
andywilkinshmcts 59c2faf
revert 20f309c
andywilkinshmcts dc5aef7
Merge branch 'master' into feature/EUI-8736-JRD-e-Links-API-V2
johnbenjamin-hmcts 535fbe2
Update yarn-audit-known-issues
johnbenjamin-hmcts 5677863
EUI-8736 JRD e-Links API V2
johnbenjamin-hmcts 217f7cc
EUI-8736 JRD e-Links API V2
johnbenjamin-hmcts 2313529
Merge branch 'master' into feature/EUI-8736-JRD-e-Links-API-V2
johnbenjamin-hmcts 3bb89ec
Merge branch 'master' into feature/EUI-8736-JRD-e-Links-API-V2
johnbenjamin-hmcts 0757a71
Bumping chart version/ fixing aliases
hmcts-jenkins-j-to-z[bot] ce72a04
Merge branch 'master' into feature/Hearings-Post-Go-Live-1.2-v3
johnbenjamin-hmcts ce93a37
Bumping chart version/ fixing aliases
hmcts-jenkins-j-to-z[bot] fe42415
Merge branch 'feature/EUI-8736-JRD-e-Links-API-V2' into feature/Heari…
johnbenjamin-hmcts 79625bb
Update yarn-audit-known-issues
johnbenjamin-hmcts c059598
Merge branch 'master' into feature/Hearings-Post-Go-Live-1.2-v3
andywilkinshmcts 73a1a8b
Empty-Commit
adityadwadasi 763ca99
Merge branch 'master' into feature/Hearings-Post-Go-Live-1.2-v3
adityadwadasi 0ee5502
Bumping chart version/ fixing aliases
hmcts-jenkins-j-to-z[bot] 88bd91b
Ignoring the vulnarabilities.
adityadwadasi d7f2028
Merge branch 'master' into feature/Hearings-Post-Go-Live-1.2-v3
RiteshHMCTS 2d93ab9
Merge branch 'master' into feature/Hearings-Post-Go-Live-1.2-v3
johnbenjamin-hmcts 2abeffe
Bumping chart version/ fixing aliases
hmcts-jenkins-j-to-z[bot] c078d7b
Update yarn-audit-known-issues
johnbenjamin-hmcts 14db6f2
Feature/EUI 8901 (#3325)
DavidJayakumar 0306230
Revert "Feature/EUI 8901 (#3325)"
johnbenjamin-hmcts afd6a4e
Merge branch 'master' into feature/Hearings-Post-Go-Live-1.2-v3
johnbenjamin-hmcts 54ba201
Update yarn-audit-known-issues
johnbenjamin-hmcts 93418b0
Merge branch 'master' into feature/Hearings-Post-Go-Live-1.2-v3
johnbenjamin-hmcts 933d814
Fix for big cot-539 - default specific hearing date to 'No' rather th…
richardhenryash e307929
Merge fixes for COT-515 into civil branch (#3314)
andywilkinshmcts 6153a34
Fix coverage ouput (#3359)
andywilkinshmcts fba9a43
Hearings increase coverage (#3360)
andywilkinshmcts 86b41f8
Merge branch 'master' into feature/Hearings-Post-Go-Live-1.2-v3
andywilkinshmcts 27084de
Merge branch 'master' into feature/Hearings-Post-Go-Live-1.2-v3
udaydenduluri33 bdebb78
hearings tab basic tests updated
sreekanthpuligadda 8686a26
more tests for hearings tab
sreekanthpuligadda 21082d6
make mc-hearings-jurisdiction work with both old and new format of th…
andywilkinshmcts 384ca57
Fix lint errors
andywilkinshmcts d9e6c5c
lint issues
andywilkinshmcts 9985b67
Merge branch 'feature/Hearings-Post-Go-Live-1.2-v3' into mc-hearings-…
andywilkinshmcts f663117
Merge branch 'mc-hearings-jurisdiction-compatibility' of github.com:h…
andywilkinshmcts cf94e54
suppress vuln
andywilkinshmcts 5ee4918
Fix minor warning
andywilkinshmcts f6e9826
hearings actual tests added
sreekanthpuligadda f32a97f
CVE update
sreekanthpuligadda b2d7581
hearings test updates
sreekanthpuligadda 330b8a4
test update with retry
sreekanthpuligadda 9043e17
Merge branch 'master' into feature/Hearings-Post-Go-Live-1.2-v3
johnbenjamin-hmcts f4165af
Update yarn-audit-known-issues
johnbenjamin-hmcts 5e6fb76
Merge branch 'feature/Hearings-Post-Go-Live-1.2-v3' into mc-hearings-…
johnbenjamin-hmcts d77c35e
Merge pull request #3367 from hmcts/mc-hearings-jurisdiction-compatib…
johnbenjamin-hmcts 073040e
Update hearings.routes.ts
johnbenjamin-hmcts 84029bc
Update yarn-audit-known-issues
johnbenjamin-hmcts fe574e2
Bug/cot 540 v2 based on hearings branch (#3373)
richardhenryash e9b13ec
cot-599: Reasonable Adjustments incorrectly showing as amended (#3379)
richardhenryash 2b6c342
Merge pull request #3378 from hmcts/bug/EUI-8994-Hearing-actuals-hear…
johnbenjamin-hmcts 16e6353
Update yarn-audit-known-issues
johnbenjamin-hmcts 7e5fb28
hearing actuals CYA page field validations added
sreekanthpuligadda 656820b
EUI-9005 Hearings tab visibility based on roles
johnbenjamin-hmcts 38c9074
test update inline with feature fix
sreekanthpuligadda 71f472e
Merge pull request #3381 from hmcts/feature/EUI-9005-Hearings-tab-vis…
johnbenjamin-hmcts 0873d27
FEATURE_JRD_E_LINKS_V2_ENABLED enabled to true
d6af9de
yarn audit
5c839a4
Tests/replace luke user in functional tests (#3385)
sreekanthpuligadda 8d38df2
CVE audit update
sreekanthpuligadda 98d575f
Bug/cot 580 (#3383)
richardhenryash 3c9772f
Revert "Bug/cot 580 (#3383)"
johnbenjamin-hmcts 654a407
Merge pull request #3386 from hmcts/revert-3383-bug/cot-580
johnbenjamin-hmcts File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,27 @@ | ||
export const SERVICES_COURT_TYPE_MAPPINGS = { | ||
PROBATE: ['18'], // 18: Probate | ||
EMPLOYMENT: ['17'], // 17: Employment Tribunal | ||
IA: ['4', '23'], // 4: Asylum Support Appeals 23: Immigration and Asylum Tribunal | ||
SSCS: ['31'], // 31: Social Security and Child Support Tribunal | ||
CIVIL: ['10'], | ||
PRIVATELAW: ['18'], | ||
PUBLICLAW: ['18'] | ||
PUBLICLAW: ['18'], | ||
BHA1: ['17'], // Employment Claims | ||
BFA1: ['4', '23'], // 4: Asylum Support Appeals, 23: Immigration and Asylum Tribunal | ||
BBA1: ['4'], // Asylum Support | ||
BBA2: ['14'], // Criminal Injuries Compensation | ||
BBA3: ['31'], // Social Security and Child Support Tribunal | ||
ABA1: ['18'], // Divorce, | ||
ABA2: ['18'], // Financial Remedy | ||
ABA3: ['18'], // Public Law, | ||
ABA4: ['18'], // Adoption | ||
ABA5: ['18'], // Private Law | ||
ABA6: ['18'], // Probate | ||
AAA1: ['10'], // Civil | ||
AAA2: ['10'], // Civil | ||
AAA3: ['10'], // Civil | ||
AAA4: ['10'], // Civil | ||
AAA5: ['10'], // Civil | ||
AAA6: ['10'], // Civil | ||
AAA7: ['10'] // Civil | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,14 +26,15 @@ import { LovRefDataModel } from '../../../hearings/models/lovRefData.model'; | |
import { LovRefDataService } from '../../../hearings/services/lov-ref-data.service'; | ||
import * as fromHearingStore from '../../../hearings/store'; | ||
import { CaseHearingsComponent } from './case-hearings.component'; | ||
import { SessionStorageService } from '../../../app/services'; | ||
|
||
describe('CaseHearingsComponent', () => { | ||
let component: CaseHearingsComponent; | ||
let fixture: ComponentFixture<CaseHearingsComponent>; | ||
let mockStore: Store<fromHearingStore.State>; | ||
let spyStore: any; | ||
let mockRoleCategoryMappingService: RoleCategoryMappingService; | ||
let mockLovRefDataService: any; | ||
let mockSessionStore: jasmine.SpyObj<SessionStorageService>; | ||
|
||
const HEARING_DAY_SCHEDULE_1: HearingDayScheduleModel = { | ||
hearingStartDateTime: '', | ||
|
@@ -399,9 +400,10 @@ describe('CaseHearingsComponent', () => { | |
}; | ||
|
||
beforeEach(() => { | ||
mockRoleCategoryMappingService = jasmine.createSpyObj('RoleCategoryMappingService', ['getUserRoleCategory']); | ||
mockLovRefDataService = jasmine.createSpyObj('LovRefDataService', ['getListOfValues']); | ||
mockLovRefDataService.getListOfValues.and.returnValue(of(HEARING_TYPES_REF_DATA)); | ||
mockSessionStore = jasmine.createSpyObj<SessionStorageService>('sessionStorageService', ['getItem']); | ||
|
||
TestBed.configureTestingModule({ | ||
declarations: [CaseHearingsComponent], | ||
imports: [ | ||
|
@@ -426,21 +428,20 @@ describe('CaseHearingsComponent', () => { | |
provide: Router, | ||
useValue: mockRouter | ||
}, | ||
{ | ||
provide: RoleCategoryMappingService, | ||
useValue: mockRoleCategoryMappingService | ||
}, | ||
{ | ||
provide: LovRefDataService, | ||
useValue: mockLovRefDataService | ||
}, | ||
{ | ||
provide: SessionStorageService, | ||
useValue: mockSessionStore | ||
} | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @johnbenjamin-hmcts - really minor one, extra whitespace here...? |
||
] | ||
}).compileComponents(); | ||
fixture = TestBed.createComponent(CaseHearingsComponent); | ||
mockStore = TestBed.inject(Store); | ||
component = fixture.componentInstance; | ||
// @ts-ignore | ||
mockRoleCategoryMappingService.getUserRoleCategory.and.returnValue(of(UserRole.Judicial)); | ||
spyStore = jasmine.createSpyObj('Store', ['pipe', 'dispatch']); | ||
fixture.detectChanges(); | ||
}); | ||
|
@@ -457,22 +458,19 @@ describe('CaseHearingsComponent', () => { | |
|
||
it('should unsubscribe', () => { | ||
component.lastErrorSubscription = new Observable().subscribe(); | ||
component.roleCatSubscription = new Observable().subscribe(); | ||
component.hearingValuesSubscription = new Observable().subscribe(); | ||
component.refDataSubscription = new Observable().subscribe(); | ||
spyOn(component.lastErrorSubscription, 'unsubscribe').and.callThrough(); | ||
spyOn(component.roleCatSubscription, 'unsubscribe').and.callThrough(); | ||
spyOn(component.hearingValuesSubscription, 'unsubscribe').and.callThrough(); | ||
spyOn(component.refDataSubscription, 'unsubscribe').and.callThrough(); | ||
|
||
component.ngOnDestroy(); | ||
expect(component.lastErrorSubscription.unsubscribe).toHaveBeenCalled(); | ||
expect(component.roleCatSubscription.unsubscribe).toHaveBeenCalled(); | ||
expect(component.hearingValuesSubscription.unsubscribe).toHaveBeenCalled(); | ||
expect(component.refDataSubscription.unsubscribe).toHaveBeenCalled(); | ||
}); | ||
|
||
it('should set hearings actions', () => { | ||
it('should set hearings manager actions', () => { | ||
const USER_DETAILS = { | ||
sessionTimeout: { | ||
idleModalDisplayTime: 12, | ||
|
@@ -485,21 +483,18 @@ describe('CaseHearingsComponent', () => { | |
surname: 'test', | ||
email: 'test@test.com', | ||
active: 'true', | ||
roles: ['caseworker-sscs'] | ||
roles: ['hearing-manager'] | ||
} | ||
}; | ||
|
||
spyStore.pipe.and.returnValue(of(USER_DETAILS)); | ||
// @ts-ignore | ||
mockRoleCategoryMappingService.getUserRoleCategory.and.returnValue(of(UserRole.LegalOps)); | ||
mockSessionStore.getItem.and.returnValue(JSON.stringify(USER_DETAILS.userInfo)); | ||
component.ngOnInit(); | ||
fixture.detectChanges(); | ||
expect(component.hearingsActions.length).toBe(4); | ||
expect(component.hearingsActions.includes(Actions.CREATE)).toBeTruthy(); | ||
expect(component.hasRequestAction).toBeTruthy(); | ||
}); | ||
|
||
it('should set hearings actions on OGD/DWP user', () => { | ||
it('should provide read-only access to hearings-viewer users', () => { | ||
const USER_DETAILS = { | ||
sessionTimeout: { | ||
idleModalDisplayTime: 12, | ||
|
@@ -512,27 +507,75 @@ describe('CaseHearingsComponent', () => { | |
surname: 'test', | ||
email: 'test@test.com', | ||
active: 'true', | ||
roles: ['caseworker-sscs'] | ||
roles: ['hearing-viewer'] | ||
} | ||
}; | ||
mockSessionStore.getItem.and.returnValue(JSON.stringify(USER_DETAILS.userInfo)); | ||
component.ngOnInit(); | ||
fixture.detectChanges(); | ||
expect(component.hearingsActions.length).toBe(1); | ||
expect(component.hearingsActions.includes(Actions.READ)).toBeTruthy(); | ||
expect(component.hasRequestAction).toBeFalsy(); | ||
}); | ||
|
||
spyStore.pipe.and.returnValue(of(USER_DETAILS)); | ||
// @ts-ignore | ||
mockRoleCategoryMappingService.getUserRoleCategory.and.returnValue(of(UserRole.Ogd)); | ||
it('should set hearings actions on OGD/DWP user', () => { | ||
const USER_DETAILS = { | ||
sessionTimeout: { | ||
idleModalDisplayTime: 12, | ||
totalIdleTime: 10 | ||
}, | ||
canShareCases: true, | ||
userInfo: { | ||
id: '123', | ||
forename: 'test', | ||
surname: 'test', | ||
email: 'test@test.com', | ||
active: 'true', | ||
roles: ['listed-hearing-viewer'] | ||
} | ||
}; | ||
mockSessionStore.getItem.and.returnValue(JSON.stringify(USER_DETAILS.userInfo)); | ||
component.ngOnInit(); | ||
fixture.detectChanges(); | ||
expect(component.hearingsActions.length).toBe(1); | ||
expect(component.hearingsActions.includes(Actions.READ)).toBeTruthy(); | ||
expect(component.hasRequestAction).toBeFalsy(); | ||
expect(component.isOgdRole).toBeTruthy(); | ||
}); | ||
|
||
it('should getHearsList by EXUISectionStatus', (done) => { | ||
it('should handle all hearings permissions', () => { | ||
const USER_DETAILS = { | ||
sessionTimeout: { | ||
idleModalDisplayTime: 12, | ||
totalIdleTime: 10 | ||
}, | ||
canShareCases: true, | ||
userInfo: { | ||
id: '123', | ||
forename: 'test', | ||
surname: 'test', | ||
email: 'test@test.com', | ||
active: 'true', | ||
roles: ['listed-hearing-viewer', 'hearing-manager', 'hearing-viewer'] | ||
} | ||
}; | ||
mockSessionStore.getItem.and.returnValue(JSON.stringify(USER_DETAILS.userInfo)); | ||
component.ngOnInit(); | ||
fixture.detectChanges(); | ||
expect(component.hearingsActions.length).toBe(4); | ||
expect(component.hearingsActions.includes(Actions.CREATE)).toBeTruthy(); | ||
expect(component.hasRequestAction).toBeTruthy(); | ||
}); | ||
|
||
it('should getHearingsList by EXUISectionStatus', (done) => { | ||
const hearingList = component.getHearingListByStatus(EXUISectionStatusEnum.UPCOMING); | ||
hearingList.subscribe((hearing) => { | ||
expect(hearing.length).toBe(7); | ||
done(); | ||
}); | ||
}); | ||
|
||
it('should getHearsList by EXUIDisplayStatus', (done) => { | ||
it('should getHearingsList by EXUIDisplayStatus', (done) => { | ||
const hearingList = component.getHearingListByStatus(EXUIDisplayStatusEnum.LISTED); | ||
hearingList.subscribe((hearing) => { | ||
expect(hearing.length).toBe(1); | ||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@johnbenjamin-hmcts - please check ordering of imports