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 the Deck card retry test broken on main by #11057 + #11058

Claude3e8b4bec6b6e
diff --git a/client/src/components/decks/DeckCardGrid.test.jsx b/client/src/components/decks/DeckCardGrid.test.jsx
index bbe8f8503f..3b4c13db51 100644
--- a/client/src/components/decks/DeckCardGrid.test.jsx
+++ b/client/src/components/decks/DeckCardGrid.test.jsx
@@ -52,7 +52,8 @@ describe('DeckCardGrid', () => {
expect(message).not.toHaveAttribute('title');
expect(message).not.toHaveClass('line-clamp-3');
expect(message).toHaveClass('[overflow-wrap:anywhere]');
- const retry = screen.getByRole('button', { name: /^Render Card failed on/ });
+ // #11058: an unrendered card's empty slot is its one render action, so it is the retry.
+ const retry = screen.getByRole('button', { name: 'Render Card failed' });
expect(retry).toBeEnabled();
fireEvent.click(retry);
expect(props.onRenderCard).toHaveBeenCalledWith(failed);