feat(app): chat row refusals can be dismissed with OK
This commit is contained in:
@@ -175,6 +175,13 @@ void main() {
|
||||
findsOneWidget,
|
||||
);
|
||||
expect(gateway.count('chat_sessions'), 1);
|
||||
|
||||
// OK acknowledges the refusal locally; nothing else is sent.
|
||||
final sent = gateway.calls.length;
|
||||
await tester.tap(find.text('OK'));
|
||||
await tester.pumpAndSettle();
|
||||
expect(find.byKey(const Key('chat-row-error-s2')), findsNothing);
|
||||
expect(gateway.calls.length, sent);
|
||||
});
|
||||
|
||||
testWidgets('a create reply without chat_session shows the web wording', (
|
||||
|
||||
Reference in New Issue
Block a user