meal-order-manager/tests
Adam Moussa 216618a862
Some checks are pending
Deploy / deploy (push) Waiting to run
refactor(form): extract Jinja templates and lock form JS in CI (#77)
* refactor(form): extract Jinja templates and lock form JS in CI

Split the monolithic generate_form f-string into form.html.j2/css/js
plus admin.js, inject a single window.CONFIG blob, and add structural
plus Playwright coverage so qty delegation and clamp stay green in CI.

* Update src/server/generate_form.py

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* fix(form): isolate admin script bindings

* fix(form): address admin and form review findings

* fix(form): resolve remaining review nitpicks

* ci(workflow): restore required check context

Keep the reusable workflow caller job compatible with the organization-required ci / ci status check.

* fix(form): address remaining review findings

* fix: apply CodeRabbit auto-fixes

Fixed 1 file(s) based on 1 unresolved review comment.

Co-authored-by: CodeRabbit <noreply@coderabbit.ai>

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: CodeRabbit <noreply@coderabbit.ai>
2026-07-30 19:19:51 -04:00
..
fixtures refactor(form): extract Jinja templates and lock form JS in CI (#77) 2026-07-30 19:19:51 -04:00
conftest.py fix(test): fix aggregated notifier tests + enable CI test suite (INFRA-72) (#39) 2026-07-08 16:33:42 -04:00
test_admin_authorizer.py Add gateway-level authorizer to admin API (INFRA-100) (#24) 2026-06-08 18:05:09 -04:00
test_aggregate_orders.py Add weekly summary PDF and admin order-list download (#16) (#17) 2026-06-01 18:49:58 -04:00
test_close_form.py Add discount pricing, Google auth, and order hardening (#10) 2026-05-13 18:00:21 -04:00
test_generate_form.py refactor(form): extract Jinja templates and lock form JS in CI (#77) 2026-07-30 19:19:51 -04:00
test_pdf.py Add weekly summary PDF and admin order-list download (#16) (#17) 2026-06-01 18:49:58 -04:00
test_secrets.py Add discount pricing, Google auth, and order hardening (#10) 2026-05-13 18:00:21 -04:00
test_slack_notifier.py fix(test): fix aggregated notifier tests + enable CI test suite (INFRA-72) (#39) 2026-07-08 16:33:42 -04:00
test_submit_order.py Harden summary-PDF endpoint per cross-review 2026-06-05 18:44:25 -04:00