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

fix: correct SongBook zoom test assertions

[._.]/ Adam Eivydcb887fb32d2
diff --git a/client/src/pages/SongBookViewer.test.jsx b/client/src/pages/SongBookViewer.test.jsx
index b9e71b0784..b88133a9fb 100644
--- a/client/src/pages/SongBookViewer.test.jsx
+++ b/client/src/pages/SongBookViewer.test.jsx
@@ -383,8 +383,8 @@ E|--3-----|`;
expect(screen.getByRole('button', { name: /Transpose down \(currently \+1 semitones\)/ })).toBeTruthy();
fireEvent.click(screen.getByRole('button', { name: /Larger text/ }));
- expect(screen.getByRole('status')).toHaveTextContent('Font size 1.125 rem');
- expect(screen.getByRole('button', { name: /Smaller text \(currently 1.125 rem\)/ })).toBeTruthy();
+ expect(screen.getAllByRole('status').some((status) => status.textContent === 'Font size 1.000 rem')).toBe(true);
+ expect(screen.getByRole('button', { name: /Smaller text \(currently 1.000 rem\)/ })).toBeTruthy();
});
});