Populate metadata for every restored chat pane

This commit is contained in:
2026-11-06 19:19:24 +00:00
parent 7d2e200407
commit 803a067edf
2 changed files with 12 additions and 2 deletions
@@ -79,6 +79,15 @@ void main() {
expect(controller.panes.map((pane) => pane.sessionId), ['a', 'b']);
expect(controller.activePane?.sessionId, 'b');
if (width > 1000) {
for (final pane in controller.panes) {
expect(
find.descendant(
of: find.byKey(ValueKey('chat-pane-detail-${pane.id}')),
matching: find.text('Chat ${pane.sessionId}'),
),
findsOneWidget,
);
}
expect(
tester
.widget<ChatSidebarButton>(find.byType(ChatSidebarButton).first)