fix(app): run decision is the web's full-width waiting banner

This commit is contained in:
2026-10-23 13:24:04 +01:00
parent ddef9da35a
commit 841ec1d34a
2 changed files with 60 additions and 18 deletions
@@ -73,6 +73,17 @@ void main() {
);
await tester.pumpAndSettle();
expect(find.text(decisionWaitingTitle), findsOneWidget);
// The web's decision banner spans the header, with Decide trailing.
final banner = tester.getRect(
find.byKey(const Key('run-decision-banner')),
);
final tabs = tester.getRect(find.byKey(const Key('run-detail-tabs')));
expect(banner.left, tabs.left);
expect(banner.width, greaterThan(tabs.width));
expect(
tester.getCenter(find.byKey(decisionActionKey)).dx,
greaterThan(banner.center.dx),
);
await tester.tap(find.byKey(decisionActionKey));
await tester.pumpAndSettle();
expect(