Skip to content

6490 prevent duplication petition service#9782

Draft
paulo-filho-ctr wants to merge 15 commits intostagingfrom
6490-prevent-duplication-petition-service
Draft

6490 prevent duplication petition service#9782
paulo-filho-ctr wants to merge 15 commits intostagingfrom
6490-prevent-duplication-petition-service

Conversation

@paulo-filho-ctr
Copy link
Contributor

Test Rail Results

Summary 6490

  • postgres-helpers.ts: defines new async function getDocketEntryIdsByCaseAndEventCode to retrieve the petition docket id
  • petitions-clerk-qcs-and-serves-electronic-case.ts: updates petitionsClerkQcsAndServesElectronicCase with new parameters to ease click/check order/notices
  • petitions-clerk-serves-case-twice.cy.ts: adds integration coverage to prevent petitions from bring served twice
  • EntityConstants.ts: adds new error constant
  • serveCaseToIrsInteractor.test.ts: unit tests coverage for serveCaseToIrsInteractor.ts
  • serveCaseToIrsInteractor.ts: adds new condition that throws an error if a petition is already served; sends error via socket messages notification
  • sendNotificationToUserTypes.ts: defines new socket error type ServeToIrsDuplicateErrorNotification
  • serveToIrsDuplicateErrorSequence.test.ts: unit test coverage for serveToIrsDuplicateErrorSequence.ts
  • serveToIrsDuplicateErrorSequence.ts: a sequence to display modal in case of attempting to serve petition twice
  • presenter.ts: imports serveToIrsDuplicateErrorSequence
  • socketRouter.test.ts: unit test coverage for socketRouter.ts
  • socketRouter.ts: adds new route to display the ServeCaseToIrsDuplicateErrorModal using the serveToIrsDuplicateErrorSequence
  • ReviewSavedPetition.tsx: displays ServeCaseToIrsDuplicateErrorModal when attempting to serve petition twice
  • ServeCaseToIrsDuplicateErrorModal.test.tsx: unit test coverage for ServeCaseToIrsDuplicateErrorModal.tsx
  • ServeCaseToIrsDuplicateErrorModal.tsx: modal to display attempt to serve petition twice
  • cypress.config.ts: imports helper method getDocketEntryIdsByCaseAndEventCode

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants