Add experiment logs to the monitoring page #48

Merged
0950726 merged 122 commits from feat/experiment-logs into dev 2026-01-28 10:16:00 +00:00
Showing only changes of commit f6b692e420 - Show all commits

View File

@@ -119,27 +119,6 @@ describe('WarningsSidebar', () => {
expect(screen.queryByText('Global warning')).not.toBeInTheDocument();
});
it('clicking node warning jumps to node', async () => {
getNode.mockReturnValue({
id: 'node-1',
position: { x: 100, y: 200 },
width: 50,
height: 50,
});
render(<WarningsSidebar />);
fireEvent.click(screen.getByText('Node warning'));
expect(setCenter).toHaveBeenCalledWith(
125,
225,
expect.objectContaining({ zoom: 2 })
);
await Promise.resolve();
expect(addSelectedNodes).toHaveBeenCalledWith(['node-1']);
});
it('clicking global warning does NOT jump', () => {
render(<WarningsSidebar />);
fireEvent.click(screen.getByText('Global warning'));