-
Notifications
You must be signed in to change notification settings - Fork 3
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
MR-3545, MR-2370: Fix change history, add cypress tests, and turn on remaining API Unit tests #1959
Merged
JasonLin0991
merged 99 commits into
main
from
jl-fix-change-history-and-add-cypress-tests
Oct 9, 2023
Merged
Changes from 21 commits
Commits
Show all changes
99 commits
Select commit
Hold shift + click to select a range
18b53ba
populating
rswerve 4907a99
merge main
rswerve 725a917
keep incoming
rswerve ea2f4fc
Merge branch 'main' into ma_3211_migrator
mojotalantikite 5303350
remove default name. not sure why it's here?
mojotalantikite de6de60
Merge branch 'main' into ma_3211_migrator
mojotalantikite ab026b8
use the right deploy script
mojotalantikite 6d3028c
move the migration into a func
mojotalantikite d88712d
return errors in prepopulate updateinfo
mojotalantikite 0f71154
use error returns on insertContractId
mojotalantikite 1f11890
return the error. no throws here for try/catch
mojotalantikite ffc7a90
clean up error messaging
mojotalantikite 4c7b89d
move contract ops to migrateContract()
mojotalantikite 1d72a83
don't forget the associations error handling
mojotalantikite e023d62
the migrate results type
mojotalantikite 8350b15
more tests
mojotalantikite 96130ce
Merge branch 'main' into ma_3211_migrator
mojotalantikite afb184a
make it a helper func
mojotalantikite 736fc35
rate revision test
mojotalantikite 9020604
check that we can get the migrated revision back
mojotalantikite 1774f24
Merge branch 'main' into ma_3211_migrator
mojotalantikite aa9cbfc
record the exception no need to return a packageId
mojotalantikite 69d5fda
fix test
mojotalantikite e7025af
more logging
mojotalantikite 401c4a9
clearAllMocks
mojotalantikite a11a7ae
doesnt' test anything now
mojotalantikite 349858e
some debug
mojotalantikite cc174ee
keep track of migrations that did not complete
mojotalantikite d31e1d0
crashing on the user find
mojotalantikite a8be47c
log out some stats
mojotalantikite a6b9f80
need to continue
mojotalantikite e3ff72e
Merge branch 'main' into ma_3211_migrator
mojotalantikite 8b5a9c1
just use the client we already get
mojotalantikite 6d833e9
remove some debug
mojotalantikite 85990d1
all the contract ammendment info
mojotalantikite fb80fb3
get unlockInfoID
mojotalantikite 1ec5388
rate revision as well
mojotalantikite b477396
Merge branch 'main' into ma_3211_migrator
mojotalantikite 7ebbb6a
testing file
mojotalantikite 1a8b0a6
fix up test some more
mojotalantikite dca252a
Adding test fixes and fixes from test
mojotalantikite b649404
Merge branch 'main' into ma_3211_migrator
mojotalantikite 49b7d1d
Merge branch 'main' into ma_3211_migrator
mojotalantikite 77e8531
fixes in migrate. add DB reset at init.
mojotalantikite d1d4b90
Merge branch 'main' into ma_3211_migrator
mojotalantikite d9d0a44
use the prisma types in the test
mojotalantikite f580d0c
Merge branch 'main' into ma_3211_migrator
mojotalantikite 774a4d6
finish adding contract docs
mojotalantikite 37e5204
adds the rate docs
mojotalantikite 0791c55
add another fake doc
mojotalantikite 7ef0a81
contract/rate doc migration moved.
mojotalantikite 28b7b8a
move join table work to the create phase
mojotalantikite 1c90834
cleanup all the things
mojotalantikite ef70254
format on save?
mojotalantikite f2f6356
enable remaining jest tests
macrael 59ebaff
fix up compare
mojotalantikite 336995c
Enable `rates-db-refactor` and `supporting-docs-by-rate` flag for cyp…
JasonLin0991 1906272
Skip Q&A tests, resolver not modified for refactor yet.
JasonLin0991 9ca10f5
logging data objects out for compare
mojotalantikite ebbbc38
Merge branch 'main' into jl-fix-change-history-and-add-cypress-tests
JasonLin0991 63b4a34
refactor comparison
mojotalantikite 6e1bb38
more cleaning on test
mojotalantikite 2b42b2f
fix the map to flatmap
mojotalantikite 9b017c3
fix up which we compare with
mojotalantikite fc40e78
error check
mojotalantikite 7021d1f
Add extra test for change history order and count.
JasonLin0991 6e0ee29
Remove rate history from contract history.
JasonLin0991 067f06a
Add a check for which query to wait for.
JasonLin0991 e2b1daa
Merge branch 'main' into jl-fix-change-history-and-add-cypress-tests
JasonLin0991 ce92615
Merge branch 'wml-enable-all-tests' into jl-fix-change-history-and-ad…
JasonLin0991 381fa0a
Apply suggestions from code review
macrael b7c7430
some fixes to the migrator
macrael 6dcab69
Merge branch 'main' into ma_3211_migrator
macrael 7e6b7ad
fix ordering of contract revisions
macrael e35cfda
update yarn.lock
macrael cc51976
Merge branch 'main' into wml-enable-all-tests
JasonLin0991 07b1595
Merge branch 'wml-enable-all-tests' into jl-fix-change-history-and-ad…
JasonLin0991 20b8e3a
Fix contractWithHistoryToDomainModel.
JasonLin0991 45abb45
debug helper.
JasonLin0991 95459cf
Update tests
JasonLin0991 7350888
Longer timeout looking for unlock button.
JasonLin0991 3d48821
Update services/app-api/src/resolvers/healthPlanPackage/indexHealthPl…
JasonLin0991 c8efccf
Update services/app-api/src/resolvers/healthPlanPackage/indexHealthPl…
JasonLin0991 e349bb1
Merge branch 'wml-enable-all-tests' into jl-fix-change-history-and-ad…
JasonLin0991 ce3b015
cypress re-run
JasonLin0991 93eeba4
add position to actuary contacts
mojotalantikite 208a93a
Increase timeouts for more docs.
JasonLin0991 5238cb7
tests are suspiciously fixed
macrael ba8607e
Skip tests for rate history.
JasonLin0991 ce7ec5a
test and fix how update contract with rates reads rateInfo.id
macrael 1ee6138
Merge branch 'wml-fix-update-cr' into jl-fix-change-history-and-add-c…
macrael f96a974
Merge branch 'main' into jl-fix-change-history-and-add-cypress-tests
macrael 793359b
update migrators handling of submittedAt and unlocked rates
macrael 2844a56
pass tx into findContractWithHistory. variable name changes for clarity.
JasonLin0991 a678fc1
Change setting id from revision id to rate id.
JasonLin0991 01ba2e9
Fix tests for rate formData.id change.
JasonLin0991 e1e1080
connect related contract
macrael 0b59b7b
fix tests proactively
macrael 8448ac3
Merge branch 'wml-fixup-unlock-locked-migrate' into jl-fix-change-his…
macrael 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
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
Oops, something went wrong.
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.
I'm very hesitant to lose the specific values in this test. This test was written to check that we get the expected number of revisions everywhere. I'd rather mark this test as skip or something than adapt it to work with the interim solution.
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.
Agree! Let's mark as skip.