-
Notifications
You must be signed in to change notification settings - Fork 0
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
[CCAP-651] - applications should only route to active SDAs #1199
base: main
Are you sure you want to change the base?
Conversation
@@ -47,11 +44,12 @@ public void run(Submission submission) { | |||
|
|||
if (!experiencingHomelessness && hasValidValue(inputData, UNVALIDATED_ZIPCODE_INPUT_NAME)) { | |||
final String unvalidatedZip = (String) submission.getInputData().get(UNVALIDATED_ZIPCODE_INPUT_NAME); | |||
saveCountyFromZip(submission, unvalidatedZip); |
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.
only saves county from home zip code address
@@ -11,7 +11,7 @@ | |||
|
|||
@Service | |||
public class ApplicationRoutingServiceImpl implements ApplicationRouterService{ | |||
|
|||
private final List<String> activeCaseLoadCodes = List.of("BB", "QQ"); |
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.
Limits resources orgs to those that are included in this list.
@@ -106,28 +107,6 @@ void fullGccFlow() throws IOException { | |||
// parent-info-disability | |||
assertThat(testPage.getTitle()).isEqualTo(getEnMessage("parent-info-disability.title")); | |||
testPage.clickYes(); | |||
// parent-home-address |
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.
had to change order because otherwise we submit an unhoused application which means we cannot test county
// Click it twice so it populates the mailing address fields | ||
testPage.clickElementById("parentMailingAddressSameAsHomeAddress-yes"); | ||
// Check that JS is correct populating fields when selecting same as home address | ||
assertThat(testPage.getInputValue("parentMailingStreetAddress1")).isEqualTo("123 Main St"); |
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.
changes to an Illinois sounding address for testing
992f75f
to
e418a41
Compare
🔗 Jira ticket
CCAP-651
✍️ Description
applicantAddressCounty
based on the parent home address, regardless of what SDA is in scope📷 Design reference
Steps to reproduce the bug
Expected behavior
Until we launch in SDA 6, no applications should be routed there. Applications with an SDA 6 home address for the applicant should fall back to routing by the County or zip selected in onboarding in the same way that out of state zip codes do.
✅ Completion tasks