Merge commit 'a88a7bddaf656394bbea74bb42a5e1656b52847d' into pipelines/run-20261112-0053-chat-list-more-menu-matches-the-pane-mor-f0d0
This commit is contained in:
@@ -17,7 +17,7 @@ void main() {
|
||||
|
||||
expect(find.byType(Scaffold), findsWidgets);
|
||||
|
||||
const message = 'No chat sessions on this server yet.';
|
||||
const message = 'No chats yet. Use New chat to start one.';
|
||||
expect(find.text(message), findsOneWidget);
|
||||
expectNormalTextStyle(tester, message);
|
||||
});
|
||||
@@ -39,7 +39,7 @@ void main() {
|
||||
'for this operator';
|
||||
expect(find.text(message), findsOneWidget);
|
||||
expectNormalTextStyle(tester, message);
|
||||
expect(find.text('No chat sessions on this server yet.'), findsNothing);
|
||||
expect(find.text('No chats yet. Use New chat to start one.'), findsNothing);
|
||||
expect(
|
||||
find.ancestor(
|
||||
of: find.text('Retry'),
|
||||
|
||||
@@ -91,7 +91,10 @@ void main() {
|
||||
) async {
|
||||
final gateway = FakeChatGateway();
|
||||
await pumpMaterialChat(tester, gateway);
|
||||
expect(find.text('No chat sessions on this server yet.'), findsOneWidget);
|
||||
expect(
|
||||
find.text('No chats yet. Use New chat to start one.'),
|
||||
findsOneWidget,
|
||||
);
|
||||
expect(find.textContaining('No chats match'), findsNothing);
|
||||
});
|
||||
|
||||
@@ -111,7 +114,7 @@ void main() {
|
||||
'Bad state: server unavailable while listing chat sessions '
|
||||
'for this operator';
|
||||
expect(find.text(message), findsOneWidget);
|
||||
expect(find.text('No chat sessions on this server yet.'), findsNothing);
|
||||
expect(find.text('No chats yet. Use New chat to start one.'), findsNothing);
|
||||
final messageBox = tester.renderObject<RenderBox>(find.text(message));
|
||||
expect(
|
||||
messageBox.size.height,
|
||||
|
||||
Reference in New Issue
Block a user