bcgov / bcgov/STRR

CR: Retrieve and use email address from BCSC or BCeID during application

Open
#1,374 1 comment 0 reactions 0 assignees View on GitHub
STR
Dominant language
Python
Stars
2
Forks
22
Avg merge
2d 35m
Merged PRs (30d)
11

Description

## Use Case

As an Applicant, I want the email address associated with my BCeID or BCSC to be automatically used in my initial application or renewal application
So that I am not required to manually enter my email address.

As an Examiner, I want the email address associated with the Applicant's BCeID or BCSC to be automatically used in any initial application or renewal application
So that the Applicant is not required to manually enter a potentially incorrect email address.

## Screenshot

image.png

## Acceptance Criteria

- [ ] **Scenario: Email address is pre-filled from BCSC for initial application**
- Given an applicant logs in using BCSC
- And their BCSC account has an associated email address
- When they start a new initial application
- Then the email input field on the application form should be pre-filled with the email address retrieved from BCSC
- And the pre-filled email address should be editable by the applicant

- [ ] **Scenario: Email address is pre-filled from BCeID for initial application**
- Given an applicant logs in using BCeID
- And their BCeID account has an associated email address
- When they start a new initial application
- Then the email input field on the application form should be pre-filled with the email address retrieved from BCeID
- And the pre-filled email address should be editable by the applicant

- [ ] **Scenario: Email address is pre-filled from BCSC for renewal application**
- Given an applicant logs in using BCSC
- And their BCSC account has an associated email address
- When they start a renewal application
- Then the email input field on the application form should be pre-filled with the email address retrieved from BCSC
- And the pre-filled email address should be editable by the applicant

- [ ] **Scenario: Email address is pre-filled from BCeID for renewal application**
- Given an applicant logs in using BCeID
- And their BCeID account has an associated email address
- When they start a renewal application
- Then the email input field on the application form should be pre-filled with the email address retrieved from BCeID
- And the pre-filled email address should be editable by the applicant

- [ ] **Scenario: Email field is empty when BCSC/BCeID does not provide an email**
- Given an applicant logs in using BCSC or BCeID
- And their BCSC/BCeID account does NOT have an associated email address
- When they start an initial or renewal application
- Then the email input field on the application form should be empty
- And the email input field should be editable for manual entry

- [ ] **Scenario: Submitted application uses the final email address**
- Given an applicant has completed an initial or renewal application
- And the email address field was either pre-filled from BCSC/BCeID or manually entered/edited by the applicant
- When the application is submitted
- Then the submitted application should store and use the final email address displayed in the email input field for all relevant communications and records.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.