feat(app): chat row refusals can be dismissed with OK

This commit is contained in:
2026-10-22 22:37:27 +01:00
parent 59ea483aa3
commit 3085de9f30
7 changed files with 64 additions and 6 deletions
@@ -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', (