[ADD] dms: Hoot JS test suite + HttpCase wiring#9
Open
dnplkndll wants to merge 1 commit into
Open
Conversation
This was referenced May 26, 2026
ddcb35c to
8093e04
Compare
3599e19 to
1555624
Compare
83e0437 to
6a92e5d
Compare
beb9548 to
cbef9f5
Compare
8a267e9 to
f7e718e
Compare
47aae35 to
8b06391
Compare
f7e718e to
ae7c486
Compare
8b06391 to
8c237fd
Compare
3e7fe81 to
acfc5d6
Compare
49b0325 to
4537378
Compare
acfc5d6 to
020a378
Compare
35f61e8 to
9929ce9
Compare
020a378 to
581edfa
Compare
9929ce9 to
d45c7a9
Compare
70614eb to
e642c19
Compare
e642c19 to
2e2edbf
Compare
d45c7a9 to
41843a7
Compare
Fork-only — pre-upstream iteration. Hoot suite for the UX surfaces introduced in the parent UX PR. Run via HttpCase against the runboat or locally with --test-enable. Hoot test suite (tests/test_hoot.py + tests/test_backend_tours.py) - tests/test_hoot.py wires HttpCase.browser_js with /web/tests?...&filter="@DMS" — Hoot's ?filter= defaults to fuzzy character-order matching; the double-quoted exact-substring form isolates @dms/... test paths from the bundled web-core suite. - 9 Hoot test files cover the UX surface: dms_stat_bar (dashboard tiles + sparklines) file_preview_pane (header, load, dispatch) preview_handlers (URL builders + dispatch + mimetype fallback) preview_registry (registration + score sort) file_kanban_buttons / _density / _mount / _list_renderer routing - defineMailModels() covers the mock-server base because dms depends on mail; expect.errors(N) + verifyErrors(patterns) replaces the array-of-objects form Hoot rejects. - Tour: dms_kanban_density_tour covers comfortable / compact / list switching + persistence across reloads.
2e2edbf to
d09e8ae
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hoot JS test suite covering the UX surface introduced in #3. Fork-only — pre-upstream iteration; will be split before any upstream submission.
Base:
19.0-imp-dms-ux(#3) · Head:19.0-add-dms-hoot-tests· Stacked under #7 (CI) and #8 (libreoffice preview).What the branch adds
dms/tests/test_hoot.py— wiresHttpCase.browser_jsagainst/web/tests?...&filter="@dms". The double-quoted form forces Hoot's?filter=into exact-substring matching; bare@dmsis fuzzy character-order and runs the bundled web-core suite by accident.dms/tests/test_backend_tours.py—start_tourwiring fordms_kanban_density_tour.dms/static/tests/:components/dms_stat_bar.test.js— dashboard tiles + sparkline geometrycomponents/file_preview_pane.test.js— header buttons + load lifecycle + dispatchcomponents/preview_handlers.test.js— per-handler URL builders + dispatch + mimetype fallbackcomponents/preview_registry.test.js— registration + score sort + match()views/file_kanban_buttons.test.js— Upload / Scan / file inputviews/file_kanban_mount.test.js— mount regressions (boolean attr serialization, regex-literal QWeb)views/file_renderer_preview_routing.test.js— row click → preview-pane statetours/dms_kanban_density_tour.esm.js— comfortable / compact / list switching + persistencedefineMailModels()covers the mock-server base becausedmsdepends onmail.defineWebModels()alone is insufficient.expect.errors(N) + verifyErrors(patterns)replaces the array-of-objects form Hoot rejects.CI
GitHub Actions on the
ledoentorg is currently throttled by Actions abuse-detection (see #7 body). Runboat preview builds pass.