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
fix(tests): wait for track hydration before typing the prompt
[._.]/ Adam Eivy2ed14f5731bb
diff --git a/client/src/components/music/TracksManager.test.jsx b/client/src/components/music/TracksManager.test.jsxindex ed604baed9..43a3d02dfc 100644--- a/client/src/components/music/TracksManager.test.jsx+++ b/client/src/components/music/TracksManager.test.jsx@@ -191,6 +191,11 @@ describe('<TracksManager> generative workflow hand-off', () => {renderAt('track-1');const prompt = await screen.findByLabelText(/^Prompt/);+ // The form hydrates from the loaded track in an effect that can commit after+ // the fields mount — `findByLabelText` resolves on the DOM node appearing,+ // not on hydration landing. Type only once it has, or hydration overwrites+ // the typed prompt and the save sends the original.+ await waitFor(() => expect(screen.getByLabelText('Title').value).toBe('Example Song'));fireEvent.change(prompt, { target: { value: 'A patient analog pulse.' } });fireEvent.click(screen.getByRole('button', { name: 'Design with AI' }));