- {% translate "You will be able to create an account using your email address if you do not already have one. We use your Login.gov account to verify your identity." %}
- {% translate "Learn more about identity verification" as text %}
- {% include "core/includes/modal-trigger.html" with modal="modal--identity-verification" text=text period=True %}
-
- {% include "eligibility/includes/modal--senior-start-help.html" with size="modal-lg" id="modal--identity-verification" header="p-md-2 p-3" body="pb-md-3 mb-md-3 mx-md-3 py-0 pt-0 absolute-top" %}
+ {% include "eligibility/includes/modal--login-gov-start-help.html" with size="modal-lg" id="modal--identity-verification" header="p-md-2 p-3" body="pb-md-3 mb-md-3 mx-md-3 py-0 pt-0 absolute-top" %}
{% endblock body %}
diff --git a/benefits/eligibility/templates/eligibility/includes/media-item--idcardcheck--start--veteran.html b/benefits/eligibility/templates/eligibility/includes/media-item--idcardcheck--start--veteran.html
index 0f9a311b2..635c397de 100644
--- a/benefits/eligibility/templates/eligibility/includes/media-item--idcardcheck--start--veteran.html
+++ b/benefits/eligibility/templates/eligibility/includes/media-item--idcardcheck--start--veteran.html
@@ -3,24 +3,25 @@
{% load i18n %}
{% block heading %}
- {% translate "Access to your preferred VA related account" %}
+ {% translate "A Login.gov account with identity verification" %}
{% endblock heading %}
{% block body %}
+
+ {% include "eligibility/includes/modal--login-gov-start-help.html" with size="modal-lg" id="modal--identity-verification" header="p-md-2 p-3" body="pb-md-3 mb-md-3 mx-md-3 py-0 pt-0 absolute-top" %}
{% endblock body %}
diff --git a/benefits/eligibility/templates/eligibility/includes/modal--senior-help.html b/benefits/eligibility/templates/eligibility/includes/modal--login-gov-help.html
similarity index 100%
rename from benefits/eligibility/templates/eligibility/includes/modal--senior-help.html
rename to benefits/eligibility/templates/eligibility/includes/modal--login-gov-help.html
diff --git a/benefits/eligibility/templates/eligibility/includes/modal--senior-start-help.html b/benefits/eligibility/templates/eligibility/includes/modal--login-gov-start-help.html
similarity index 100%
rename from benefits/eligibility/templates/eligibility/includes/modal--senior-start-help.html
rename to benefits/eligibility/templates/eligibility/includes/modal--login-gov-start-help.html
diff --git a/benefits/eligibility/templates/eligibility/includes/selection-label--senior.html b/benefits/eligibility/templates/eligibility/includes/selection-label--senior.html
index ccac3b39a..d6d1bf28e 100644
--- a/benefits/eligibility/templates/eligibility/includes/selection-label--senior.html
+++ b/benefits/eligibility/templates/eligibility/includes/selection-label--senior.html
@@ -2,13 +2,13 @@
{% load i18n %}
{% block label %}
- {% translate "Older Adult" %}
+ {% translate "Older Adult" %}
{% endblock label %}
{% block description %}
- {% translate "You must be 65 years or older. You will need to verify your identity with" %}
+ {% translate "You must be 65 years or older. You will need to verify your identity with" %}
- {% include "core/includes/modal-trigger.html" with classes="border-0 bg-transparent p-0" id="login" modal="modal--login-gov" login=True period=True %}
+ {% include "core/includes/modal-trigger.html" with classes="border-0 bg-transparent p-0 login" modal="modal--login-gov" login=True period=True %}
- {% include "eligibility/includes/modal--senior-help.html" with id="modal--login-gov" size="modal-lg" header="p-md-2 p-3" body="pb-md-3 mb-md-3 mx-md-3 py-0 pt-0 absolute-top" %}
+ {% include "eligibility/includes/modal--login-gov-help.html" with id="modal--login-gov" size="modal-lg" header="p-md-2 p-3" body="pb-md-3 mb-md-3 mx-md-3 py-0 pt-0 absolute-top" %}
{% endblock description %}
diff --git a/benefits/eligibility/templates/eligibility/includes/selection-label--veteran.html b/benefits/eligibility/templates/eligibility/includes/selection-label--veteran.html
index 2504333b5..14fcbd700 100644
--- a/benefits/eligibility/templates/eligibility/includes/selection-label--veteran.html
+++ b/benefits/eligibility/templates/eligibility/includes/selection-label--veteran.html
@@ -7,8 +7,11 @@
{% block description %}
{% blocktranslate trimmed %}
- This option is for people who have served in the active military, naval, or air service, and who were discharged or
- released therefrom under conditions other than dishonorable. You will need to
-
.
+ This option is for people who have served in the active military, naval, or air service, and who were discharged or released therefrom under conditions other than dishonorable. You will need to verify your identity with
{% endblocktranslate %}
+
+ {% include "core/includes/modal-trigger.html" with classes="border-0 bg-transparent p-0 login" modal="modal--login-gov-veteran" login=True period=True %}
+
+ {% include "eligibility/includes/modal--login-gov-help.html" with id="modal--login-gov-veteran" size="modal-lg" header="p-md-2 p-3" body="pb-md-3 mb-md-3 mx-md-3 py-0 pt-0 absolute-top" %}
+
{% endblock description %}
diff --git a/benefits/eligibility/templates/eligibility/start--senior.html b/benefits/eligibility/templates/eligibility/start--senior.html
index db762a2a2..485ec8905 100644
--- a/benefits/eligibility/templates/eligibility/start--senior.html
+++ b/benefits/eligibility/templates/eligibility/start--senior.html
@@ -20,7 +20,7 @@
diff --git a/benefits/eligibility/templates/eligibility/start--veteran.html b/benefits/eligibility/templates/eligibility/start--veteran.html
index 1172d8107..0ad69d6b4 100644
--- a/benefits/eligibility/templates/eligibility/start--veteran.html
+++ b/benefits/eligibility/templates/eligibility/start--veteran.html
@@ -17,10 +17,12 @@
-
{% endblock call-to-action %}
diff --git a/benefits/locale/en/LC_MESSAGES/django.po b/benefits/locale/en/LC_MESSAGES/django.po
index c0ae26d4a..e2bd8568c 100644
--- a/benefits/locale/en/LC_MESSAGES/django.po
+++ b/benefits/locale/en/LC_MESSAGES/django.po
@@ -6,7 +6,7 @@
msgid ""
msgstr ""
"Report-Msgid-Bugs-To: https://github.com/cal-itp/benefits/issues \n"
-"POT-Creation-Date: 2023-08-15 22:45+0000\n"
+"POT-Creation-Date: 2023-09-11 17:23+0000\n"
"Language: English\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
@@ -332,49 +332,24 @@ msgstr ""
msgid "A phone number with a phone plan associated with your name"
msgstr ""
-msgid "Access to your preferred VA related account"
-msgstr ""
-
-msgid ""
-"You will need to sign into VA.gov in order to verify your identity and your "
-"veteran status. VA.gov uses the following services:"
-msgstr ""
-
-msgid "Login.gov"
-msgstr ""
-
-msgid "ID.me"
-msgstr ""
-
-msgid "DS Logon"
-msgstr ""
-
-msgid "My HealtheVet"
-msgstr ""
-
-msgid ""
-"If you do not have an account with any of these services, you will need to "
-"create one. We recommend using Login.gov."
-msgstr ""
-
msgid "Go back"
msgstr ""
-msgid "Learn more about"
+msgid "Verify your identity with "
msgstr ""
msgctxt "image alt text"
msgid "Login.gov"
msgstr ""
-msgid "Verify your identity with "
-msgstr ""
-
msgid ""
"We use Login.gov to verify your identity to make sure you are eligible for "
"the transit benefit you selected."
msgstr ""
+msgid "Learn more about"
+msgstr ""
+
msgid "MST Courtesy Card"
msgstr ""
@@ -396,9 +371,7 @@ msgstr ""
msgid ""
"This option is for people who have served in the active military, naval, or "
"air service, and who were discharged or released therefrom under conditions "
-"other than dishonorable. You will need to
verify your identity through VA.gov."
+"other than dishonorable. You will need to verify your identity with"
msgstr ""
#, python-format
@@ -448,9 +421,6 @@ msgstr ""
msgid "You selected a Veteran transit benefit."
msgstr ""
-msgid "Continue to VA.gov"
-msgstr ""
-
msgid "You will need a few items to continue:"
msgstr ""
diff --git a/benefits/locale/es/LC_MESSAGES/django.po b/benefits/locale/es/LC_MESSAGES/django.po
index 115ec10ab..a36b72922 100644
--- a/benefits/locale/es/LC_MESSAGES/django.po
+++ b/benefits/locale/es/LC_MESSAGES/django.po
@@ -6,7 +6,7 @@
msgid ""
msgstr ""
"Report-Msgid-Bugs-To: https://github.com/cal-itp/benefits/issues \n"
-"POT-Creation-Date: 2023-08-15 22:45+0000\n"
+"POT-Creation-Date: 2023-09-11 17:23+0000\n"
"Language: Español\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
@@ -173,7 +173,7 @@ msgid ""
"which can be either a driver’s license or non-driver’s license state-issued "
"ID card."
msgstr ""
-"Necesitarás una identificación emitida por el estado para verificar tu "
+"Necesitará una identificación emitida por el estado para verificar su "
"identidad con Login.gov, la cual puede ser una licencia para conducir o una "
"tarjeta de identificación emitida por el estado que no sea una licencia de "
"conducir."
@@ -183,8 +183,8 @@ msgid ""
"address, phone number and other personal information which is then verified "
"against authoritative sources."
msgstr ""
-"Deberás cargar una fotografía de su identificación emitida por el estado y "
-"compartir tu dirección, número de teléfono y otra información personal, la "
+"Deberá cargar una fotografía de su identificación emitida por el estado y "
+"compartir su dirección, número de teléfono y otra información personal, la "
"cual será verificada con fuentes autorizadas."
msgid ""
@@ -192,16 +192,16 @@ msgid ""
"phone. If Login.gov can’t verify your phone number, you can verify by mail "
"instead."
msgstr ""
-"Login.gov también necesitará verificar tu identidad llamando o enviando un "
-"mensaje de texto a tu teléfono. Si Login.gov no puede verificar tu número de "
-"teléfono, puedes verificarlo por correo."
+"Login.gov también necesitará verificar su identidad llamando o enviando un "
+"mensaje de texto a su teléfono. Si Login.gov no puede verificar su número de "
+"teléfono, usted puede verificarlo por correo."
msgid ""
"Please visit the Login.gov help center for
more information on "
"identity verification."
msgstr ""
-"Visita el centro de ayuda de Login.gov para
más información sobre "
"la verificación de identidad."
@@ -259,8 +259,8 @@ msgstr ""
"califican para una serie de programas de tarifas reducidas. Este beneficio "
"de tránsito debe renovarse en el futuro en función de la fecha de "
"vencimiento de la tarjeta de cortesía. Obtenga más información en el
MST Riders Guide."
+"href='https://mst.org/riders-guide/how-to-ride/courtesy-card/' target="
+"\"_blank\" rel=\"noopener noreferrer\">MST Riders Guide."
msgid "Sign out of Login.gov"
msgstr "Cierre sesión de Login.gov"
@@ -417,61 +417,32 @@ msgid "Your state-issued ID card"
msgstr "Su tarjeta de identificación emitida por el estado"
msgid "Your Social Security number"
-msgstr "Su número de seguro social"
+msgstr "Su número de Seguro Social"
msgid "A phone number with a phone plan associated with your name"
msgstr ""
"Un número de teléfono en el cual pueda recibir llamadas o mensajes de texto"
-msgid "Access to your preferred VA related account"
-msgstr "Acceso a su cuenta preferida relacionada con VA"
-
-msgid ""
-"You will need to sign into VA.gov in order to verify your identity and your "
-"veteran status. VA.gov uses the following services:"
-msgstr ""
-"Deberá iniciar sesión en VA.gov para verificar su identidad y su estado de "
-"veterano. VA.gov utiliza los siguientes servicios:"
-
-msgid "Login.gov"
-msgstr "Login.gov"
-
-msgid "ID.me"
-msgstr "ID.me"
-
-msgid "DS Logon"
-msgstr "DS Logon"
-
-msgid "My HealtheVet"
-msgstr "My HealtheVet"
-
-msgid ""
-"If you do not have an account with any of these services, you will need to "
-"create one. We recommend using Login.gov."
-msgstr ""
-"Si no tiene una cuenta con ninguno de estos servicios, deberá crear una. "
-"Recomendamos utilizar Login.gov. "
-
msgid "Go back"
msgstr "Volver"
-msgid "Learn more about"
-msgstr "Más información sobre"
+msgid "Verify your identity with "
+msgstr "Verifique su identidad con "
msgctxt "image alt text"
msgid "Login.gov"
msgstr "Login.gov"
-msgid "Verify your identity with "
-msgstr "Verifique su identidad con "
-
msgid ""
"We use Login.gov to verify your identity to make sure you are eligible for "
"the transit benefit you selected."
msgstr ""
-"Utilizamos Login.gov para verificar tu identidad para asegurarnos de que "
+"Utilizamos Login.gov para verificar su identidad para asegurarnos de que "
"seas elegible para el beneficio de tránsito que seleccionaste."
+msgid "Learn more about"
+msgstr "Más información sobre"
+
msgid "MST Courtesy Card"
msgstr "Tarjeta de cortesía de MST"
@@ -495,15 +466,11 @@ msgstr "Veterano de EE. UU."
msgid ""
"This option is for people who have served in the active military, naval, or "
"air service, and who were discharged or released therefrom under conditions "
-"other than dishonorable. You will need to
verify your identity through VA.gov."
+"other than dishonorable. You will need to verify your identity with"
msgstr ""
"Esta opción es para personas que hayan prestado servicio militar, naval o "
"aéreo de manera activa, y quienes fueron dados de baja o liberados en "
-"condiciones que no hayan sido deshonrosas. Necesitará
verificar su identidad a través de VA.gov."
+"condiciones que no hayan sido deshonrosas. Deberá verificar su identidad con"
#, python-format
msgid ""
@@ -558,9 +525,6 @@ msgstr "Descripción de beneficios para veteranos"
msgid "You selected a Veteran transit benefit."
msgstr "Ha seleccionado un beneficio de tránsito para veteranos."
-msgid "Continue to VA.gov"
-msgstr "Continuar con VA.gov"
-
msgid "You will need a few items to continue:"
msgstr "Necesitará algunos artículos para continuar:"
@@ -584,7 +548,7 @@ msgstr ""
"tránsito"
msgid "You will be directed to our payment partner, "
-msgstr "Será dirigido a nuestro socio de pago, "
+msgstr "Será dirigido a nuestro socio de pagos, "
msgid "We don’t store your information, and you won’t be charged."
msgstr "No almacenamos su información y no se le cobrará."
@@ -605,7 +569,7 @@ msgid "Please wait..."
msgstr "Espere por favor..."
msgid "Connect your Card"
-msgstr "Conecta tu tarjeta"
+msgstr "Conecta su tarjeta"
msgid "Unable to register card"
msgstr "No se pudo registrar la tarjeta"
diff --git a/benefits/static/css/styles.css b/benefits/static/css/styles.css
index 71e6461d7..a889df384 100644
--- a/benefits/static/css/styles.css
+++ b/benefits/static/css/styles.css
@@ -375,6 +375,8 @@ footer .footer-links li a.footer-link:visited {
.btn.btn-lg.btn-primary:focus,
.btn.btn-lg.btn-primary:focus-visible,
+.btn.btn-lg:focus,
+.btn.btn-lg:focus-visible,
.btn-outline-dark:focus,
.btn-outline-dark:focus-visible,
.btn-outline-light:focus,
@@ -422,12 +424,12 @@ footer .footer-links li a.footer-link:visited {
}
}
-#login {
+.login {
cursor: pointer;
line-height: 1;
text-transform: none;
letter-spacing: 0;
- font-size: var(--login-gov-button-font-size);
+ font-size: var(--login-gov-button-font-size) !important;
font-family: "Public Sans", Roboto, system-ui;
max-width: var(--login-gov-button-max-width);
text-decoration: none;
@@ -436,7 +438,7 @@ footer .footer-links li a.footer-link:visited {
/* Sets the text `Login.gov` as transparent */
/* With an Login.gov logo image over it */
/* So screenreaders can read out `Login.gov` */
-#login .fallback-text {
+.login .fallback-text {
background-size: contain;
background-repeat: no-repeat;
display: block;
@@ -450,7 +452,7 @@ footer .footer-links li a.footer-link:visited {
}
@media (min-width: 992px) {
- #login .fallback-text {
+ .login .fallback-text {
margin: 0 0 0 5px;
display: inline-block;
vertical-align: baseline;
@@ -459,11 +461,11 @@ footer .footer-links li a.footer-link:visited {
/* Sign in with Login.gov (white logo) on Eligibility Start */
-.eligibility-start #login {
+.eligibility-start .btn.btn-lg.btn-primary.login {
padding: 10px 0;
}
-#login .fallback-text.white-logo {
+.login .fallback-text.white-logo {
background-image: url("/static/img/login-gov-logo-rev.svg");
width: 130.9887px;
height: 17px;
@@ -471,13 +473,13 @@ footer .footer-links li a.footer-link:visited {
/* Login.gov modal button (color logo) on Eligibility Index */
-#login .fallback-text.color-logo {
+.login .fallback-text.color-logo {
background-image: url("/static/img/login-gov-logo.svg");
width: 120px;
height: 16px;
}
-.eligibility-index #login .fallback-text {
+.eligibility-index .login .fallback-text {
display: inline-block;
}
diff --git a/pyproject.toml b/pyproject.toml
index 6160afeb9..780a8a3c4 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,25 +1,20 @@
-[build-system]
-requires = ["setuptools>=64", "wheel"]
-build-backend = "setuptools.build_meta"
-
[project]
-classifiers = ["Programming Language :: Python :: 3 :: Only"]
+name = "benefits"
+version = "2023.09.1"
description = "Cal-ITP Benefits is an application that enables automated eligibility verification and enrollment for transit benefits onto customers’ existing contactless bank (credit/debit) cards."
+readme = "README.md"
+license = { file = "LICENSE" }
+classifiers = ["Programming Language :: Python :: 3 :: Only"]
+requires-python = ">=3.9"
dependencies = [
"Authlib==1.2.1",
- "Django==4.2.4",
+ "Django==4.2.5",
"django-csp==3.7",
- "eligibility-api==2023.6.1",
+ "eligibility-api==2023.9.1",
"requests==2.31.0",
- "sentry-sdk==1.29.2",
+ "sentry-sdk==1.31.0",
"six==1.16.0",
]
-dynamic = ["version"]
-keywords = ["django"]
-license = { file = "LICENSE" }
-name = "benefits"
-readme = "README.md"
-requires-python = ">=3.9"
[project.optional-dependencies]
dev = [
@@ -41,13 +36,20 @@ Code = "https://github.com/cal-itp/benefits"
Documentation = "https://docs.calitp.org/benefits"
Issues = "https://github.com/cal-itp/benefits/issues"
-# Configuration for black
+[build-system]
+requires = ["setuptools>=65", "wheel"]
+build-backend = "setuptools.build_meta"
+
[tool.black]
line-length = 127
-target-version = ['py310']
+target-version = ['py311']
include = '\.pyi?$'
-# Configuration for djlint
+[tool.coverage.run]
+omit = [
+ "benefits/core/migrations/*"
+]
+
[tool.djlint]
ignore = "H017,H031"
indent = 2
@@ -57,11 +59,8 @@ profile = "django"
preserve_blank_lines = true
use_gitignore = true
-# Configuration for pytest
-[tool.coverage.run]
-omit = [
- "benefits/core/migrations/*"
-]
+[tool.pyright]
+include = ["benefits", "tests/pytest"]
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "benefits.settings"
diff --git a/tests/cypress/package-lock.json b/tests/cypress/package-lock.json
index 5c30b4977..4038eb226 100644
--- a/tests/cypress/package-lock.json
+++ b/tests/cypress/package-lock.json
@@ -9,7 +9,7 @@
"version": "1.0.0",
"license": "AGPL-3.0-or-later",
"devDependencies": {
- "cypress": "^12.17.4"
+ "cypress": "^13.2.0"
}
},
"node_modules/@colors/colors": {
@@ -23,9 +23,9 @@
}
},
"node_modules/@cypress/request": {
- "version": "2.88.12",
- "resolved": "https://registry.npmjs.org/@cypress/request/-/request-2.88.12.tgz",
- "integrity": "sha512-tOn+0mDZxASFM+cuAP9szGUGPI1HwWVSvdzm7V4cCsPdFTx6qMj29CwaQmRAMIEhORIUBFBsYROYJcveK4uOjA==",
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/@cypress/request/-/request-3.0.0.tgz",
+ "integrity": "sha512-GKFCqwZwMYmL3IBoNeR2MM1SnxRIGERsQOTWeQKoYBt2JLqcqiy7JXqO894FLrpjZYqGxW92MNwRH2BN56obdQ==",
"dev": true,
"dependencies": {
"aws-sign2": "~0.7.0",
@@ -71,9 +71,9 @@
}
},
"node_modules/@types/node": {
- "version": "16.18.39",
- "resolved": "https://registry.npmjs.org/@types/node/-/node-16.18.39.tgz",
- "integrity": "sha512-8q9ZexmdYYyc5/cfujaXb4YOucpQxAV4RMG0himLyDUOEr8Mr79VrqsFI+cQ2M2h89YIuy95lbxuYjxT4Hk4kQ==",
+ "version": "18.17.15",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-18.17.15.tgz",
+ "integrity": "sha512-2yrWpBk32tvV/JAd3HNHWuZn/VDN1P+72hWirHnvsvTGSqbANi+kSeuQR9yAHnbvaBvHDsoTdXV0Fe+iRtHLKA==",
"dev": true
},
"node_modules/@types/sinonjs__fake-timers": {
@@ -536,15 +536,15 @@
}
},
"node_modules/cypress": {
- "version": "12.17.4",
- "resolved": "https://registry.npmjs.org/cypress/-/cypress-12.17.4.tgz",
- "integrity": "sha512-gAN8Pmns9MA5eCDFSDJXWKUpaL3IDd89N9TtIupjYnzLSmlpVr+ZR+vb4U/qaMp+lB6tBvAmt7504c3Z4RU5KQ==",
+ "version": "13.2.0",
+ "resolved": "https://registry.npmjs.org/cypress/-/cypress-13.2.0.tgz",
+ "integrity": "sha512-AvDQxBydE771GTq0TR4ZUBvv9m9ffXuB/ueEtpDF/6gOcvFR96amgwSJP16Yhqw6VhmwqspT5nAGzoxxB+D89g==",
"dev": true,
"hasInstallScript": true,
"dependencies": {
- "@cypress/request": "2.88.12",
+ "@cypress/request": "^3.0.0",
"@cypress/xvfb": "^1.2.4",
- "@types/node": "^16.18.39",
+ "@types/node": "^18.17.5",
"@types/sinonjs__fake-timers": "8.1.1",
"@types/sizzle": "^2.3.2",
"arch": "^2.2.0",
@@ -590,7 +590,7 @@
"cypress": "bin/cypress"
},
"engines": {
- "node": "^14.0.0 || ^16.0.0 || >=18.0.0"
+ "node": "^16.0.0 || ^18.0.0 || >=20.0.0"
}
},
"node_modules/dashdash": {
@@ -1971,9 +1971,9 @@
"optional": true
},
"@cypress/request": {
- "version": "2.88.12",
- "resolved": "https://registry.npmjs.org/@cypress/request/-/request-2.88.12.tgz",
- "integrity": "sha512-tOn+0mDZxASFM+cuAP9szGUGPI1HwWVSvdzm7V4cCsPdFTx6qMj29CwaQmRAMIEhORIUBFBsYROYJcveK4uOjA==",
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/@cypress/request/-/request-3.0.0.tgz",
+ "integrity": "sha512-GKFCqwZwMYmL3IBoNeR2MM1SnxRIGERsQOTWeQKoYBt2JLqcqiy7JXqO894FLrpjZYqGxW92MNwRH2BN56obdQ==",
"dev": true,
"requires": {
"aws-sign2": "~0.7.0",
@@ -2018,9 +2018,9 @@
}
},
"@types/node": {
- "version": "16.18.39",
- "resolved": "https://registry.npmjs.org/@types/node/-/node-16.18.39.tgz",
- "integrity": "sha512-8q9ZexmdYYyc5/cfujaXb4YOucpQxAV4RMG0himLyDUOEr8Mr79VrqsFI+cQ2M2h89YIuy95lbxuYjxT4Hk4kQ==",
+ "version": "18.17.15",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-18.17.15.tgz",
+ "integrity": "sha512-2yrWpBk32tvV/JAd3HNHWuZn/VDN1P+72hWirHnvsvTGSqbANi+kSeuQR9yAHnbvaBvHDsoTdXV0Fe+iRtHLKA==",
"dev": true
},
"@types/sinonjs__fake-timers": {
@@ -2357,14 +2357,14 @@
}
},
"cypress": {
- "version": "12.17.4",
- "resolved": "https://registry.npmjs.org/cypress/-/cypress-12.17.4.tgz",
- "integrity": "sha512-gAN8Pmns9MA5eCDFSDJXWKUpaL3IDd89N9TtIupjYnzLSmlpVr+ZR+vb4U/qaMp+lB6tBvAmt7504c3Z4RU5KQ==",
+ "version": "13.2.0",
+ "resolved": "https://registry.npmjs.org/cypress/-/cypress-13.2.0.tgz",
+ "integrity": "sha512-AvDQxBydE771GTq0TR4ZUBvv9m9ffXuB/ueEtpDF/6gOcvFR96amgwSJP16Yhqw6VhmwqspT5nAGzoxxB+D89g==",
"dev": true,
"requires": {
- "@cypress/request": "2.88.12",
+ "@cypress/request": "^3.0.0",
"@cypress/xvfb": "^1.2.4",
- "@types/node": "^16.18.39",
+ "@types/node": "^18.17.5",
"@types/sinonjs__fake-timers": "8.1.1",
"@types/sizzle": "^2.3.2",
"arch": "^2.2.0",
diff --git a/tests/cypress/package.json b/tests/cypress/package.json
index 85fcbffc2..590196d48 100644
--- a/tests/cypress/package.json
+++ b/tests/cypress/package.json
@@ -12,6 +12,6 @@
"license": "AGPL-3.0-or-later",
"private": true,
"devDependencies": {
- "cypress": "^12.17.4"
+ "cypress": "^13.2.0"
}
}
diff --git a/tests/pytest/test_version.py b/tests/pytest/test_version.py
new file mode 100644
index 000000000..21e7e96fc
--- /dev/null
+++ b/tests/pytest/test_version.py
@@ -0,0 +1,9 @@
+import re
+
+
+def test_version():
+ from benefits import __version__, VERSION
+
+ assert __version__ is not None
+ assert __version__ == VERSION
+ assert re.match(r"\d{4}\.\d{1,2}\.\d+", __version__)