Skip to content

Commit

Permalink
Scaffold personal information flow (#313)
Browse files Browse the repository at this point in the history
* first batch of flows

* added cash assistance alternative flows

---------

Co-authored-by: Ana Medrano Fernandez <amedrano@codeforamerica.org@Anas-MacBook-Pro-2.local>
  • Loading branch information
analoo and Ana Medrano Fernandez committed Sep 26, 2023
1 parent f602a70 commit e80b1d1
Show file tree
Hide file tree
Showing 9 changed files with 101 additions and 0 deletions.
21 changes: 21 additions & 0 deletions src/main/resources/flows-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,30 @@ flow:
nextScreens:
- name: personalInfo
personalInfo:
nextScreens:
- name: homeAddress
cashAssistanceLegalNotice:
nextScreens:
- name: cashAssistanceChildSupportNotice
cashAssistanceChildSupportNotice:
nextScreens:
- name: cashAssistanceFamilyViolenceNotice
cashAssistanceMedicalPaymentsNotice:
nextScreens:
- name: cashAssistanceFamilyViolenceNotice
cashAssistanceFamilyViolenceNotice:
nextScreens:
- name: homeAddress
homeAddress:
nextScreens:
- name: contactInfo
contactInfo:
nextScreens:
- name: reviewContactInfo
phoneNumberNudge:
nextScreens:
- name: reviewContactInfo
reviewContactInfo:
nextScreens: null
multiplePersonHousehold:
nextScreens:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
</head>
<body>

</body>
</html>
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
</head>
<body>

</body>
</html>
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
</head>
<body>

</body>
</html>
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
</head>
<body>

</body>
</html>
10 changes: 10 additions & 0 deletions src/main/resources/templates/laDigitalAssister/homeAddress.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Home Address</title>
</head>
<body>

</body>
</html>
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Phone Number Nudge</title>
</head>
<body>

</body>
</html>
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Review Contact Information</title>
</head>
<body>

</body>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,22 @@ void fullUploadDocumentFlow() {
assertThat(testPage.getTitle()).isEqualTo("Applicant notice");
testPage.clickContinue();

// Personal Info
assertThat(testPage.getTitle()).isEqualTo("Personal info");
testPage.enter("firstName", "test");
testPage.enter("lastName", "test2");
testPage.clickContinue();

// Home Address
assertThat(testPage.getTitle()).isEqualTo("Home Address");

// Contact Info
testPage.navigateToFlowScreen("laDigitalAssister/contactInfo");
assertThat(testPage.getTitle()).isEqualTo("Contact info");
testPage.clickContinue();

// Review Contact Info
assertThat(testPage.getTitle()).isEqualTo("Review Contact Information");

// Household
testPage.navigateToFlowScreen("laDigitalAssister/multiplePersonHousehold");
Expand Down

0 comments on commit e80b1d1

Please sign in to comment.