/** Test setup helper: loads the harness HTML and injects the built bundle as an inline module script, then waits for the bridge to expose `globalThis.moduleDom`. Centralised here so every `*.e2e.test.ts` has the same loading guarantee without repeating boilerplate. Direct `