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: wait for wake cadence select readiness in MindTab test

[._.]/ Adam Eivyb14aebc94366
diff --git a/client/src/components/cos/tabs/MindTab.test.jsx b/client/src/components/cos/tabs/MindTab.test.jsx
index a38709a1d5..8313b052bd 100644
--- a/client/src/components/cos/tabs/MindTab.test.jsx
+++ b/client/src/components/cos/tabs/MindTab.test.jsx
@@ -289,7 +289,7 @@ describe('MindTab', () => {
expect(document.querySelector(`time[datetime="${nextWakeAt}"]`)).toBeInTheDocument();
const cadence = screen.getByLabelText('Wake cadence');
expect(cadence).toHaveValue('30');
- expect(cadence).toBeEnabled();
+ await waitFor(() => expect(screen.getByLabelText('Wake cadence')).toBeEnabled());
fireEvent.change(cadence, { target: { value: '60' } });