fix(app): pipeline row items on the right end flush with the row edge

This commit is contained in:
2026-10-23 19:39:25 +01:00
parent 15530aaf1a
commit 1f63aa5e3f
2 changed files with 117 additions and 55 deletions
@@ -151,4 +151,21 @@ void main() {
expect(updated.right, greaterThan(row.center.dx));
expect(updated.top, greaterThan(what.top));
});
testWidgets('right-hand row items end flush with the same edge', (
tester,
) async {
final fixture = PipelineFixture();
await pumpWide(tester, gatewayFor(fixture));
final version = tester.getRect(find.textContaining('v2 · #1'));
final updated = tester.getRect(find.text('updated 17 Oct 21:26'));
expect(updated.right, moreOrLessEquals(version.right, epsilon: 1));
final mini = find.byKey(const Key('pipeline-mini-1'));
if (mini.evaluate().isNotEmpty) {
expect(
tester.getRect(mini).right,
moreOrLessEquals(version.right, epsilon: 1),
);
}
});
}