fix(app): pipeline Run and Runs share one action row, as the web

This commit is contained in:
2026-10-23 13:32:22 +01:00
parent f759579c4d
commit 57a4844d4f
2 changed files with 34 additions and 25 deletions
@@ -106,6 +106,11 @@ void main() {
await tester.pumpAndSettle();
expect(find.bySemanticsLabel('View runs of Alpha review'), findsOneWidget);
// Run and Runs share one action row, as the web's pipeline actions.
final runs = tester.getCenter(find.byKey(const Key('pipeline-view-runs')));
final actions = tester.getRect(find.byKey(const Key('pipeline-actions')));
expect(actions.height, lessThan(56));
expect(runs.dx, greaterThan(actions.left + 40));
await tester.tap(find.byKey(const Key('pipeline-view-runs')));
expect(opened, [1]);
});