feat(app): separate turn documents from artifacts

This commit is contained in:
2026-10-31 12:56:16 +00:00
parent 480f8843eb
commit acf74116d7
4 changed files with 279 additions and 47 deletions
@@ -79,12 +79,12 @@ void main() {
expect(find.text('ok'), findsOneWidget);
await openVisitTab(tester, RunVisitSection.artifacts);
// The section is the run's gallery, focused on this visit: exactly the
// stage's files, without the session evidence file.
// The focused gallery keeps generated files primary and makes the session
// evidence reachable in its secondary turn-documents section.
await _expandArtifactGroup(tester);
expect(find.byType(ArtifactGalleryPage), findsOneWidget);
expect(find.text('plan.csv'), findsOneWidget);
expect(find.text('session.html'), findsNothing);
expect(find.text('session.html'), findsOneWidget);
await openVisitTab(tester, RunVisitSection.session);
expect(find.text('Session'), findsWidgets);