Merge branch 'main' into pager-bar-overlap

This commit is contained in:
2026-11-01 02:05:09 +00:00
31 changed files with 1599 additions and 61 deletions
@@ -5,7 +5,6 @@ import 'package:pipelines_app/core/api_gateway.dart';
import 'package:pipelines_app/features/runs/data/runs_repository.dart';
import 'package:pipelines_app/features/runs/ui/run_detail_view.dart';
import 'package:pipelines_app/features/runs/ui/runs_controller.dart';
import 'package:pipelines_app/ui/layout/sticky_section.dart';
import '../../artifacts/domain/artifact_fixtures.dart';
@@ -114,11 +113,7 @@ void main() {
await tester.pumpAndSettle();
await tester.tap(find.byKey(const ValueKey('run-detail-tab-artifacts')));
await tester.pumpAndSettle();
final sections = find.byType(StickySectionTitle);
for (var index = 0; index < sections.evaluate().length; index += 1) {
await tester.tap(sections.at(index));
}
await tester.pumpAndSettle();
// Artifact groups start open: the files show without a tap.
expect(find.text('Artifacts · 2 recorded'), findsOneWidget);
expect(find.text('build.log'), findsOneWidget);
@@ -7,19 +7,10 @@ import 'package:pipelines_app/features/runs/ui/run_detail_visit_facts.dart';
import 'package:pipelines_app/features/runs/ui/run_detail_visit_sections.dart';
import 'package:pipelines_app/features/runs/ui/run_detail_visit_session_state.dart';
import 'package:pipelines_app/ui/adaptive/glass_pill.dart';
import 'package:pipelines_app/ui/layout/sticky_section.dart';
import 'run_detail_graph_support.dart';
import 'run_detail_visit_support.dart';
Future<void> _expandArtifactGroups(WidgetTester tester) async {
final sections = find.byType(StickySectionTitle);
for (var index = 0; index < sections.evaluate().length; index += 1) {
await tester.tap(sections.at(index));
}
await tester.pumpAndSettle();
}
Future<void> _showTurnDocuments(WidgetTester tester) async {
await tester.tap(find.byKey(const Key('artifact-debug-toggle')));
await tester.pumpAndSettle();
@@ -204,7 +195,7 @@ void main() {
await openVisit(tester, platform, run: run, sequence: 2);
expectVisitHeading(tester, 'plan', 2);
await openVisitTab(tester, RunVisitSection.artifacts);
await _expandArtifactGroups(tester);
// Artifact groups start open: the files show without a tap.
expect(find.text('plan-2.csv'), findsOneWidget);
expect(find.text('public/shared.csv'), findsNothing);
expect(find.byType(ArtifactGalleryPage), findsOneWidget);