bcgov/entity

[Issue Certificate] - Email Certificate to Applicant after Auto, Provisional, Full Review Approval Registration has been created

Opened this issue ยท 0 comments

๐Ÿ“– User Story

As an Host Applicant who has submitted an application,
I want to receive an email notification with all relevant details when my application is approved,
so that I am informed of my approval and have all the necessary information at my fingertips.

Context:

Email is sent after the application has been flagged with any of the following application statuses

image.png

๐ŸŽจ UX/UI Link:

๐Ÿ“ Business Rules

  • Email Trigger: The email must be triggered immediately after the registration certificate has been created
  • Data Accuracy: The email must include accurate details as stored in the application database (Application Number, Property Nickname, Property Address, Applicant's Name, Registration Number, Date Issued, Expiration Date, Type of Offering, Registrant Name, Property Host Name).
  • PDF Attachment: The Registration PDF must be generated and attached to the email correctly, with no errors or omissions.
  • Delivery Confirmation: The system should log the successful sending of the email, and handle any failures according to the error handling process.
  • need a blurb on who to contact for changes to the registration

๐ŸŽญ Story Scenarios

Scenario 1: Approval Email NotificationGiven an applicant submits an application,

When the system updates the status to Automatic Approval, Provisional Approval, or Full Review Approval,
Then an email notification is sent to the applicant,
And the email includes the Application Number, Property Nickname, Property Address, Applicant's Name, Registration Number, Date Issued, Expiration Date, Type of Offering, Registrant Name, Property Host Name, and the Registration PDF as an attachment.

Email Message Body

Subject: Your Application #[Application Number] Has Been Approved!


Dear [Applicant Name],

We are pleased to inform you that your application #[Application Number] has been automatically approved.

Below are the details of your application:

-Property Nickname: [Property Nickname]
-Property Address: [Property Address]
-Applicant Name: [Applicant Name]
-Registration Number: [Registration Number]
-Date Issued: [Date Issued]
-Expiration Date: [Expiration Date]
-Type of Offering: [Type of Offering]
-Registrant Name: [Registrant Name]
-Property Host Name: [Property Host Name]

Please find attached the Registration PDF for your records.

If you have any questions or need further assistance, feel free to contact us.

Thank you for your application.

Scenario 2: Email Includes All Required DetailsGiven an application is automatically approved,

When the system prepares the approval email,
Then the email should contain the following details:

  • Application Number
  • Property Nickname
  • Property Address
  • Applicant's Name
  • Registration Number
  • Date Issued
  • Expiration Date
  • Type of Offering
  • Registrant Name
  • Property Host Name
    And the Registration PDF should be attached.

Scenario 3: Email Attachment ValidationGiven an application is automatically approved,

When the system sends the approval email,
Then the Registration PDF should be correctly attached to the email,
And the PDF should be accessible and not corrupted.

๐ŸŒ Accessibility Scenarios

Keyboard Users

Scenario: Comprehensive Keyboard Navigation
Given I am a keyboard user on the website
When I use the Tab key to navigate through the website
Then all interactive elements should be accessible and highlighted
And I should be able to activate these elements using the Enter or Space key

Scenario: Full Content Accessibility via Keyboard
Given I am a keyboard user navigating the website
When I traverse through different pages and sections
Then all content should be fully accessible using the keyboard alone
And there should be no traps that prevent me from navigating away using the keyboard

Screen Reader Users

Scenario: Accessible Image Descriptions
Given I am using a screen reader on the website
When I encounter images
Then each image should have descriptive alt text that conveys the same message as the image

Scenario: Structured Navigation for Screen Readers
Given I am navigating the website using a screen reader
When I move through different page elements
Then the content should be structured with proper headings
And the reading order should be logical and sequential

Scenario: Descriptive Form Fields
Given I am filling out a form using a screen reader
When I navigate through the form fields
Then each field should be clearly labeled with descriptive text
And instructions should be directly associated with their respective inputs

Low Vision Users

Scenario: Effective High Contrast Mode
Given I am a user with low vision on the website
When I enable high contrast mode
Then all content should display with high color contrast suitable for low vision
And the layout should remain coherent and unchanged

Scenario: Text Resizing Accommodation
Given I am a user with low vision on the website
When I increase the text size
Then the text should resize without loss of information or functionality
And the page layout should adapt accordingly without disrupting the user experience

Scenario: Personalized Styling Preferences
Given I am a user with low vision adjusting settings on the website
When I customize my styling preferences, including colors, fonts, and spacing
Then these adjustments should be applied consistently across all pages
And the changes should persist during my entire session or until altered by me

## ๐ŸŒ Global Scenarios ## Data Validation # Mikaela to confirm: Do we need to do these for MVP - data validation required for inputing data in the right format - as defined by business rules.

Internet Connection

Standard Internet Connection

Given I am accessing the website from a standard internet connection
When I navigate to any page on the site
Then the page should load completely within 2 seconds, ensuring a fast and efficient user experience.

Low-Speed Internet

Given a user accesses "Application Details View" with a low-speed internet connection defined as under [specific speed] Mbps
When the user attempts to load and interact with the dashboard page
Then the "Application Details View" should prioritize critical content and functionality, loading essential elements first to ensure usability.

Mobile Responsiveness

Given I am accessing "Application Details View" on a mobile device
When I click on the "any" link
Then "_____ " should display correctly and be easily editable on my device, ensuring a responsive design.