Conversation
daphnegold
left a comment
There was a problem hiding this comment.
Awesome, but could you add more test coverage?
Search result buttons are tested, but popular providers are not.
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
|
test-classifier: AI triage of failing tests AI Test Classifier — triage of failing tests
Re-resolved the base: the dispatcher's AI_REVIEW_DIFF_RANGE (origin/main HEAD) was stale — origin/main is 3 commits ahead of this branch's merge-base, producing a reversed 43-file diff that was not PR #2050's change. Used the merge-base 4578ae3 instead, giving the real 8-file change (aria-labels on employer-search select buttons + i18n keys). Bootstrapped Ruby 3.4.10/bundler/Postgres 16/npm and ran CI's suites: rspec non-e2e is 2545 examples 0 failures, vitest is 88 tests 0 failures, erb_lint and rubocop clean on changed files, and both newly added aria-label specs pass. One CI gate genuinely fails:
Per-test rationale
React 👍 if right / 👎 if wrong, and on a 👎 please reply to this comment with a one-line reason — that reply is the most useful tuning signal we get. Advisory, non-blocking. |
daphnegold
left a comment
There was a problem hiding this comment.
It looks like the CI is still failing because the i18n ignore path isn't correct and some keys are still reported as missing. Could you take another look?
|
test-classifier: AI triage of failing tests AI Test Classifier — no action required
Re-resolved the base: AI_REVIEW_DIFF_RANGE was the two-dot range 'origin/main HEAD' against an origin/main that is 9 commits ahead of the merge-base, so it reported 43 unrelated files. Used 'origin/main...HEAD' (merge-base 4578ae3) instead, giving PR #2050's real 8-file change: aria-labels on employer-select buttons switched to i18n keys t('.select_employer', name:), 4 new en.yml keys, 3 i18n-tasks ignore_missing entries, and 2 new controller-spec examples. Reproduced the rspec.yml CI job locally (Postgres 16, bundle install, npm install, assets:precompile, db:schema:load). The two changed specs pass (26 examples, 0 failures) and the full non-e2e suite passes (2545 examples, 0 failures); i18n-tasks health and erb_lint on the 4 changed views also pass. Nothing to classify. Two bootstrap notes: an initial run showed 26 Sprockets AssetNotFound errors caused by my own omission of assets:precompile (resolved by precompiling, not a real failure, so not classified), and the Ruby 3.4.9 Gemfile pin was temporarily relaxed to 3.4.10 to run locally, then restored. Not run: spec/e2e (excluded by the CI rspec job, runs in a separate browser workflow) and the vitest JS suite (no JS/CSS in this change). React 👍 if this is right (nothing needed triage) / 👎 if a real failure was missed, and on a 👎 please reply with a one-line reason. Advisory, non-blocking. |
|
test-classifier: AI triage of failing tests AI Test Classifier — triage of failing tests
Re-resolved the base: AI_REVIEW_DIFF_RANGE (origin/main HEAD) was wrong because origin/main is 9 commits ahead of the PR head, so the two-dot range reverse-applied unrelated main commits; used the merge base 4578ae3..HEAD instead, which matches PR #2050 (aria-labels on employer-search buttons + new i18n keys + two new controller specs). Ran the real suites: CI-configured rspec (parallel_test, e2e excluded) passed 2547/2547, both changed controller specs passed 28/28, Vitest passed 88/88, and erb_lint was clean. One CI check fails in scope:
Per-test rationale
React 👍 if right / 👎 if wrong, and on a 👎 please reply to this comment with a one-line reason — that reply is the most useful tuning signal we get. Advisory, non-blocking. |
|
test-classifier: AI triage of failing tests AI Test Classifier — no action required
Re-resolved the base: AI_REVIEW_DIFF_RANGE was the two-dot range 'origin/main HEAD', which included main-only commits as reversions (43 files). Used the three-dot range origin/main...HEAD (merge-base 4578ae3) instead, giving the real PR #2050 change: 8 files adding aria-labels to employer/provider buttons plus en.yml keys, i18n-tasks ignores, and two new controller specs. Ran the suite OBSERVED against Dockerized Postgres 16 with Ruby 3.4.10 and precompiled assets (per .github/actions/setup-project): full non-e2e RSpec = 2547 examples / 0 failures; the two changed spec files = 28 examples / 0 failures; i18n-tasks health = pass; vitest = 88 tests pass; erb_lint and rubocop on changed files = clean. An initial all-red run was my own bootstrap gap (missing npm install + assets:precompile, which CI performs) and resolved on re-run, so it is not classified. Nothing failed. React 👍 if this is right (nothing needed triage) / 👎 if a real failure was missed, and on a 👎 please reply with a one-line reason. Advisory, non-blocking. |
daphnegold
left a comment
There was a problem hiding this comment.
Could you move both the popular provider tests outside the when there are search results context?
|
test-classifier: AI triage of failing tests AI Test Classifier — no action required
Re-resolved the base: AI_REVIEW_DIFF_RANGE was the two-dot 'origin/main HEAD', but origin/main has advanced 3 commits past the merge-base (4578ae3), so it pulled in ~40 unrelated files. Used the three-dot range origin/main...HEAD (8 files) as the true change under test for PR #2050 — aria-labels on employer-search buttons plus supporting en.yml/i18n-tasks.yml keys and two new controller specs. Ran the repo's real suite after reproducing CI setup (Postgres, bundle install, npm install, assets:precompile, db:schema:load): the two changed spec files pass 28/28, the wider spec/controllers plus activity_flow_navigator_spec pass 969/969, and 'i18n-tasks health' (gated by the locale edits) passes clean. An initial run showed 28 failures all caused by a missing precompiled USWDS sprite asset — a defect in my own bootstrap, resolved by running assets:precompile as CI does, so it is not reported as a classification. Ruby 3.4.9 is pinned but only 3.4.10 is in the runner toolcache; the pin was temporarily bumped and reverted after the run. No failing tests to classify. React 👍 if this is right (nothing needed triage) / 👎 if a real failure was missed, and on a 👎 please reply with a one-line reason. Advisory, non-blocking. |
FFS-4819
Changes
Added aria-labels to employer buttons so a screen reader can read them. The text reads "Select employer.name" so a user knows that they can take an action with the button rather than just reading the employers name. Buttons do not recognize alt text so an aria-label must be used.
Context for reviewers
These are the buttons:

Acceptance testing
Tag product and design in Slack for acceptance: @emmy-acceptance-testers
:alert: Deploy block! @ffs-eng I just merged PR [#123] and will be doing acceptance testing in demo - please don't deploy until I'm finished!)AI Usage
Preview environment