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
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
test: wait for measured timeline bed widths to render (#11211)
Adam Eivyf2898135a0d1
diff --git a/client/src/pages/VideoTimelineEditor.test.jsx b/client/src/pages/VideoTimelineEditor.test.jsxindex d8fa56a807..fc25ed901f 100644--- a/client/src/pages/VideoTimelineEditor.test.jsx+++ b/client/src/pages/VideoTimelineEditor.test.jsx@@ -536,7 +536,8 @@ describe('source-aware playback', () => {expect(bedBlock().style.width).toBe('600px');reportBedLength(el, 2);- expect(bedBlock().style.width).toBe('120px');+ // Metadata updates React state; wait for the measured span to render.+ await waitFor(() => expect(bedBlock().style.width).toBe('120px'));// 2s file, 4s+4s authored fades refit to 1s+1s: gain is 0.5 at 0.5s.seekTo(0.5);@@ -567,7 +568,8 @@ describe('source-aware playback', () => {const { container } = renderEditorRoute();await awaitPageLoaded('Loading timeline project');reportBedLength(container.querySelector('audio'), 2);- expect(bedBlock().style.width).toBe('120px');+ // Metadata updates React state; wait for the measured span to render.+ await waitFor(() => expect(bedBlock().style.width).toBe('120px'));fireEvent.click(screen.getByRole('button', { name: 'Remove bed.mp3 from timeline' }));expect(container.querySelector('audio')).toBeNull();