fix(app): polish glass diff and pipeline controls

This commit is contained in:
2026-10-31 03:22:52 +00:00
parent 3641083bcc
commit 5bed73e658
9 changed files with 76 additions and 71 deletions
@@ -41,4 +41,25 @@ void main() {
);
}
}
testWidgets('wide scope control hugs its labels', (tester) async {
await tester.pumpWidget(
MaterialApp(
home: Scaffold(
body: SizedBox(
width: 500,
child: Align(
alignment: AlignmentDirectional.centerStart,
child: PipelineScopeControl(scheduled: false, onSelected: (_) {}),
),
),
),
),
);
expect(
tester.getSize(find.byKey(const Key('pipeline-scope'))).width,
lessThan(500),
);
});
}