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: isolate artifact frame navigation in MusicVideo tests (#9245)

[._.]/ Adam Eivy4372b6883b86
diff --git a/client/src/pages/MusicVideo.test.jsx b/client/src/pages/MusicVideo.test.jsx
index 87520a34e0..ae8bda5d37 100644
--- a/client/src/pages/MusicVideo.test.jsx
+++ b/client/src/pages/MusicVideo.test.jsx
@@ -334,9 +334,8 @@ 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;
+ // Keep the real artifact iframe and src assertions without navigating to its API URL.
+ window.happyDOM.settings.navigation.disableChildFrameNavigation = true;
vi.clearAllMocks();
sseState.latest = null;
sseState.closed = false;