Skip to content

test(frontend): Match setup route assertion to formatter - #56

Open
Emran025 wants to merge 1 commit into
mainfrom
test/setup-route-format-contract
Open

test(frontend): Match setup route assertion to formatter#56
Emran025 wants to merge 1 commit into
mainfrom
test/setup-route-format-contract

Conversation

@Emran025

Copy link
Copy Markdown
Owner

Summary

Corrects the setup catch-all route source-contract assertion so it matches the repository Prettier configuration (singleQuote: true).

Root cause

The quality workflow formats frontend code before the onboarding test reads the route source. Prettier converts the route to single quotes, while the test expected a double-quoted source fragment, causing unrelated pull requests to fail.

Validation

  • Confirmed the route source is formatted with single quotes under the committed frontend Prettier configuration.
  • git diff --check passes.
  • CI quality and Laravel suites pending.

Fixes the quality-gate regression identified while reviewing #55.

Keep the source-contract assertion compatible with the repository single-quote Prettier policy so the quality workflow can execute the onboarding suite.
@Emran025
Emran025 force-pushed the test/setup-route-format-contract branch from 3ec3657 to 0ab1ec0 Compare August 18, 2026 03:49

Copy link
Copy Markdown
Owner Author

Technical review update:

The source-contract assertions were corrected to match the committed Prettier singleQuote: true policy. The prior route/catalog quote mismatch is no longer the observed failing assertion.

This PR is not eligible for merge yet because the quality workflow now stops at the independent i18n gate: i18n inventory: 28198 candidates, 1 pending review. That pending review is outside this focused test correction and must be resolved or explicitly governed before a green merge can be justified. The remaining backend and desktop-build checks are still running.

I will keep this PR open and will merge only after all required checks are successful.

Emran025 pushed a commit that referenced this pull request Aug 18, 2026
Assert catalog entries and static setup routing independently of formatter-selected quote style, removing the unrelated test failure that prevented the i18n remediation from reaching its validation gate.\n\nRefs #56.
Emran025 added a commit that referenced this pull request Aug 18, 2026
* fix(i18n): document technical setup aria identifier

Classify SetupSection's dynamic aria-labelledby identifier as a documented approved exception, record its rationale in the inventory policy, and enforce that approved exceptions have policy documentation.\n\nFixes #29.

* test(frontend): tolerate formatted setup assertions

Assert catalog entries and static setup routing independently of formatter-selected quote style, removing the unrelated test failure that prevented the i18n remediation from reaching its validation gate.\n\nRefs #56.

* fix(i18n): match approved exceptions semantically

Derive approved exceptions from stable policy constraints including source path, JSX attribute, and literal template shape rather than formatter-sensitive source coordinates.\n\nKeep generic taxonomy entries documentary-only and reject undocumented approved statuses. Refs #29.

---------

Co-authored-by: Emran025 <1.48263577e+08+Emran025@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant