diff --git a/build/stylesheets/admin-blind.css b/build/stylesheets/admin-blind.css index c519eb75..df448f33 100644 --- a/build/stylesheets/admin-blind.css +++ b/build/stylesheets/admin-blind.css @@ -15,48 +15,32 @@ html { /* Add Inter font */ @font-face { - font-family: "Inter"; + font-family: Inter; font-style: normal; font-weight: 400; font-display: swap; - src: - url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Regular-ada67516bfcb321d3af9a10b5ac85969.woff2") - format("woff2"), - url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Regular-3ca46ee35e2e0a102cb63a64629ff935.woff") - format("woff"); + src: url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Regular-ada67516bfcb321d3af9a10b5ac85969.woff2") format("woff2"), url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Regular-3ca46ee35e2e0a102cb63a64629ff935.woff") format("woff"); } @font-face { - font-family: "Inter"; + font-family: Inter; font-style: italic; font-weight: 400; font-display: swap; - src: - url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Italic-bc389a025ce24c8a922a75a14efb9849.woff2") - format("woff2"), - url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Italic-8b0d16839ccd5eb17d2d2c57fc7b879c.woff") - format("woff"); + src: url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Italic-bc389a025ce24c8a922a75a14efb9849.woff2") format("woff2"), url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Italic-8b0d16839ccd5eb17d2d2c57fc7b879c.woff") format("woff"); } @font-face { - font-family: "Inter"; + font-family: Inter; font-style: normal; font-weight: 500; font-display: swap; - src: - url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Medium-a4b302b56c07e87c3428227270d313fa.woff2") - format("woff2"), - url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Medium-86c6d121f1d396c123e9f2b0b18040a0.woff") - format("woff"); + src: url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Medium-a4b302b56c07e87c3428227270d313fa.woff2") format("woff2"), url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Medium-86c6d121f1d396c123e9f2b0b18040a0.woff") format("woff"); } @font-face { - font-family: "Inter"; + font-family: Inter; font-style: normal; font-weight: 700; font-display: swap; - src: - url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Bold-8506a8d02c2e819508bc53d65de6795a.woff2") - format("woff2"), - url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Bold-0a1242bedd6453e33ea8bfb1a7fb2af4.woff") - format("woff"); + src: url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Bold-8506a8d02c2e819508bc53d65de6795a.woff2") format("woff2"), url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Bold-0a1242bedd6453e33ea8bfb1a7fb2af4.woff") format("woff"); } /* Button size and font */ .form-submit-button, @@ -65,7 +49,7 @@ html { #divWorkflowContent .buttonPopup.blue, .buttonPopup.blue.big, #noBtn.buttonPopup.big { - font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif !important; + font-family: "Inter", "Helvetica Neue", helvetica, arial, sans-serif !important; font-weight: 500 !important; text-align: center !important; white-space: nowrap !important; diff --git a/build/stylesheets/admin-intake.css b/build/stylesheets/admin-intake.css index 8fcad2b3..7ae6190f 100644 --- a/build/stylesheets/admin-intake.css +++ b/build/stylesheets/admin-intake.css @@ -15,48 +15,32 @@ html { /* Add Inter font */ @font-face { - font-family: "Inter"; + font-family: Inter; font-style: normal; font-weight: 400; font-display: swap; - src: - url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Regular-ada67516bfcb321d3af9a10b5ac85969.woff2") - format("woff2"), - url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Regular-3ca46ee35e2e0a102cb63a64629ff935.woff") - format("woff"); + src: url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Regular-ada67516bfcb321d3af9a10b5ac85969.woff2") format("woff2"), url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Regular-3ca46ee35e2e0a102cb63a64629ff935.woff") format("woff"); } @font-face { - font-family: "Inter"; + font-family: Inter; font-style: italic; font-weight: 400; font-display: swap; - src: - url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Italic-bc389a025ce24c8a922a75a14efb9849.woff2") - format("woff2"), - url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Italic-8b0d16839ccd5eb17d2d2c57fc7b879c.woff") - format("woff"); + src: url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Italic-bc389a025ce24c8a922a75a14efb9849.woff2") format("woff2"), url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Italic-8b0d16839ccd5eb17d2d2c57fc7b879c.woff") format("woff"); } @font-face { - font-family: "Inter"; + font-family: Inter; font-style: normal; font-weight: 500; font-display: swap; - src: - url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Medium-a4b302b56c07e87c3428227270d313fa.woff2") - format("woff2"), - url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Medium-86c6d121f1d396c123e9f2b0b18040a0.woff") - format("woff"); + src: url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Medium-a4b302b56c07e87c3428227270d313fa.woff2") format("woff2"), url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Medium-86c6d121f1d396c123e9f2b0b18040a0.woff") format("woff"); } @font-face { - font-family: "Inter"; + font-family: Inter; font-style: normal; font-weight: 700; font-display: swap; - src: - url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Bold-8506a8d02c2e819508bc53d65de6795a.woff2") - format("woff2"), - url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Bold-0a1242bedd6453e33ea8bfb1a7fb2af4.woff") - format("woff"); + src: url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Bold-8506a8d02c2e819508bc53d65de6795a.woff2") format("woff2"), url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Bold-0a1242bedd6453e33ea8bfb1a7fb2af4.woff") format("woff"); } /* Button size and font */ .form-submit-button, @@ -65,7 +49,7 @@ html { #divWorkflowContent .buttonPopup.blue, .buttonPopup.blue.big, #noBtn.buttonPopup.big { - font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif !important; + font-family: "Inter", "Helvetica Neue", helvetica, arial, sans-serif !important; font-weight: 500 !important; text-align: center !important; white-space: nowrap !important; diff --git a/build/stylesheets/admin-senior.css b/build/stylesheets/admin-senior.css index 647469c0..84982b75 100644 --- a/build/stylesheets/admin-senior.css +++ b/build/stylesheets/admin-senior.css @@ -15,48 +15,32 @@ html { /* Add Inter font */ @font-face { - font-family: "Inter"; + font-family: Inter; font-style: normal; font-weight: 400; font-display: swap; - src: - url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Regular-ada67516bfcb321d3af9a10b5ac85969.woff2") - format("woff2"), - url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Regular-3ca46ee35e2e0a102cb63a64629ff935.woff") - format("woff"); + src: url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Regular-ada67516bfcb321d3af9a10b5ac85969.woff2") format("woff2"), url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Regular-3ca46ee35e2e0a102cb63a64629ff935.woff") format("woff"); } @font-face { - font-family: "Inter"; + font-family: Inter; font-style: italic; font-weight: 400; font-display: swap; - src: - url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Italic-bc389a025ce24c8a922a75a14efb9849.woff2") - format("woff2"), - url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Italic-8b0d16839ccd5eb17d2d2c57fc7b879c.woff") - format("woff"); + src: url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Italic-bc389a025ce24c8a922a75a14efb9849.woff2") format("woff2"), url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Italic-8b0d16839ccd5eb17d2d2c57fc7b879c.woff") format("woff"); } @font-face { - font-family: "Inter"; + font-family: Inter; font-style: normal; font-weight: 500; font-display: swap; - src: - url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Medium-a4b302b56c07e87c3428227270d313fa.woff2") - format("woff2"), - url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Medium-86c6d121f1d396c123e9f2b0b18040a0.woff") - format("woff"); + src: url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Medium-a4b302b56c07e87c3428227270d313fa.woff2") format("woff2"), url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Medium-86c6d121f1d396c123e9f2b0b18040a0.woff") format("woff"); } @font-face { - font-family: "Inter"; + font-family: Inter; font-style: normal; font-weight: 700; font-display: swap; - src: - url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Bold-8506a8d02c2e819508bc53d65de6795a.woff2") - format("woff2"), - url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Bold-0a1242bedd6453e33ea8bfb1a7fb2af4.woff") - format("woff"); + src: url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Bold-8506a8d02c2e819508bc53d65de6795a.woff2") format("woff2"), url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Bold-0a1242bedd6453e33ea8bfb1a7fb2af4.woff") format("woff"); } /* Button size and font */ .form-submit-button, @@ -65,7 +49,7 @@ html { #divWorkflowContent .buttonPopup.blue, .buttonPopup.blue.big, #noBtn.buttonPopup.big { - font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif !important; + font-family: "Inter", "Helvetica Neue", helvetica, arial, sans-serif !important; font-weight: 500 !important; text-align: center !important; white-space: nowrap !important; diff --git a/build/stylesheets/admin-tap.css b/build/stylesheets/admin-tap.css index 9dcad650..0541ab75 100644 --- a/build/stylesheets/admin-tap.css +++ b/build/stylesheets/admin-tap.css @@ -15,48 +15,32 @@ html { /* Add Inter font */ @font-face { - font-family: "Inter"; + font-family: Inter; font-style: normal; font-weight: 400; font-display: swap; - src: - url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Regular-ada67516bfcb321d3af9a10b5ac85969.woff2") - format("woff2"), - url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Regular-3ca46ee35e2e0a102cb63a64629ff935.woff") - format("woff"); + src: url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Regular-ada67516bfcb321d3af9a10b5ac85969.woff2") format("woff2"), url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Regular-3ca46ee35e2e0a102cb63a64629ff935.woff") format("woff"); } @font-face { - font-family: "Inter"; + font-family: Inter; font-style: italic; font-weight: 400; font-display: swap; - src: - url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Italic-bc389a025ce24c8a922a75a14efb9849.woff2") - format("woff2"), - url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Italic-8b0d16839ccd5eb17d2d2c57fc7b879c.woff") - format("woff"); + src: url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Italic-bc389a025ce24c8a922a75a14efb9849.woff2") format("woff2"), url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Italic-8b0d16839ccd5eb17d2d2c57fc7b879c.woff") format("woff"); } @font-face { - font-family: "Inter"; + font-family: Inter; font-style: normal; font-weight: 500; font-display: swap; - src: - url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Medium-a4b302b56c07e87c3428227270d313fa.woff2") - format("woff2"), - url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Medium-86c6d121f1d396c123e9f2b0b18040a0.woff") - format("woff"); + src: url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Medium-a4b302b56c07e87c3428227270d313fa.woff2") format("woff2"), url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Medium-86c6d121f1d396c123e9f2b0b18040a0.woff") format("woff"); } @font-face { - font-family: "Inter"; + font-family: Inter; font-style: normal; font-weight: 700; font-display: swap; - src: - url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Bold-8506a8d02c2e819508bc53d65de6795a.woff2") - format("woff2"), - url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Bold-0a1242bedd6453e33ea8bfb1a7fb2af4.woff") - format("woff"); + src: url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Bold-8506a8d02c2e819508bc53d65de6795a.woff2") format("woff2"), url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Bold-0a1242bedd6453e33ea8bfb1a7fb2af4.woff") format("woff"); } /* Button size and font */ .form-submit-button, @@ -65,7 +49,7 @@ html { #divWorkflowContent .buttonPopup.blue, .buttonPopup.blue.big, #noBtn.buttonPopup.big { - font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif !important; + font-family: "Inter", "Helvetica Neue", helvetica, arial, sans-serif !important; font-weight: 500 !important; text-align: center !important; white-space: nowrap !important; diff --git a/build/stylesheets/admin-youth.css b/build/stylesheets/admin-youth.css index 1ed4ccdf..6fe63df8 100644 --- a/build/stylesheets/admin-youth.css +++ b/build/stylesheets/admin-youth.css @@ -15,48 +15,32 @@ html { /* Add Inter font */ @font-face { - font-family: "Inter"; + font-family: Inter; font-style: normal; font-weight: 400; font-display: swap; - src: - url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Regular-ada67516bfcb321d3af9a10b5ac85969.woff2") - format("woff2"), - url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Regular-3ca46ee35e2e0a102cb63a64629ff935.woff") - format("woff"); + src: url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Regular-ada67516bfcb321d3af9a10b5ac85969.woff2") format("woff2"), url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Regular-3ca46ee35e2e0a102cb63a64629ff935.woff") format("woff"); } @font-face { - font-family: "Inter"; + font-family: Inter; font-style: italic; font-weight: 400; font-display: swap; - src: - url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Italic-bc389a025ce24c8a922a75a14efb9849.woff2") - format("woff2"), - url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Italic-8b0d16839ccd5eb17d2d2c57fc7b879c.woff") - format("woff"); + src: url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Italic-bc389a025ce24c8a922a75a14efb9849.woff2") format("woff2"), url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Italic-8b0d16839ccd5eb17d2d2c57fc7b879c.woff") format("woff"); } @font-face { - font-family: "Inter"; + font-family: Inter; font-style: normal; font-weight: 500; font-display: swap; - src: - url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Medium-a4b302b56c07e87c3428227270d313fa.woff2") - format("woff2"), - url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Medium-86c6d121f1d396c123e9f2b0b18040a0.woff") - format("woff"); + src: url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Medium-a4b302b56c07e87c3428227270d313fa.woff2") format("woff2"), url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Medium-86c6d121f1d396c123e9f2b0b18040a0.woff") format("woff"); } @font-face { - font-family: "Inter"; + font-family: Inter; font-style: normal; font-weight: 700; font-display: swap; - src: - url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Bold-8506a8d02c2e819508bc53d65de6795a.woff2") - format("woff2"), - url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Bold-0a1242bedd6453e33ea8bfb1a7fb2af4.woff") - format("woff"); + src: url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Bold-8506a8d02c2e819508bc53d65de6795a.woff2") format("woff2"), url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Bold-0a1242bedd6453e33ea8bfb1a7fb2af4.woff") format("woff"); } /* Button size and font */ .form-submit-button, @@ -65,7 +49,7 @@ html { #divWorkflowContent .buttonPopup.blue, .buttonPopup.blue.big, #noBtn.buttonPopup.big { - font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif !important; + font-family: "Inter", "Helvetica Neue", helvetica, arial, sans-serif !important; font-weight: 500 !important; text-align: center !important; white-space: nowrap !important; diff --git a/build/stylesheets/blind.css b/build/stylesheets/blind.css index 41eb21f2..0f56d868 100644 --- a/build/stylesheets/blind.css +++ b/build/stylesheets/blind.css @@ -15,48 +15,32 @@ html { /* Add Inter font */ @font-face { - font-family: "Inter"; + font-family: Inter; font-style: normal; font-weight: 400; font-display: swap; - src: - url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Regular-ada67516bfcb321d3af9a10b5ac85969.woff2") - format("woff2"), - url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Regular-3ca46ee35e2e0a102cb63a64629ff935.woff") - format("woff"); + src: url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Regular-ada67516bfcb321d3af9a10b5ac85969.woff2") format("woff2"), url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Regular-3ca46ee35e2e0a102cb63a64629ff935.woff") format("woff"); } @font-face { - font-family: "Inter"; + font-family: Inter; font-style: italic; font-weight: 400; font-display: swap; - src: - url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Italic-bc389a025ce24c8a922a75a14efb9849.woff2") - format("woff2"), - url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Italic-8b0d16839ccd5eb17d2d2c57fc7b879c.woff") - format("woff"); + src: url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Italic-bc389a025ce24c8a922a75a14efb9849.woff2") format("woff2"), url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Italic-8b0d16839ccd5eb17d2d2c57fc7b879c.woff") format("woff"); } @font-face { - font-family: "Inter"; + font-family: Inter; font-style: normal; font-weight: 500; font-display: swap; - src: - url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Medium-a4b302b56c07e87c3428227270d313fa.woff2") - format("woff2"), - url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Medium-86c6d121f1d396c123e9f2b0b18040a0.woff") - format("woff"); + src: url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Medium-a4b302b56c07e87c3428227270d313fa.woff2") format("woff2"), url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Medium-86c6d121f1d396c123e9f2b0b18040a0.woff") format("woff"); } @font-face { - font-family: "Inter"; + font-family: Inter; font-style: normal; font-weight: 700; font-display: swap; - src: - url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Bold-8506a8d02c2e819508bc53d65de6795a.woff2") - format("woff2"), - url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Bold-0a1242bedd6453e33ea8bfb1a7fb2af4.woff") - format("woff"); + src: url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Bold-8506a8d02c2e819508bc53d65de6795a.woff2") format("woff2"), url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Bold-0a1242bedd6453e33ea8bfb1a7fb2af4.woff") format("woff"); } body, html { @@ -86,7 +70,7 @@ a:focus { p, li, figcaption { - font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif !important; + font-family: "Inter", "Helvetica Neue", helvetica, arial, sans-serif !important; font-size: 1rem !important; color: #1c1e23 !important; } @@ -168,7 +152,7 @@ h4 { /* Form label */ .form-label { color: #1c1e23 !important; - font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif !important; + font-family: "Inter", "Helvetica Neue", helvetica, arial, sans-serif !important; font-size: 1rem !important; } @@ -191,7 +175,7 @@ h4 { /* Help text */ .sub-heading { color: #494f5c !important; - font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif !important; + font-family: "Inter", "Helvetica Neue", helvetica, arial, sans-serif !important; font-size: 1rem !important; line-height: 1.2 !important; } @@ -207,7 +191,7 @@ h4 { .regexErrorLabel, .datePickerFormatError { font-style: normal !important; - font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif !important; + font-family: "Inter", "Helvetica Neue", helvetica, arial, sans-serif !important; font-size: 1rem !important; color: #b3000f !important; } @@ -228,7 +212,7 @@ h4 { } /* Color for field required asterisks */ -.form-label-required span[role="presentation"], +.form-label-required span[role=presentation], .form-label-required span[style="color: red;"] { color: #b3000f !important; } @@ -239,13 +223,13 @@ textarea { } /* Focus for all text fields */ -input[type="text"]:focus, +input[type=text]:focus, textarea:focus { border: 2px solid #165c96 !important; } /* Remove shadow on all text fields except the large text field */ -input[type="text"].textfield:focus { +input[type=text].textfield:focus { box-shadow: none !important; } @@ -268,7 +252,7 @@ input[type="text"].textfield:focus { .k-file-name, .k-file-size, .k-file-validation-message { - font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif !important; + font-family: "Inter", "Helvetica Neue", helvetica, arial, sans-serif !important; font-weight: 400; font-size: 1rem !important; } @@ -298,7 +282,7 @@ input[type="text"].textfield:focus { /* Make upload error message darker */ .k-file-invalid .k-file-validation-message { - font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif !important; + font-family: "Inter", "Helvetica Neue", helvetica, arial, sans-serif !important; font-size: 1rem !important; color: #b3000f !important; } @@ -310,7 +294,7 @@ input[type="text"].textfield:focus { } /* Make upload "invalid files" error message darker */ .validation-text.fileUploadErrorLabel.truncateWithEllipsis { - font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif !important; + font-family: "Inter", "Helvetica Neue", helvetica, arial, sans-serif !important; font-size: 1rem !important; color: #b3000f !important; } @@ -347,7 +331,7 @@ input[type="text"].textfield:focus { color: #0b2f4c !important; font-style: normal !important; font-weight: 700 !important; - font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif !important; + font-family: "Inter", "Helvetica Neue", helvetica, arial, sans-serif !important; font-size: 1rem !important; margin-bottom: 2rem !important; width: 100% !important; @@ -390,7 +374,7 @@ input, #divWorkflowContent .buttonPopup.blue, .buttonPopup.blue.big, #noBtn.buttonPopup.big { - font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif !important; + font-family: "Inter", "Helvetica Neue", helvetica, arial, sans-serif !important; font-weight: 500 !important; text-align: center !important; white-space: nowrap !important; diff --git a/build/stylesheets/intake.css b/build/stylesheets/intake.css index b100a522..d102d018 100644 --- a/build/stylesheets/intake.css +++ b/build/stylesheets/intake.css @@ -15,48 +15,32 @@ html { /* Add Inter font */ @font-face { - font-family: "Inter"; + font-family: Inter; font-style: normal; font-weight: 400; font-display: swap; - src: - url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Regular-ada67516bfcb321d3af9a10b5ac85969.woff2") - format("woff2"), - url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Regular-3ca46ee35e2e0a102cb63a64629ff935.woff") - format("woff"); + src: url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Regular-ada67516bfcb321d3af9a10b5ac85969.woff2") format("woff2"), url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Regular-3ca46ee35e2e0a102cb63a64629ff935.woff") format("woff"); } @font-face { - font-family: "Inter"; + font-family: Inter; font-style: italic; font-weight: 400; font-display: swap; - src: - url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Italic-bc389a025ce24c8a922a75a14efb9849.woff2") - format("woff2"), - url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Italic-8b0d16839ccd5eb17d2d2c57fc7b879c.woff") - format("woff"); + src: url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Italic-bc389a025ce24c8a922a75a14efb9849.woff2") format("woff2"), url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Italic-8b0d16839ccd5eb17d2d2c57fc7b879c.woff") format("woff"); } @font-face { - font-family: "Inter"; + font-family: Inter; font-style: normal; font-weight: 500; font-display: swap; - src: - url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Medium-a4b302b56c07e87c3428227270d313fa.woff2") - format("woff2"), - url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Medium-86c6d121f1d396c123e9f2b0b18040a0.woff") - format("woff"); + src: url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Medium-a4b302b56c07e87c3428227270d313fa.woff2") format("woff2"), url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Medium-86c6d121f1d396c123e9f2b0b18040a0.woff") format("woff"); } @font-face { - font-family: "Inter"; + font-family: Inter; font-style: normal; font-weight: 700; font-display: swap; - src: - url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Bold-8506a8d02c2e819508bc53d65de6795a.woff2") - format("woff2"), - url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Bold-0a1242bedd6453e33ea8bfb1a7fb2af4.woff") - format("woff"); + src: url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Bold-8506a8d02c2e819508bc53d65de6795a.woff2") format("woff2"), url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Bold-0a1242bedd6453e33ea8bfb1a7fb2af4.woff") format("woff"); } body, html { @@ -86,7 +70,7 @@ a:focus { p, li, figcaption { - font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif !important; + font-family: "Inter", "Helvetica Neue", helvetica, arial, sans-serif !important; font-size: 1rem !important; color: #1c1e23 !important; } @@ -168,7 +152,7 @@ h4 { /* Form label */ .form-label { color: #1c1e23 !important; - font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif !important; + font-family: "Inter", "Helvetica Neue", helvetica, arial, sans-serif !important; font-size: 1rem !important; } @@ -191,7 +175,7 @@ h4 { /* Help text */ .sub-heading { color: #494f5c !important; - font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif !important; + font-family: "Inter", "Helvetica Neue", helvetica, arial, sans-serif !important; font-size: 1rem !important; line-height: 1.2 !important; } @@ -207,7 +191,7 @@ h4 { .regexErrorLabel, .datePickerFormatError { font-style: normal !important; - font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif !important; + font-family: "Inter", "Helvetica Neue", helvetica, arial, sans-serif !important; font-size: 1rem !important; color: #b3000f !important; } @@ -228,7 +212,7 @@ h4 { } /* Color for field required asterisks */ -.form-label-required span[role="presentation"], +.form-label-required span[role=presentation], .form-label-required span[style="color: red;"] { color: #b3000f !important; } @@ -239,13 +223,13 @@ textarea { } /* Focus for all text fields */ -input[type="text"]:focus, +input[type=text]:focus, textarea:focus { border: 2px solid #165c96 !important; } /* Remove shadow on all text fields except the large text field */ -input[type="text"].textfield:focus { +input[type=text].textfield:focus { box-shadow: none !important; } @@ -268,7 +252,7 @@ input[type="text"].textfield:focus { .k-file-name, .k-file-size, .k-file-validation-message { - font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif !important; + font-family: "Inter", "Helvetica Neue", helvetica, arial, sans-serif !important; font-weight: 400; font-size: 1rem !important; } @@ -298,7 +282,7 @@ input[type="text"].textfield:focus { /* Make upload error message darker */ .k-file-invalid .k-file-validation-message { - font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif !important; + font-family: "Inter", "Helvetica Neue", helvetica, arial, sans-serif !important; font-size: 1rem !important; color: #b3000f !important; } @@ -310,7 +294,7 @@ input[type="text"].textfield:focus { } /* Make upload "invalid files" error message darker */ .validation-text.fileUploadErrorLabel.truncateWithEllipsis { - font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif !important; + font-family: "Inter", "Helvetica Neue", helvetica, arial, sans-serif !important; font-size: 1rem !important; color: #b3000f !important; } @@ -347,7 +331,7 @@ input[type="text"].textfield:focus { color: #0b2f4c !important; font-style: normal !important; font-weight: 700 !important; - font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif !important; + font-family: "Inter", "Helvetica Neue", helvetica, arial, sans-serif !important; font-size: 1rem !important; margin-bottom: 2rem !important; width: 100% !important; @@ -390,7 +374,7 @@ input, #divWorkflowContent .buttonPopup.blue, .buttonPopup.blue.big, #noBtn.buttonPopup.big { - font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif !important; + font-family: "Inter", "Helvetica Neue", helvetica, arial, sans-serif !important; font-weight: 500 !important; text-align: center !important; white-space: nowrap !important; @@ -840,9 +824,7 @@ div#thank-you-text, div#workflow-background-wrapper:not(.embed) { width: 900px !important; max-width: 100% !important; - box-shadow: - 0 3px 6px rgba(0, 0, 0, 0.16), - 0 3px 6px rgba(0, 0, 0, 0.23) !important; + box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23) !important; border-right: none !important; } diff --git a/build/stylesheets/senior.css b/build/stylesheets/senior.css index e989bb63..30c8d57a 100644 --- a/build/stylesheets/senior.css +++ b/build/stylesheets/senior.css @@ -15,48 +15,32 @@ html { /* Add Inter font */ @font-face { - font-family: "Inter"; + font-family: Inter; font-style: normal; font-weight: 400; font-display: swap; - src: - url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Regular-ada67516bfcb321d3af9a10b5ac85969.woff2") - format("woff2"), - url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Regular-3ca46ee35e2e0a102cb63a64629ff935.woff") - format("woff"); + src: url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Regular-ada67516bfcb321d3af9a10b5ac85969.woff2") format("woff2"), url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Regular-3ca46ee35e2e0a102cb63a64629ff935.woff") format("woff"); } @font-face { - font-family: "Inter"; + font-family: Inter; font-style: italic; font-weight: 400; font-display: swap; - src: - url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Italic-bc389a025ce24c8a922a75a14efb9849.woff2") - format("woff2"), - url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Italic-8b0d16839ccd5eb17d2d2c57fc7b879c.woff") - format("woff"); + src: url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Italic-bc389a025ce24c8a922a75a14efb9849.woff2") format("woff2"), url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Italic-8b0d16839ccd5eb17d2d2c57fc7b879c.woff") format("woff"); } @font-face { - font-family: "Inter"; + font-family: Inter; font-style: normal; font-weight: 500; font-display: swap; - src: - url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Medium-a4b302b56c07e87c3428227270d313fa.woff2") - format("woff2"), - url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Medium-86c6d121f1d396c123e9f2b0b18040a0.woff") - format("woff"); + src: url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Medium-a4b302b56c07e87c3428227270d313fa.woff2") format("woff2"), url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Medium-86c6d121f1d396c123e9f2b0b18040a0.woff") format("woff"); } @font-face { - font-family: "Inter"; + font-family: Inter; font-style: normal; font-weight: 700; font-display: swap; - src: - url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Bold-8506a8d02c2e819508bc53d65de6795a.woff2") - format("woff2"), - url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Bold-0a1242bedd6453e33ea8bfb1a7fb2af4.woff") - format("woff"); + src: url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Bold-8506a8d02c2e819508bc53d65de6795a.woff2") format("woff2"), url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Bold-0a1242bedd6453e33ea8bfb1a7fb2af4.woff") format("woff"); } body, html { @@ -86,7 +70,7 @@ a:focus { p, li, figcaption { - font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif !important; + font-family: "Inter", "Helvetica Neue", helvetica, arial, sans-serif !important; font-size: 1rem !important; color: #1c1e23 !important; } @@ -168,7 +152,7 @@ h4 { /* Form label */ .form-label { color: #1c1e23 !important; - font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif !important; + font-family: "Inter", "Helvetica Neue", helvetica, arial, sans-serif !important; font-size: 1rem !important; } @@ -191,7 +175,7 @@ h4 { /* Help text */ .sub-heading { color: #494f5c !important; - font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif !important; + font-family: "Inter", "Helvetica Neue", helvetica, arial, sans-serif !important; font-size: 1rem !important; line-height: 1.2 !important; } @@ -207,7 +191,7 @@ h4 { .regexErrorLabel, .datePickerFormatError { font-style: normal !important; - font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif !important; + font-family: "Inter", "Helvetica Neue", helvetica, arial, sans-serif !important; font-size: 1rem !important; color: #b3000f !important; } @@ -228,7 +212,7 @@ h4 { } /* Color for field required asterisks */ -.form-label-required span[role="presentation"], +.form-label-required span[role=presentation], .form-label-required span[style="color: red;"] { color: #b3000f !important; } @@ -239,13 +223,13 @@ textarea { } /* Focus for all text fields */ -input[type="text"]:focus, +input[type=text]:focus, textarea:focus { border: 2px solid #165c96 !important; } /* Remove shadow on all text fields except the large text field */ -input[type="text"].textfield:focus { +input[type=text].textfield:focus { box-shadow: none !important; } @@ -268,7 +252,7 @@ input[type="text"].textfield:focus { .k-file-name, .k-file-size, .k-file-validation-message { - font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif !important; + font-family: "Inter", "Helvetica Neue", helvetica, arial, sans-serif !important; font-weight: 400; font-size: 1rem !important; } @@ -298,7 +282,7 @@ input[type="text"].textfield:focus { /* Make upload error message darker */ .k-file-invalid .k-file-validation-message { - font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif !important; + font-family: "Inter", "Helvetica Neue", helvetica, arial, sans-serif !important; font-size: 1rem !important; color: #b3000f !important; } @@ -310,7 +294,7 @@ input[type="text"].textfield:focus { } /* Make upload "invalid files" error message darker */ .validation-text.fileUploadErrorLabel.truncateWithEllipsis { - font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif !important; + font-family: "Inter", "Helvetica Neue", helvetica, arial, sans-serif !important; font-size: 1rem !important; color: #b3000f !important; } @@ -347,7 +331,7 @@ input[type="text"].textfield:focus { color: #0b2f4c !important; font-style: normal !important; font-weight: 700 !important; - font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif !important; + font-family: "Inter", "Helvetica Neue", helvetica, arial, sans-serif !important; font-size: 1rem !important; margin-bottom: 2rem !important; width: 100% !important; @@ -390,7 +374,7 @@ input, #divWorkflowContent .buttonPopup.blue, .buttonPopup.blue.big, #noBtn.buttonPopup.big { - font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif !important; + font-family: "Inter", "Helvetica Neue", helvetica, arial, sans-serif !important; font-weight: 500 !important; text-align: center !important; white-space: nowrap !important; diff --git a/build/stylesheets/tap.css b/build/stylesheets/tap.css index 623d353c..6e815c63 100644 --- a/build/stylesheets/tap.css +++ b/build/stylesheets/tap.css @@ -15,48 +15,32 @@ html { /* Add Inter font */ @font-face { - font-family: "Inter"; + font-family: Inter; font-style: normal; font-weight: 400; font-display: swap; - src: - url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Regular-ada67516bfcb321d3af9a10b5ac85969.woff2") - format("woff2"), - url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Regular-3ca46ee35e2e0a102cb63a64629ff935.woff") - format("woff"); + src: url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Regular-ada67516bfcb321d3af9a10b5ac85969.woff2") format("woff2"), url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Regular-3ca46ee35e2e0a102cb63a64629ff935.woff") format("woff"); } @font-face { - font-family: "Inter"; + font-family: Inter; font-style: italic; font-weight: 400; font-display: swap; - src: - url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Italic-bc389a025ce24c8a922a75a14efb9849.woff2") - format("woff2"), - url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Italic-8b0d16839ccd5eb17d2d2c57fc7b879c.woff") - format("woff"); + src: url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Italic-bc389a025ce24c8a922a75a14efb9849.woff2") format("woff2"), url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Italic-8b0d16839ccd5eb17d2d2c57fc7b879c.woff") format("woff"); } @font-face { - font-family: "Inter"; + font-family: Inter; font-style: normal; font-weight: 500; font-display: swap; - src: - url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Medium-a4b302b56c07e87c3428227270d313fa.woff2") - format("woff2"), - url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Medium-86c6d121f1d396c123e9f2b0b18040a0.woff") - format("woff"); + src: url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Medium-a4b302b56c07e87c3428227270d313fa.woff2") format("woff2"), url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Medium-86c6d121f1d396c123e9f2b0b18040a0.woff") format("woff"); } @font-face { - font-family: "Inter"; + font-family: Inter; font-style: normal; font-weight: 700; font-display: swap; - src: - url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Bold-8506a8d02c2e819508bc53d65de6795a.woff2") - format("woff2"), - url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Bold-0a1242bedd6453e33ea8bfb1a7fb2af4.woff") - format("woff"); + src: url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Bold-8506a8d02c2e819508bc53d65de6795a.woff2") format("woff2"), url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Bold-0a1242bedd6453e33ea8bfb1a7fb2af4.woff") format("woff"); } body, html { @@ -86,7 +70,7 @@ a:focus { p, li, figcaption { - font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif !important; + font-family: "Inter", "Helvetica Neue", helvetica, arial, sans-serif !important; font-size: 1rem !important; color: #1c1e23 !important; } @@ -168,7 +152,7 @@ h4 { /* Form label */ .form-label { color: #1c1e23 !important; - font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif !important; + font-family: "Inter", "Helvetica Neue", helvetica, arial, sans-serif !important; font-size: 1rem !important; } @@ -191,7 +175,7 @@ h4 { /* Help text */ .sub-heading { color: #494f5c !important; - font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif !important; + font-family: "Inter", "Helvetica Neue", helvetica, arial, sans-serif !important; font-size: 1rem !important; line-height: 1.2 !important; } @@ -207,7 +191,7 @@ h4 { .regexErrorLabel, .datePickerFormatError { font-style: normal !important; - font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif !important; + font-family: "Inter", "Helvetica Neue", helvetica, arial, sans-serif !important; font-size: 1rem !important; color: #b3000f !important; } @@ -228,7 +212,7 @@ h4 { } /* Color for field required asterisks */ -.form-label-required span[role="presentation"], +.form-label-required span[role=presentation], .form-label-required span[style="color: red;"] { color: #b3000f !important; } @@ -239,13 +223,13 @@ textarea { } /* Focus for all text fields */ -input[type="text"]:focus, +input[type=text]:focus, textarea:focus { border: 2px solid #165c96 !important; } /* Remove shadow on all text fields except the large text field */ -input[type="text"].textfield:focus { +input[type=text].textfield:focus { box-shadow: none !important; } @@ -268,7 +252,7 @@ input[type="text"].textfield:focus { .k-file-name, .k-file-size, .k-file-validation-message { - font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif !important; + font-family: "Inter", "Helvetica Neue", helvetica, arial, sans-serif !important; font-weight: 400; font-size: 1rem !important; } @@ -298,7 +282,7 @@ input[type="text"].textfield:focus { /* Make upload error message darker */ .k-file-invalid .k-file-validation-message { - font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif !important; + font-family: "Inter", "Helvetica Neue", helvetica, arial, sans-serif !important; font-size: 1rem !important; color: #b3000f !important; } @@ -310,7 +294,7 @@ input[type="text"].textfield:focus { } /* Make upload "invalid files" error message darker */ .validation-text.fileUploadErrorLabel.truncateWithEllipsis { - font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif !important; + font-family: "Inter", "Helvetica Neue", helvetica, arial, sans-serif !important; font-size: 1rem !important; color: #b3000f !important; } @@ -347,7 +331,7 @@ input[type="text"].textfield:focus { color: #0b2f4c !important; font-style: normal !important; font-weight: 700 !important; - font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif !important; + font-family: "Inter", "Helvetica Neue", helvetica, arial, sans-serif !important; font-size: 1rem !important; margin-bottom: 2rem !important; width: 100% !important; @@ -390,7 +374,7 @@ input, #divWorkflowContent .buttonPopup.blue, .buttonPopup.blue.big, #noBtn.buttonPopup.big { - font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif !important; + font-family: "Inter", "Helvetica Neue", helvetica, arial, sans-serif !important; font-weight: 500 !important; text-align: center !important; white-space: nowrap !important; diff --git a/build/stylesheets/youth.css b/build/stylesheets/youth.css index 9da2de5b..4e8cad42 100644 --- a/build/stylesheets/youth.css +++ b/build/stylesheets/youth.css @@ -15,48 +15,32 @@ html { /* Add Inter font */ @font-face { - font-family: "Inter"; + font-family: Inter; font-style: normal; font-weight: 400; font-display: swap; - src: - url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Regular-ada67516bfcb321d3af9a10b5ac85969.woff2") - format("woff2"), - url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Regular-3ca46ee35e2e0a102cb63a64629ff935.woff") - format("woff"); + src: url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Regular-ada67516bfcb321d3af9a10b5ac85969.woff2") format("woff2"), url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Regular-3ca46ee35e2e0a102cb63a64629ff935.woff") format("woff"); } @font-face { - font-family: "Inter"; + font-family: Inter; font-style: italic; font-weight: 400; font-display: swap; - src: - url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Italic-bc389a025ce24c8a922a75a14efb9849.woff2") - format("woff2"), - url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Italic-8b0d16839ccd5eb17d2d2c57fc7b879c.woff") - format("woff"); + src: url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Italic-bc389a025ce24c8a922a75a14efb9849.woff2") format("woff2"), url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Italic-8b0d16839ccd5eb17d2d2c57fc7b879c.woff") format("woff"); } @font-face { - font-family: "Inter"; + font-family: Inter; font-style: normal; font-weight: 500; font-display: swap; - src: - url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Medium-a4b302b56c07e87c3428227270d313fa.woff2") - format("woff2"), - url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Medium-86c6d121f1d396c123e9f2b0b18040a0.woff") - format("woff"); + src: url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Medium-a4b302b56c07e87c3428227270d313fa.woff2") format("woff2"), url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Medium-86c6d121f1d396c123e9f2b0b18040a0.woff") format("woff"); } @font-face { - font-family: "Inter"; + font-family: Inter; font-style: normal; font-weight: 700; font-display: swap; - src: - url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Bold-8506a8d02c2e819508bc53d65de6795a.woff2") - format("woff2"), - url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Bold-0a1242bedd6453e33ea8bfb1a7fb2af4.woff") - format("woff"); + src: url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Bold-8506a8d02c2e819508bc53d65de6795a.woff2") format("woff2"), url("https://simpligov-prod.azureedge.net/prod/content/fonts/Inter-UI-Bold-0a1242bedd6453e33ea8bfb1a7fb2af4.woff") format("woff"); } body, html { @@ -86,7 +70,7 @@ a:focus { p, li, figcaption { - font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif !important; + font-family: "Inter", "Helvetica Neue", helvetica, arial, sans-serif !important; font-size: 1rem !important; color: #1c1e23 !important; } @@ -168,7 +152,7 @@ h4 { /* Form label */ .form-label { color: #1c1e23 !important; - font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif !important; + font-family: "Inter", "Helvetica Neue", helvetica, arial, sans-serif !important; font-size: 1rem !important; } @@ -191,7 +175,7 @@ h4 { /* Help text */ .sub-heading { color: #494f5c !important; - font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif !important; + font-family: "Inter", "Helvetica Neue", helvetica, arial, sans-serif !important; font-size: 1rem !important; line-height: 1.2 !important; } @@ -207,7 +191,7 @@ h4 { .regexErrorLabel, .datePickerFormatError { font-style: normal !important; - font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif !important; + font-family: "Inter", "Helvetica Neue", helvetica, arial, sans-serif !important; font-size: 1rem !important; color: #b3000f !important; } @@ -228,7 +212,7 @@ h4 { } /* Color for field required asterisks */ -.form-label-required span[role="presentation"], +.form-label-required span[role=presentation], .form-label-required span[style="color: red;"] { color: #b3000f !important; } @@ -239,13 +223,13 @@ textarea { } /* Focus for all text fields */ -input[type="text"]:focus, +input[type=text]:focus, textarea:focus { border: 2px solid #165c96 !important; } /* Remove shadow on all text fields except the large text field */ -input[type="text"].textfield:focus { +input[type=text].textfield:focus { box-shadow: none !important; } @@ -268,7 +252,7 @@ input[type="text"].textfield:focus { .k-file-name, .k-file-size, .k-file-validation-message { - font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif !important; + font-family: "Inter", "Helvetica Neue", helvetica, arial, sans-serif !important; font-weight: 400; font-size: 1rem !important; } @@ -298,7 +282,7 @@ input[type="text"].textfield:focus { /* Make upload error message darker */ .k-file-invalid .k-file-validation-message { - font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif !important; + font-family: "Inter", "Helvetica Neue", helvetica, arial, sans-serif !important; font-size: 1rem !important; color: #b3000f !important; } @@ -310,7 +294,7 @@ input[type="text"].textfield:focus { } /* Make upload "invalid files" error message darker */ .validation-text.fileUploadErrorLabel.truncateWithEllipsis { - font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif !important; + font-family: "Inter", "Helvetica Neue", helvetica, arial, sans-serif !important; font-size: 1rem !important; color: #b3000f !important; } @@ -347,7 +331,7 @@ input[type="text"].textfield:focus { color: #0b2f4c !important; font-style: normal !important; font-weight: 700 !important; - font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif !important; + font-family: "Inter", "Helvetica Neue", helvetica, arial, sans-serif !important; font-size: 1rem !important; margin-bottom: 2rem !important; width: 100% !important; @@ -390,7 +374,7 @@ input, #divWorkflowContent .buttonPopup.blue, .buttonPopup.blue.big, #noBtn.buttonPopup.big { - font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif !important; + font-family: "Inter", "Helvetica Neue", helvetica, arial, sans-serif !important; font-weight: 500 !important; text-align: center !important; white-space: nowrap !important; @@ -763,5 +747,8 @@ button.close:active:hover { font-size: 1.1487rem !important; } } +.form-submit-button { + display: none; +} /*# sourceMappingURL=youth.css.map */ diff --git a/build/stylesheets/youth.css.map b/build/stylesheets/youth.css.map index 3c937837..631dd360 100644 --- a/build/stylesheets/youth.css.map +++ b/build/stylesheets/youth.css.map @@ -1 +1 @@ -{"version":3,"sourceRoot":"","sources":["../../stylesheets/partials/_common.scss","../../stylesheets/partials/_base-applicant.scss","../../stylesheets/partials/_variables.scss","../../stylesheets/partials/_buttons.scss","../../stylesheets/partials/_alerts.scss","../../stylesheets/partials/_photo-grid.scss","../../stylesheets/youth.scss"],"names":[],"mappings":"AAGA;AAAA;EAEE;;;AAGF;AACA;EACE;;;AAGF;AACA;EACE;;;AAGF;AACA;EACE;EACA;EACA;EACA;EACA;;AAMF;EACE;EACA;EACA;EACA;EACA;;AAMF;EACE;EACA;EACA;EACA;EACA;;AAMF;EACE;EACA;EACA;EACA;EACA;;ACvDF;AAAA;EAEE;EACA;;;AAGF;AACA;EACE,OCTc;EDUd;;;AAGF;AAAA;EAEE,OCdsB;EDetB;;;AAGF;EACE;EACA;EACA;;;AAGF;AACA;AAAA;AAAA;EAGE;EACA;EACA;;;AAGF;EACE;AAAA;AAAA;IAGE;;;AAIJ;AAAA;AAAA;AAAA;AAAA;EAKE;EACA;EACA;;;AAGF;EACE;;;AAGF;EACE;IACE;;;AAIJ;EACE;;;AAGF;EACE;IACE;;;AAIJ;EACE;;;AAGF;EACE;IACE;;;AAIJ;EACE;;;AAGF;EACE;IACE;;;AAIJ;AACA;EACE;EACA;;;AAGF;AACA;EACE;;;AAGF;AACA;EACE;;;AAGF;AACA;EACE;;;AAGF;AACA;EACE;EACA;EACA;;;AAGF;EACE;IACE;;;AAIJ;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;EAOE;;;AAGF;AACA;EACE;EACA;EACA;EACA;;;AAGF;EACE;IACE;;;AAIJ;AACA;AAAA;AAAA;AAAA;EAIE;EACA;EACA;EACA;;;AAGF;EACE;AAAA;AAAA;AAAA;IAIE;;;AAIJ;AACA;AAAA;EAEE;EACA;;;AAGF;AACA;AAAA;EAEE;;;AAGF;AACA;EACE;;;AAGF;AACA;AAAA;EAEE;;;AAGF;AACA;EACE;;;AAGF;AACA;AAAA;AAAA;EAGE;EACA;;;AAGF;AACA;EACE;;;AAGF;AACA;AAAA;AAAA;AAAA;AAAA;EAKE;EACA;EACA;;;AAGF;EACE;AAAA;AAAA;AAAA;AAAA;IAKE;;;AAIJ;AACA;AAAA;AAAA;AAAA;AAAA;EAKE;;;AAGF;AACA;EACE;;;AAGF;AACA;EACE;EACA;EACA;;;AAGF;EACE;IACE;;;AAIJ;AACA;EACE;EACA;EACA;;;AAGF;EACE;IACE;;;AAIJ;AACA;EACE;;;AAGF;AACA;EACE;EACA;EACA;;;AAGF;EACE;IACE;;;AAIJ;AACA;EACE;;;AAGF;AACA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGF;EACE;IACE;;;AAIJ;AACA;EACE;EACA;;;AAGF;AACA;EACE;EACA;;;AAGF;AACA;AAAA;EAEE;;;AAGF;AACA;AAAA;EAEE;;;AE/UF;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;EAME;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGF;AACA;AAAA;AAAA;AAAA;EAIE;EACA;EACA;;;AAGF;AACA;AAAA;EAEE;EACA;EACA;;;AAGF;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;EAeE;EACA;EACA;;;AAGF;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;EAME;EACA;EACA;;;AAGF;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;EAYE;EACA;EACA;;;AAGF;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;EAQE;EACA;EACA;EACA;;;AAGF;AACA;EACE;EACA;EACA;;;AAGF;AACA;AAAA;AAAA;AAAA;EAIE,kBDxHuB;ECyHvB;EACA;;;AAGF;AACA;AAAA;AAAA;EAGE;;;AAGF;AACA;AAAA;EAEE;;;AAGF;AACA;EACE;;;AAGF;AACA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGF;AACA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGF;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;EAME;EACA;;;AAGF;AACA;AAAA;AAAA;AAAA;EAIE;EACA;EACA;;;AAGF;AACA;AAAA;AAAA;AAAA;EAIE;EACA;EACA;;;AC/MF;AACA;AAAA;EAEE;EACA;;;AAGF;AAAA;EAEE;EACA;;;AAGF;AAAA;EAEE;EACA;;;AAGF;AAAA;EAEE;;;AAGF;AAAA;EAEE;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGF;AAAA;EAEE;EACA;EACA;EACA;EACA;EACA;;;AAGF;AACA;EACE,kBFhCmB;EEiCnB;;;AAGF;AACA;EACE,kBFnDgC;EEoDhC;;;ACtDF;AACA;EACE;EACA;EACA;EACA;;;AAGF;EACE;IACE;IACA;IACA;IACA;;;AAIJ;AACA;EACE;;;AAGF;AACA;EACE;IACE;IACA;;;AAIJ;EACE;IACE;IACA;;;AAIJ;EACE;IACE;IACA;;;AAIJ;AACA;EACE;EACA;EACA;;;AAGF;EACE;IACE;;;AAIJ;AACA;EACE;EACA;;;AAGF;EACE;IACE;;;AAIJ;AACA;EACE;EACA;EACA;;;AAGF;EACE;IACE;;;AAIJ;AACA;EACE;EACA;EACA;;;AAGF;EACE,OHxEc;;;AG2EhB;EACE,OHhFW;;;AIdb;AACA;AAAA;AAAA;AAAA;EAIE;EACA;EACA;;;AAGF;AACA;EACE;EACA;EACA;EACA;;;AAGF;EACE;IACE","file":"youth.css"} \ No newline at end of file +{"version":3,"sourceRoot":"","sources":["../../stylesheets/partials/_common.scss","../../stylesheets/partials/_base-applicant.scss","../../stylesheets/partials/_variables.scss","../../stylesheets/partials/_buttons.scss","../../stylesheets/partials/_alerts.scss","../../stylesheets/partials/_photo-grid.scss","../../stylesheets/youth.scss"],"names":[],"mappings":"AAGA;AAAA;EAEE;;;AAGF;AACA;EACE;;;AAGF;AACA;EACE;;;AAGF;AACA;EACE;EACA;EACA;EACA;EACA;;AAMF;EACE;EACA;EACA;EACA;EACA;;AAMF;EACE;EACA;EACA;EACA;EACA;;AAMF;EACE;EACA;EACA;EACA;EACA;;ACvDF;AAAA;EAEE;EACA;;;AAGF;AACA;EACE,OCTc;EDUd;;;AAGF;AAAA;EAEE,OCdsB;EDetB;;;AAGF;EACE;EACA;EACA;;;AAGF;AACA;AAAA;AAAA;EAGE;EACA;EACA;;;AAGF;EACE;AAAA;AAAA;IAGE;;;AAIJ;AAAA;AAAA;AAAA;AAAA;EAKE;EACA;EACA;;;AAGF;EACE;;;AAGF;EACE;IACE;;;AAIJ;EACE;;;AAGF;EACE;IACE;;;AAIJ;EACE;;;AAGF;EACE;IACE;;;AAIJ;EACE;;;AAGF;EACE;IACE;;;AAIJ;AACA;EACE;EACA;;;AAGF;AACA;EACE;;;AAGF;AACA;EACE;;;AAGF;AACA;EACE;;;AAGF;AACA;EACE;EACA;EACA;;;AAGF;EACE;IACE;;;AAIJ;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;EAOE;;;AAGF;AACA;EACE;EACA;EACA;EACA;;;AAGF;EACE;IACE;;;AAIJ;AACA;AAAA;AAAA;AAAA;EAIE;EACA;EACA;EACA;;;AAGF;EACE;AAAA;AAAA;AAAA;IAIE;;;AAIJ;AACA;AAAA;EAEE;EACA;;;AAGF;AACA;AAAA;EAEE;;;AAGF;AACA;EACE;;;AAGF;AACA;AAAA;EAEE;;;AAGF;AACA;EACE;;;AAGF;AACA;AAAA;AAAA;EAGE;EACA;;;AAGF;AACA;EACE;;;AAGF;AACA;AAAA;AAAA;AAAA;AAAA;EAKE;EACA;EACA;;;AAGF;EACE;AAAA;AAAA;AAAA;AAAA;IAKE;;;AAIJ;AACA;AAAA;AAAA;AAAA;AAAA;EAKE;;;AAGF;AACA;EACE;;;AAGF;AACA;EACE;EACA;EACA;;;AAGF;EACE;IACE;;;AAIJ;AACA;EACE;EACA;EACA;;;AAGF;EACE;IACE;;;AAIJ;AACA;EACE;;;AAGF;AACA;EACE;EACA;EACA;;;AAGF;EACE;IACE;;;AAIJ;AACA;EACE;;;AAGF;AACA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGF;EACE;IACE;;;AAIJ;AACA;EACE;EACA;;;AAGF;AACA;EACE;EACA;;;AAGF;AACA;AAAA;EAEE;;;AAGF;AACA;AAAA;EAEE;;;AE/UF;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;EAME;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGF;AACA;AAAA;AAAA;AAAA;EAIE;EACA;EACA;;;AAGF;AACA;AAAA;EAEE;EACA;EACA;;;AAGF;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;EAeE;EACA;EACA;;;AAGF;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;EAME;EACA;EACA;;;AAGF;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;EAYE;EACA;EACA;;;AAGF;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;EAQE;EACA;EACA;EACA;;;AAGF;AACA;EACE;EACA;EACA;;;AAGF;AACA;AAAA;AAAA;AAAA;EAIE,kBDxHuB;ECyHvB;EACA;;;AAGF;AACA;AAAA;AAAA;EAGE;;;AAGF;AACA;AAAA;EAEE;;;AAGF;AACA;EACE;;;AAGF;AACA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGF;AACA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGF;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;EAME;EACA;;;AAGF;AACA;AAAA;AAAA;AAAA;EAIE;EACA;EACA;;;AAGF;AACA;AAAA;AAAA;AAAA;EAIE;EACA;EACA;;;AC/MF;AACA;AAAA;EAEE;EACA;;;AAGF;AAAA;EAEE;EACA;;;AAGF;AAAA;EAEE;EACA;;;AAGF;AAAA;EAEE;;;AAGF;AAAA;EAEE;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGF;AAAA;EAEE;EACA;EACA;EACA;EACA;EACA;;;AAGF;AACA;EACE,kBFhCmB;EEiCnB;;;AAGF;AACA;EACE,kBFnDgC;EEoDhC;;;ACtDF;AACA;EACE;EACA;EACA;EACA;;;AAGF;EACE;IACE;IACA;IACA;IACA;;;AAIJ;AACA;EACE;;;AAGF;AACA;EACE;IACE;IACA;;;AAIJ;EACE;IACE;IACA;;;AAIJ;EACE;IACE;IACA;;;AAIJ;AACA;EACE;EACA;EACA;;;AAGF;EACE;IACE;;;AAIJ;AACA;EACE;EACA;;;AAGF;EACE;IACE;;;AAIJ;AACA;EACE;EACA;EACA;;;AAGF;EACE;IACE;;;AAIJ;AACA;EACE;EACA;EACA;;;AAGF;EACE,OHxEc;;;AG2EhB;EACE,OHhFW;;;AIdb;AACA;AAAA;AAAA;AAAA;EAIE;EACA;EACA;;;AAGF;AACA;EACE;EACA;EACA;EACA;;;AAGF;EACE;IACE;;;AAIJ;EACE","file":"youth.css"} \ No newline at end of file diff --git a/cypress/automated-tests/youth-pass/address-section-required-fields.cy.js b/cypress/automated-tests/youth-pass/address-section-required-fields.cy.js deleted file mode 100644 index 3c949408..00000000 --- a/cypress/automated-tests/youth-pass/address-section-required-fields.cy.js +++ /dev/null @@ -1,180 +0,0 @@ -import { faker } from '@faker-js/faker'; -import { getRandomApplicantAge } from '../../common/birthdate-constants'; -import { ifProgramYearFieldExists } from '../../common/if-program-year-field-exists'; - -describe('Youth Pass Address Section Required Fields', () => { - - // this test follows the by mail flow - it('proceeds through an application', () => { - const applicantZipCode = '02114'; - const youthPassUrl = Cypress.env('youth_pass_url'); - const applicantBirthdate = getRandomApplicantAge().applicantBirthdate12to17; - const applicantSchoolName = `Automation Testing ${faker.datatype.number()} School`; - const applicantFirstName = faker.name.firstName(); - const applicantLastName = faker.name.lastName(); - const applicantPhoneNumber = faker.phone.phoneNumberFormat(); - const applicantEmailAddress = `Automation_Testing_${faker.datatype.number()}@example.com`; - - cy.visit(youthPassUrl); - cy.get('#form-section-0 > .form-section-buttons > .form-section-next').click(); - cy.get('#form-section-1 > .form-section-buttons > .form-section-next').click(); - cy.get('#element105').type(applicantZipCode).blur(); - cy.get('#element15').type(applicantBirthdate).blur(); - cy.get('#form-section-2 > .form-section-buttons > .form-section-next').click(); - - cy.get('#element159_Yes').should('be.visible'); - cy.get('#element159_Yes').click().blur(); - cy.get('#element160_No').click().blur(); - cy.get('#element163').type(applicantSchoolName).blur(); - cy.get('#form-section-3 > .form-section-buttons > .form-section-next').click(); - - cy.get('#element116_Apply').click().blur(); - ifProgramYearFieldExists(() => { - cy.get('#element260_Current').click().blur(); - }); - cy.get('#element11').type(applicantFirstName).blur(); - cy.get('#element13').type(applicantLastName).blur(); - cy.get('#form-section-5 > .form-section-buttons > .form-section-next').click(); - - cy.get('#element17').type(applicantPhoneNumber).blur(); - cy.get('#element18').type(applicantEmailAddress).blur(); - cy.get('#form-section-6 > .form-section-buttons > .form-section-next').click(); - }); - - it('does not fill any home address fields and sees required field errors', () => { - cy.get('#form-section-7 > .form-section-buttons > .form-submit-button').click(); - cy.get('#form-element-wrapper_242').within(() => { - cy.get('div.required-text').should('be.visible'); - }); - cy.get('#form-element-wrapper_101').within(() => { - cy.get('div.required-text').should('be.visible'); - }); - cy.get('#form-element-wrapper_101').within(() => { - cy.get('div.required-text').should('be.visible'); - }); - cy.get('#form-element-wrapper_103').within(() => { - cy.get('div.required-text').should('be.visible'); - }); - cy.get('#form-element-wrapper_154').within(() => { - cy.get('div.required-text').should('be.visible'); - }); - }); - - it('only selects card delivery method and sees required field errors', () => { - cy.get('#element242_Mail').click().blur(); - cy.get('#form-section-7 > .form-section-buttons > .form-submit-button').click(); - cy.get('#form-element-wrapper_242').within(() => { - cy.get('div.required-text').should('not.be.visible'); - }); - cy.get('#form-element-wrapper_101').within(() => { - cy.get('div.required-text').should('be.visible'); - }); - cy.get('#form-element-wrapper_103').within(() => { - cy.get('div.required-text').should('be.visible'); - }); - cy.get('#form-element-wrapper_154').within(() => { - cy.get('div.required-text').should('be.visible'); - }); - cy.get('#form-element-wrapper_122').within(() => { - cy.get('div.required-text').should('be.visible'); - }); - }); - - it('only fills home street address and sees required field errors', () => { - const applicantStreetAddress = `${faker.datatype.number()} ${faker.address.streetName()} ${faker.address.streetSuffix()}`; - - cy.get('#element101').type(applicantStreetAddress).blur(); - cy.get('#form-section-7 > .form-section-buttons > .form-submit-button').click(); - cy.get('#form-element-wrapper_101').within(() => { - cy.get('div.required-text').should('not.be.visible'); - }); - cy.get('#form-element-wrapper_103').within(() => { - cy.get('div.required-text').should('be.visible'); - }); - cy.get('#form-element-wrapper_154').within(() => { - cy.get('div.required-text').should('be.visible'); - }); - cy.get('#form-element-wrapper_122').within(() => { - cy.get('div.required-text').should('be.visible'); - }); - }); - - it('does not fill home zip or same address boolean and sees required field errors', () => { - const applicantCity = faker.address.city(); - - cy.get('#element103').type(applicantCity).blur(); - cy.get('#form-section-7 > .form-section-buttons > .form-submit-button').click(); - cy.get('#form-element-wrapper_103').within(() => { - cy.get('div.required-text').should('not.be.visible'); - }); - cy.get('#form-element-wrapper_154').within(() => { - cy.get('div.required-text').should('be.visible'); - }); - cy.get('#form-element-wrapper_122').within(() => { - cy.get('div.required-text').should('be.visible'); - }); - }); - - it('does not fill same address boolean and sees required field errors', () => { - const applicantZipCode = '02114'; - - cy.get('#element154').type(applicantZipCode).blur(); - cy.get('#form-section-7 > .form-section-buttons > .form-submit-button').click(); - cy.get('#form-element-wrapper_154').within(() => { - cy.get('div.required-text').should('not.be.visible'); - }); - cy.get('#form-element-wrapper_122').within(() => { - cy.get('div.required-text').should('be.visible'); - }); - }); - - it('does not fill any mailing address fields and sees required field errors', () => { - cy.get('#element122_No').click().blur(); - cy.get('#form-section-7 > .form-section-buttons > .form-submit-button').click(); - cy.get('#form-element-wrapper_117').within(() => { - cy.get('div.required-text').should('be.visible'); - }); - cy.get('#form-element-wrapper_119').within(() => { - cy.get('div.required-text').should('be.visible'); - }); - cy.get('#form-element-wrapper_121').within(() => { - cy.get('div.required-text').should('be.visible'); - }); - }); - - it('only fills mailing street address and sees required field errors', () => { - const applicantMailingAddress = `${faker.datatype.number()} ${faker.address.streetName()} ${faker.address.streetSuffix()}`; - - cy.get('#element117').type(applicantMailingAddress).blur(); - cy.get('#form-section-7 > .form-section-buttons > .form-submit-button').click(); - cy.get('#form-element-wrapper_117').within(() => { - cy.get('div.required-text').should('not.be.visible'); - }); - cy.get('#form-element-wrapper_119').within(() => { - cy.get('div.required-text').should('be.visible'); - }); - cy.get('#form-element-wrapper_121').within(() => { - cy.get('div.required-text').should('be.visible'); - }); - }); - - it('does not fill mailing zip and sees required field errors', () => { - const applicantMailingCity = faker.address.city(); - - cy.get('#element119').type(applicantMailingCity).blur(); - cy.get('#form-section-7 > .form-section-buttons > .form-submit-button').click(); - cy.get('#form-element-wrapper_119').within(() => { - cy.get('div.required-text').should('not.be.visible'); - }); - cy.get('#form-element-wrapper_121').within(() => { - cy.get('div.required-text').should('be.visible'); - }); - }); - - it('fills mailing zip and sees no required field errors', () => { - const applicantMailingZipCode = '02149'; - - cy.get('#element121').type(applicantMailingZipCode).blur(); - cy.get('div.required-text').should('not.be.visible'); - }); -}); diff --git a/cypress/automated-tests/youth-pass/eligibility-checker-blockers.cy.js b/cypress/automated-tests/youth-pass/eligibility-checker-blockers.cy.js deleted file mode 100644 index d4912549..00000000 --- a/cypress/automated-tests/youth-pass/eligibility-checker-blockers.cy.js +++ /dev/null @@ -1,86 +0,0 @@ -import { getRandomApplicantAge } from '../../common/birthdate-constants'; - -describe('Eligibility Checker Blockers', () => { - const youthPassUrl = Cypress.env('youth_pass_url'); - const eligibleZipCode = '02114'; - - it('enters a random ineligible zip code', () => { - // all eligible zip codes currently start with "0", so starting any random 5-digit number with "1" should guarantee an ineligible zip without hardcoding - const ineligibleZipCode = Math.floor(Math.random() * 90000) + 10000; - - cy.visit(youthPassUrl); - cy.get('#form-section-0 > .form-section-buttons > .form-section-next').click(); - cy.get('#form-section-1 > .form-section-buttons > .form-section-next').click(); - cy.get('#form-element-wrapper_182').should('not.be.visible'); - - cy.get('#element105').type(ineligibleZipCode).blur(); - cy.get('#form-element-wrapper_182').should('be.visible'); - cy.get('#form-section-2 > .form-section-buttons > .form-section-next').should('not.be.visible'); - }); - - it('enters an age below 12', () => { - const ineligibleBirthdateTooYoung = getRandomApplicantAge().applicantBirthdateTooYoung; - - cy.reload(); - cy.get('#form-section-0 > .form-section-buttons > .form-section-next').click(); - cy.get('#form-section-1 > .form-section-buttons > .form-section-next').click(); - cy.get('#element105').type(eligibleZipCode).blur(); - cy.get('#form-element-wrapper_171').should('not.be.visible'); - - cy.get('#element15').type(ineligibleBirthdateTooYoung).blur(); - cy.get('#form-element-wrapper_171').should('be.visible'); - cy.get('#form-section-2 > .form-section-buttons > .form-section-next').should('not.be.visible'); -}); - - it('enters an age above 25', () => { - const ineligibleBirthdateTooOld = getRandomApplicantAge().applicantBirthdateTooOld; - - cy.reload(); - cy.get('#form-section-0 > .form-section-buttons > .form-section-next').click(); - cy.get('#form-section-1 > .form-section-buttons > .form-section-next').click(); - cy.get('#element105').type(eligibleZipCode).blur(); - cy.get('#form-element-wrapper_172').should('not.be.visible'); - - cy.get('#element15').type(ineligibleBirthdateTooOld).blur(); - cy.get('#form-element-wrapper_172').should('be.visible'); - cy.get('#form-section-2 > .form-section-buttons > .form-section-next').should('not.be.visible'); - }); - - it('is able or may be able to get a student pass through school', () => { - const eligibleBirthdate12to17 = getRandomApplicantAge().applicantBirthdate12to17; - - cy.reload(); - cy.get('#form-section-0 > .form-section-buttons > .form-section-next').click(); - cy.get('#form-section-1 > .form-section-buttons > .form-section-next').click(); - cy.get('#element105').type(eligibleZipCode).blur(); - cy.get('#element15').type(eligibleBirthdate12to17).blur(); - cy.get('#form-section-2 > .form-section-buttons > .form-section-next').click(); - cy.get('#form-element-wrapper_161').should('not.be.visible'); - cy.get('#form-element-wrapper_162').should('not.be.visible'); - - cy.get('#element159_Yes').click().blur(); - cy.get('#element160_Yes').click().blur(); - cy.get('#form-element-wrapper_161').should('be.visible'); - - cy.get('#element160_Unsure').click().blur(); - cy.get('#form-element-wrapper_162').should('be.visible'); - cy.get('#form-section-3 > .form-section-buttons > .form-section-next').should('not.be.visible'); - }); - - it('does not participate in a partner program', () => { - const eligibleBirthdate18to25 = getRandomApplicantAge().applicantBirthdate18to25; - - cy.reload(); - cy.get('#form-section-0 > .form-section-buttons > .form-section-next').click(); - cy.get('#form-section-1 > .form-section-buttons > .form-section-next').click(); - cy.get('#element105').type(eligibleZipCode).blur(); - cy.get('#element15').type(eligibleBirthdate18to25).blur(); - cy.get('#form-section-2 > .form-section-buttons > .form-section-next').click(); - cy.get('#form-element-wrapper_165').should('not.be.visible'); - - cy.get('#element164_No').click().blur(); - cy.get('#form-element-wrapper_165').should('be.visible'); - cy.get('#form-section-4 > .form-section-buttons > .form-section-next').should('not.be.visible'); - }); -}); - diff --git a/cypress/automated-tests/youth-pass/file-type-upload.cy.js b/cypress/automated-tests/youth-pass/file-type-upload.cy.js deleted file mode 100644 index 6a4b2e48..00000000 --- a/cypress/automated-tests/youth-pass/file-type-upload.cy.js +++ /dev/null @@ -1,128 +0,0 @@ -import { faker } from '@faker-js/faker'; -import { getRandomApplicantAge } from '../../common/birthdate-constants'; - -describe('Youth Pass File Uploads', () => { - - // this test follows the in-person false flow - it('proceeds through an application', () => { - const youthPassUrl = Cypress.env('youth_pass_url'); - const applicantFirstName = faker.name.firstName(); - const applicantLastName = faker.name.lastName(); - const applicantEmailAddress = `Automation_Testing_${faker.datatype.number()}@example.com`; - const applicantPhoneNumber = faker.phone.phoneNumberFormat(); - const applicantBirthdate = getRandomApplicantAge().applicantBirthdate18to25; - const applicantStreetAddress = `${faker.datatype.number()} ${faker.address.streetName()} ${faker.address.streetSuffix()}`; - const applicantCity = faker.address.city(); - const applicantZipCode = '02149'; - - cy.visit(youthPassUrl); - cy.get('#form-section-0 > .form-section-buttons > .form-section-next').click(); - cy.get('#form-section-1 > .form-section-buttons > .form-section-next').click(); - cy.get('#element105').type(applicantZipCode).blur(); - cy.get('#element15').type(applicantBirthdate).blur(); - cy.get('#form-section-2 > .form-section-buttons > .form-section-next').click(); - - cy.get('#element164_Yes').click().blur(); - cy.get('#form-section-4 > .form-section-buttons > .form-section-next').click(); - - cy.get('#element116_Apply').click().blur(); - cy.get('#element11').type(applicantFirstName).blur(); - cy.get('#element13').type(applicantLastName).blur(); - cy.get('#form-section-5 > .form-section-buttons > .form-section-next').click(); - - cy.get('#element17').type(applicantPhoneNumber).blur(); - cy.get('#element18').type(applicantEmailAddress).blur(); - cy.get('#form-section-6 > .form-section-buttons > .form-section-next').click(); - - cy.get('#element101').type(applicantStreetAddress).blur(); - cy.get('#element103').type(applicantCity).blur(); - cy.get('#element154').type(applicantZipCode).blur(); - cy.get('#element122_Yes').click().blur(); - cy.get('#form-section-7 > .form-section-buttons > .form-section-next').click(); - }); - - it('fails to upload a DOCX file to proof of age', () => { - cy.get('#element114_Option_1').click().blur(); - cy.get('#element133').attachFile('youth-pass-test-file.docx'); - cy.get('.k-text-error').should('exist'); - cy.get('#form-element-wrapper_133').within(() => { - cy.get('.k-upload-status > .k-button').click(); - }); - cy.get('.k-text-error').should('not.exist'); - }); - - it('successfully uploads a GIF file to proof of age', () => { - cy.get('#element133').attachFile('youth-pass-test-image.gif'); - cy.get('.k-text-success').should('exist'); - cy.get('#form-element-wrapper_133').within(() => { - cy.get('.k-upload-status > .k-button').click(); - cy.get('.k-text-success').should('not.exist'); - }) - }); - - it('fails to upload an HTML file to proof of age', () => { - cy.get('#element133').attachFile('youth-pass-test-file.html'); - cy.get('.k-text-error').should('exist'); - cy.get('#form-element-wrapper_133').within(() => { - cy.get('.k-upload-status > .k-button').click(); - cy.get('.k-text-error').should('not.exist'); - }) - }); - - it('successfully uploads a JPEG file to proof of age', () => { - cy.get('#element133').attachFile('youth-pass-test-image.jpeg') - cy.get('.k-text-success').should('exist'); - cy.get('#form-section-8 > .form-section-buttons > .form-section-next').click(); - }); - - it('fails to upload a DOCX file to proof of address', () => { - cy.get('#element135_Option_1').click().blur(); - cy.get('#element39').attachFile('youth-pass-test-file.js'); - cy.get('.k-text-error').should('exist'); - cy.get('#form-element-wrapper_39').within(() => { - cy.get('.k-upload-status > .k-button').click(); - cy.get('.k-text-error').should('not.exist'); - }); - }); - - it('successfully uploads a JPG file to proof of address', () => { - cy.get('#element39').attachFile('youth-pass-test-image.jpg'); - cy.get('.k-text-success').should('exist'); - cy.get('#form-element-wrapper_39').within(() => { - cy.get('.k-upload-status > .k-button').click(); - cy.get('.k-text-success').should('not.exist'); - }); - }); - - it('fails to upload a JSON file to proof of address', () => { - cy.get('#element39').attachFile('youth-pass-test-file.json'); - cy.get('.k-text-error').should('exist'); - cy.get('#form-element-wrapper_39').within(() => { - cy.get('.k-upload-status > .k-button').click(); - cy.get('.k-text-error').should('not.exist'); - }); - }); - - it('successfully uploads a PDF file to proof of address', () => { - cy.get('#element39').attachFile('youth-pass-test-image.pdf') - cy.get('.k-text-success').should('exist'); - cy.get('#form-section-9 > .form-section-buttons > .form-section-next').click(); - }); - - it('fails to upload an RTF file to proof of program enrollment', () => { - cy.get('#element42').select('Child Care (DTA, EEC)', { force: true }); - cy.get('#element136').attachFile('youth-pass-test-file.rtf') - cy.get('.k-text-error').should('exist'); - cy.get('#form-element-wrapper_136').within(() => { - cy.get('.k-upload-status > .k-button').click(); - cy.get('.k-text-error').should('not.exist'); - }) - }); - - it('fails to upload an XLSX file to proof of program enrollment', () => { - cy.get('#element136').attachFile('youth-pass-test-file.xlsx') - cy.get('#form-element-wrapper_136').within(() => { - cy.get('.k-text-error').should('exist'); - }) - }); -}); diff --git a/cypress/automated-tests/youth-pass/parental-consent.cy.js b/cypress/automated-tests/youth-pass/parental-consent.cy.js deleted file mode 100644 index be519a16..00000000 --- a/cypress/automated-tests/youth-pass/parental-consent.cy.js +++ /dev/null @@ -1,41 +0,0 @@ -import { faker } from '@faker-js/faker'; -import { getRandomApplicantAge } from '../../common/birthdate-constants'; - -describe('youth pass parental consent flow', () => { - it('proceeds through an application', () => { - const youthPassUrl = Cypress.env('youth_pass_url'); - const applicantZipCode = '02114'; - - cy.visit(youthPassUrl); - cy.get('#form-section-0 > .form-section-buttons > .form-section-next').click(); - cy.get('#form-section-1 > .form-section-buttons > .form-section-next').click(); - cy.get('#element105').type(applicantZipCode).blur(); - }); - - it("shows the parental consent fields only when under 13", function() { - const applicantBirthdate13 = getRandomApplicantAge().applicantBirthday13; - const applicantBirthdate12 = getRandomApplicantAge().applicantBirthday12; - - cy.get('#element15').type(applicantBirthdate13).blur(); - cy.get('#form-element-wrapper_321 > .form-static-html > h2').should('not.be.visible'); - - cy.get('#element15').clear().type(applicantBirthdate12).blur(); - cy.get('#form-element-wrapper_321 > .form-static-html > h2').should('be.visible'); - }); - - it("enters parental data and submits", function() { - const parentFirstName = faker.name.firstName(); - const parentLastName = faker.name.lastName(); - const parentPhoneNumber = faker.phone.phoneNumberFormat(); - const parentEmailAddress = `Automation_Testing_${faker.datatype.number()}@example.com`; - - cy.get('#form-element-wrapper_315 > :nth-child(1) > [rcd=""] > fieldset > .radioButtonContainer').click() - cy.get('#element316').type(parentFirstName).blur(); - cy.get('#element320').type(parentLastName).blur(); - cy.get('#element318').type(parentPhoneNumber).blur(); - cy.get('#element323').type(parentEmailAddress).blur(); - cy.get('#form-section-2 > .form-section-buttons > .form-submit-button').click(); - - cy.get('#thank-you-text > h1', { timeout: 15000 }).should('contain', 'Parent or Legal Guardian Information Submitted') - }); -}); diff --git a/cypress/automated-tests/youth-pass/personal-contact-sections-required-fields.cy.js b/cypress/automated-tests/youth-pass/personal-contact-sections-required-fields.cy.js deleted file mode 100644 index d669f7ed..00000000 --- a/cypress/automated-tests/youth-pass/personal-contact-sections-required-fields.cy.js +++ /dev/null @@ -1,109 +0,0 @@ -import { faker } from '@faker-js/faker'; -import { getRandomApplicantAge } from '../../common/birthdate-constants'; -import { ifProgramYearFieldExists } from '../../common/if-program-year-field-exists'; - -describe('Youth Pass Personal and Contact Info Section Required Fields', () => { - - it('proceeds through an application', () => { - const applicantZipCode = '02114'; - const youthPassUrl = Cypress.env('youth_pass_url'); - const applicantBirthdate = getRandomApplicantAge().applicantBirthdate18to25; - - cy.visit(youthPassUrl); - cy.get('#form-section-0 > .form-section-buttons > .form-section-next').click(); - cy.get('#form-section-1 > .form-section-buttons > .form-section-next').click(); - cy.get('#element105').type(applicantZipCode).blur(); - cy.get('#element15').type(applicantBirthdate).blur(); - cy.get('#form-section-2 > .form-section-buttons > .form-section-next').click(); - - cy.get('#element164_Yes').click().blur(); - cy.get('#form-section-4 > .form-section-buttons > .form-section-next').click(); - }); - - it('does not fill any personal info fields and sees required field errors', () => { - cy.get('#form-section-5 > .form-section-buttons > .form-submit-button').click(); - cy.get('#form-element-wrapper_116').within(() => { - cy.get('div.required-text').should('be.visible'); - }); - cy.get('#form-element-wrapper_11').within(() => { - cy.get('div.required-text').should('be.visible'); - }); - cy.get('#form-element-wrapper_13').within(() => { - cy.get('div.required-text').should('be.visible'); - }); - }); - - it('only fills application options radio and sees required field errors', () => { - cy.get('#element116_Apply').click().blur(); - cy.get('#form-section-5 > .form-section-buttons > .form-submit-button').click(); - cy.get('#form-element-wrapper_116').within(() => { - cy.get('div.required-text').should('not.be.visible'); - }); - cy.get('#form-element-wrapper_11').within(() => { - cy.get('div.required-text').should('be.visible'); - }); - cy.get('#form-element-wrapper_13').within(() => { - cy.get('div.required-text').should('be.visible'); - }); - }); - - it('does not fill last name and sees required field errors', () => { - const applicantFirstName = faker.name.firstName(); - ifProgramYearFieldExists(() => { - cy.get('#form-element-wrapper_260').within(() => { - cy.get('div.required-text').should('be.visible'); - }); - cy.get('#element260_Current').click().blur(); - cy.get('#form-element-wrapper_260').within(() => { - cy.get('div.required-text').should('not.be.visible'); - }); - }); - cy.get('#element11').type(applicantFirstName).blur(); - cy.get('#form-section-5 > .form-section-buttons > .form-submit-button').click(); - cy.get('#form-element-wrapper_11').within(() => { - cy.get('div.required-text').should('not.be.visible'); - }); - cy.get('#form-element-wrapper_13').within(() => { - cy.get('div.required-text').should('be.visible'); - }); - }); - - it('fills all personal info fields and sees no required field errors', () => { - const applicantLastName = faker.name.lastName(); - - cy.get('#element13').type(applicantLastName).blur(); - cy.get('div.required-text').should('not.be.visible'); - cy.get('#form-section-5 > .form-section-buttons > .form-section-next').click(); - }); - - it('does not fill any contact info fields and sees required field errors', () => { - cy.get('#form-section-6 > .form-section-buttons > .form-submit-button').click(); - cy.get('#form-element-wrapper_17').within(() => { - cy.get('div.required-text').should('be.visible'); - }); - cy.get('#form-element-wrapper_18').within(() => { - cy.get('div.required-text').should('be.visible'); - }); - }); - - it('only fills phone number and sees required field errors', () => { - const applicantPhoneNumber = faker.phone.phoneNumberFormat(); - - cy.get('#element17').type(applicantPhoneNumber).blur(); - cy.get('#form-section-6 > .form-section-buttons > .form-submit-button').click(); - cy.get('#form-element-wrapper_17').within(() => { - cy.get('div.required-text').should('not.be.visible'); - }); - cy.get('#form-element-wrapper_18').within(() => { - cy.get('div.required-text').should('be.visible'); - }); - }); - - - it('fills all contact info fields and sees no required field errors', () => { - const applicantEmailAddress = `Automation_Testing_${faker.datatype.number()}@example.com`; - - cy.get('#element18').type(applicantEmailAddress).blur(); - cy.get('div.required-text').should('not.be.visible'); - }); -}); diff --git a/cypress/automated-tests/youth-pass/retired.cy.js b/cypress/automated-tests/youth-pass/retired.cy.js new file mode 100644 index 00000000..19284cf8 --- /dev/null +++ b/cypress/automated-tests/youth-pass/retired.cy.js @@ -0,0 +1,24 @@ +describe("Youth Pass", () => { + it("is retired", () => { + const youthPassUrl = Cypress.env("youth_pass_url"); + + cy.visit(youthPassUrl); + + cy.title().should("eq", "Youth Pass Retirement"); + cy.contains("h1", "The Youth Pass Program has been retired").should( + "exist", + ); + cy.contains( + "p", + "The Youth Pass program was retired and replaced by the new income-eligible reduced fares program on October 31, 2024.", + ).should("exist"); + cy.contains("Learn more about income-eligible reduced fares") + .should("exist") + .should( + "have.prop", + "href", + "https://www.mbta.com/fares/reduced/income-eligible", + ); + cy.get(".form-submit-button").should("be.hidden"); + }); +}); diff --git a/cypress/automated-tests/youth-pass/successful-youth-pass-submission.cy.js b/cypress/automated-tests/youth-pass/successful-youth-pass-submission.cy.js deleted file mode 100644 index 057b7903..00000000 --- a/cypress/automated-tests/youth-pass/successful-youth-pass-submission.cy.js +++ /dev/null @@ -1,88 +0,0 @@ -import { faker } from '@faker-js/faker'; -import { getRandomApplicantAge } from '../../common/birthdate-constants'; -import { ifProgramYearFieldExists } from '../../common/if-program-year-field-exists'; - -describe('Youth Pass Successful Submission', () => { - const applicantZipCode = '99999'; - - // this test follows the in-person later flow - it('completes the eligibility checker', () => { - const youthPassUrl = Cypress.env('youth_pass_url'); - const applicantBirthdate = getRandomApplicantAge().applicantBirthdate18to25; - - cy.visit(youthPassUrl); - cy.get('#form-section-0 > .form-section-buttons > .form-section-next').click(); - cy.get('#form-section-1 > .form-section-buttons > .form-section-next').click(); - cy.get('#element105').type(applicantZipCode).blur(); - cy.get('#element15').type(applicantBirthdate).blur(); - cy.get('#form-section-2 > .form-section-buttons > .form-section-next').click(); - - cy.get('#element164_Yes').click().blur(); - cy.get('#form-section-4 > .form-section-buttons > .form-section-next').click(); - }); - - it('completes the personal information section', () => { - const applicantFirstName = faker.name.firstName(); - const applicantLastName = faker.name.lastName(); - - cy.get('#element116_Apply').click().blur(); - ifProgramYearFieldExists(() => { - cy.get('#element260_Current').click().blur(); - }); - cy.get('#element11').type(applicantFirstName).blur(); - cy.get('#element13').type(applicantLastName).blur(); - cy.get('#form-section-5 > .form-section-buttons > .form-section-next').click(); - }); - - it('completes the contact information section', () => { - const applicantPhoneNumber = faker.phone.phoneNumberFormat(); - const applicantEmailAddress = `Automation_Testing_${faker.datatype.number()}@example.com`; - - cy.get('#element17').type(applicantPhoneNumber).blur(); - cy.get('#element18').type(applicantEmailAddress).blur(); - cy.get('#form-section-6 > .form-section-buttons > .form-section-next').click(); - }); - - it('completes the address section', () => { - const applicantStreetAddress = `${faker.datatype.number()} ${faker.address.streetName()} ${faker.address.streetSuffix()}`; - const applicantCity = faker.address.city(); - - cy.get('#element242_Person').click().blur(); - cy.get('#element101').type(applicantStreetAddress).blur(); - cy.get('#element103').type(applicantCity).blur(); - cy.get('#element154').type(applicantZipCode).blur(); - cy.get('#form-section-7 > .form-section-buttons > .form-section-next').click(); - }); - - it('completes the proof of age section', () => { - cy.get('#element114_Option_1').click().blur(); - cy.get('#element133').attachFile('youth-pass-test-image.png') - cy.get('.k-text-success').should('exist'); - cy.get('#form-section-8 > .form-section-buttons > .form-section-next').click(); - }); - - it('completes the proof of address section', () => { - cy.get('#element135_Option_1').click().blur(); - cy.get('#element39').attachFile('youth-pass-test-image.png') - cy.get('.k-text-success').should('exist'); - cy.get('#form-section-9 > .form-section-buttons > .form-section-next').click(); - }); - - it('completes the proof of program eligiblity section', () => { - cy.get('#element42').select('Child Care (DTA, EEC)', { force: true }); - cy.get('#element136').attachFile('youth-pass-test-image.png') - cy.get('.k-text-success').should('exist'); - cy.get('#form-section-10 > .form-section-buttons > .form-section-next').click(); - - cy.get('#element52_Option_2').click().blur(); - cy.get('#form-section-11 > .form-section-buttons > .form-section-next').click(); - }); - - it('agrees to terms and conditions and submits application', () => { - cy.get('#element50').click().blur(); - cy.get('#form-section-12 > .form-section-buttons > .form-submit-button').click(); - - cy.get('#thank-you-text', { timeout: 15000 }).should('contain', 'Application Submitted') - cy.get('#thank-you-text', { timeout: 15000 }).should('contain', 'testmunicipality@example.com') - }); -}); diff --git a/stylesheets/youth.scss b/stylesheets/youth.scss index 4553bc4b..2ac4d147 100644 --- a/stylesheets/youth.scss +++ b/stylesheets/youth.scss @@ -23,3 +23,7 @@ font-size: 1.1487rem !important; } } + +.form-submit-button { + display: none; +}