Regression Tests — ui_event_logger
=====================================
Purpose
-------
Verify that ``ui_event_logger`` imports cleanly, exposes the required public
API surface, and registers callbacks correctly with custom event properties.
Responsibilities
----------------
- Confirm the module imports without error and exposes ``register_callbacks()``.
- Confirm ``REQUIRED_STORE_ID`` has the expected constant value.
- Confirm ``register_callbacks()`` accepts a custom ``UI_EVENT_PROPERTIES``
tuple with fewer properties than the default five.
Diagnostics
-----------
Domain: TEST
Levels:
L2 — lifecycle
L3 — semantic details
L4 — deep tracing
Contracts
---------
- All tests are skipped automatically when Dash is not installed.
- Must not permanently modify oc_diagnostics global state.
- Must restore all patched globals in finally blocks.
- Must not start servers or require network access.
- Must run deterministically across repeated invocations.