test(app): make the model fixtures use an unsupported backend and answer the directory read
This commit is contained in:
@@ -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.',
|
||||
|
||||
Reference in New Issue
Block a user