-
Notifications
You must be signed in to change notification settings - Fork 1
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
feat: [#188079116] Show the License Status Check in Renewal Events #8551
base: main
Are you sure you want to change the base?
Conversation
cefad8b
to
8ce2f88
Compare
urlSlug: health-care-services-firm-renewal | ||
renewalEventDisplayName: Health Care Service Firm Renewal Deadline | ||
expirationEventDisplayName: Health Care Service Firm Expiration | ||
filename: health-care-services-firm-renewal |
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.
Boulder: the goal of this ticket is to add the license status component to the [licenseUrlSlug]
page. This page renders the content living within content/src/licenses
. The user is able to access the calendar license page by clicking the renewal/expiration link on the filings calendar. Alot of the existing functionality you added can be removed because it's already existing (i.e. mgmt/search, loading files, etc)
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.
One approach is to add the existing component to the [licenseUrlSlug] page and create tests to validate the data renders. All the other logic is not necessary because it's working. You may want to refactor the content/src/licenses to something like content/src/licenseCalendarEvents so it's more clear.
Appreciate the effort on this ahead of your trip. I think in working quickly we might have missed some of the overall goals of the ticket. |
); | ||
|
||
expect(applicationCheckListItems).toBeInTheDocument(); | ||
fireEvent.click(applicationCheckListItems); |
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.
[sand] Hey just a heads up, we should probably be using userEvent
here since it more realistically simulates user interactions per the documentation. I believe fireEvent
is recommended to be used as a last resort when an event is not covered by userEvent
.
Description
User Story
As a Business.NJ.gov user, that has validated my license, I want to also see my status for my renewal calendar events
AC
Given my license status has been checked
when viewing my calendar renewal event
then the new design with my license status and renewal instructions are rendered on the page
Dev Note: At the very top on the page, there should be a field that contains the following default text, it can be overridden by content - "You can renew your license 60 days before it expires and up to 30 days after expiration. If you fail to renew your license at this point, your license will be suspended and you won't be able to provide your licensed services."
Also, pull in Jaime, we need to clean up the CMS Preview. - Done
Ticket
This pull request resolves #188079116.
Approach
Steps to Test
Notes
Code author checklist
userData
(includingprofileData
,formationData
etc), then I added a new migration filecmsCollections.ts
(see CMS Additions in Engineering Reference/FAQ on the engineering documentation site).env
values in both.env-template
and in Bitwarden