Refine Settings destination shell integration

Keep Settings navigation independent while preserving shell actions and destination-specific state. Add the reviewed chat, run-entry, layout, and regression-test updates needed by the destination behavior.
This commit is contained in:
2026-11-12 11:21:26 +00:00
parent 95902e3e49
commit 26bb583f10
49 changed files with 2386 additions and 483 deletions
@@ -604,4 +604,28 @@ void main() {
expect(find.text('Nightly review'), findsWidgets);
expect(launches, 0);
});
testWidgets('the labelled Run button on the detail starts the flow', (
tester,
) async {
final fixture = PipelineFixture();
final navigated = <int>[];
final gateway = launchGateway(fixture, onLaunch: (_) => acceptedRun(79));
await pumpScreen(tester, gateway, navigated);
await openDetail(tester);
final run = find.byKey(runPipelineActionKey);
expect(
find.descendant(of: run, matching: find.text(runPipelineActionLabel)),
findsOneWidget,
);
await tester.tap(run);
await tester.pumpAndSettle();
await fillFields(tester);
await tester.tap(find.byKey(runPipelineConfirmKey));
await tester.pumpAndSettle();
expect(gateway.callsOf('run_pipeline'), hasLength(1));
expect(navigated, [79]);
});
}