Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chore: always show the user the eligibility index #1201

Merged
merged 1 commit into from Jan 13, 2023

Conversation

angela-tran
Copy link
Member

Closes #1200

Unit test was updated and passes. To test in the browser, update your sample data so that mst_agency only has one verifier.

@angela-tran angela-tran self-assigned this Jan 13, 2023
@angela-tran angela-tran requested a review from a team as a code owner January 13, 2023 17:09
@github-actions github-actions bot added back-end Django views, sessions, middleware, models, migrations etc. tests Related to automated testing (unit, UI, integration, etc.) deployment-dev [auto] Changes that will trigger a deploy if merged to dev and removed back-end Django views, sessions, middleware, models, migrations etc. labels Jan 13, 2023
@angela-tran angela-tran added the back-end Django views, sessions, middleware, models, migrations etc. label Jan 13, 2023
Copy link
Member

@thekaveman thekaveman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great. I tested locally with an agency that only has 1 verifier, and saw the /eligibility page with verifier selection as expected ✅

Sidebar

At first I had a few failing tests in eligibility/views:

image

Notice all the failures are for POST view handlers

Debugging I saw that it was the reCAPTCHA check failing - I had it turned on locally in my .env file. Once I turned that off, these tests passed.

Maybe we should create a follow-up issue to address this with a @pytest.mark or something, to ensure reCAPTCHA is disabled for tests that will fail otherwise.

@angela-tran angela-tran merged commit 1b4de6f into dev Jan 13, 2023
@angela-tran angela-tran deleted the chore/remove-eligibility-autoforward branch January 13, 2023 18:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
back-end Django views, sessions, middleware, models, migrations etc. deployment-dev [auto] Changes that will trigger a deploy if merged to dev tests Related to automated testing (unit, UI, integration, etc.)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove auto-forward for single-verifier agencies
2 participants