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: render widget in files-only restore test (#9960)

Adam Eivyeb6f16889641
diff --git a/client/src/components/BackupWidget.test.jsx b/client/src/components/BackupWidget.test.jsx
index 0f871e752b..45467c5c91 100644
--- a/client/src/components/BackupWidget.test.jsx
+++ b/client/src/components/BackupWidget.test.jsx
@@ -239,6 +239,7 @@ describe('BackupWidget snapshots', () => {
it('describes restore as files-only and never claims all data is up to date', async () => {
mockRestoreBackup.mockResolvedValueOnce({ changedFiles: [] });
+ renderWidget();
await openRestorePanel();
expect(screen.getByText(/PostgreSQL records are not restored here/)).toBeInTheDocument();
expect(screen.getByRole('link', { name: 'Restore PostgreSQL records in Backup settings' })).toHaveAttribute('href', '/settings/backup');