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

MCR-3903: Rate name does not include submission id #2444

Merged
merged 10 commits into from
May 21, 2024

Conversation

JasonLin0991
Copy link
Contributor

@JasonLin0991 JasonLin0991 commented May 14, 2024

Summary

MCR-3903

  • A new format for the rate names MCR-[state]-[not a programs || programs]-[start date]-[end date]-[rate type]-[certification date] for example MCR-VA-PROGRAM1-PROGRAM2-20240501-20250501-CERTIFICATION-20240706.

Related issues

Screenshots

The top rate is with the new rate name format. The bottom, an old rate, is a linked rate with the old rate name format retained.

Test cases covered

generateRateCertificationName.test.ts

  • 'Amendment rate test'
  • 'New rate test'
  • 'New rate with no dates'
  • 'Amendment rate with no dates'
  • 'New rate with incomplete dates'
  • 'Incomplete amendment rate dates'
  • 'Rate type not specified'
  • 'No rate programs'

QA guidance

  • Log in as Toph
  • View this submission
  • There will be one rate that is new and has the new name format.
  • There will be one linked rate that is an old rate with the old format.

@JasonLin0991 JasonLin0991 changed the title MCR-3903: Rate name does not include submission id DRAFT MCR-3903: Rate name does not include submission id May 14, 2024
} = rateFormData
const pNames = programNames(statePrograms, rateProgramIDs)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pearl-truss Quick question about this. I assume that rateFormData. rateProgramIDs would contain either not a program or program and never both. Is that correct?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JasonLin0991 I'm sorry I'm just seeing this. I believe it should include both because some states will have a mixture

@JasonLin0991 JasonLin0991 changed the title DRAFT MCR-3903: Rate name does not include submission id MCR-3903: Rate name does not include submission id May 20, 2024
@JasonLin0991 JasonLin0991 marked this pull request as ready for review May 20, 2024 15:02
Copy link
Contributor

@pearl-truss pearl-truss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@JasonLin0991 JasonLin0991 merged commit 5bc9688 into main May 21, 2024
28 checks passed
@JasonLin0991 JasonLin0991 deleted the mcr-3903-rate-name-does-not-inlcude-submission-id branch May 21, 2024 01:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants