test(app): make the model fixtures use an unsupported backend and answer the directory read

This commit is contained in:
2026-10-22 18:48:50 +01:00
parent 0ee68204cd
commit 76d3ac040c
4 changed files with 15 additions and 3 deletions
@@ -97,6 +97,18 @@ void main() {
await tester.tap(find.byKey(runPipelineActionKey));
await tester.pumpAndSettle();
// The dialog asks for recent directories; answer it so the transport is
// free for the launch request this test asserts.
await waitForRequest(tester, channel, 'chat_directories');
final directories = pipelineRequest(channel, 'chat_directories')!;
channel.incoming.add(
jsonEncode({
'id': directories['id'],
'type': 'chat_directories',
'chat_directories': <dynamic>[],
}),
);
await tester.pump();
await tester.enterText(
find.byKey(runPipelinePromptKey),
'Review the change.',