Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

test: stop MusicVideo page tests loading the artifact iframe over the network (#9245)

Adam Eivyca491474ca6c
diff --git a/client/src/pages/MusicVideo.test.jsx b/client/src/pages/MusicVideo.test.jsx
index 006969ecaa..b3f24fc2b4 100644
--- a/client/src/pages/MusicVideo.test.jsx
+++ b/client/src/pages/MusicVideo.test.jsx
@@ -297,6 +297,9 @@ const renderMVWithNav = (to) => render(
);
beforeEach(() => {
+ // The dev-artifact drawer renders a real <iframe src="/api/...">; keep happy-dom
+ // from fetching it (the src attribute is still asserted, just never loaded).
+ window.happyDOM.settings.disableIframePageLoading = true;
vi.clearAllMocks();
sseState.latest = null;
sseState.closed = false;