Populate metadata for every restored chat pane
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user