fix(app): keep round-3 run rows within narrow large-text widths
The trailing relative time could not shrink, so a 320px row at 2x text overflowed; it now keeps at most 40% of the title line and ellipsises. Update the pipelines screen test for rows that no longer show the run number or a no-runs line.
This commit is contained in:
@@ -19,12 +19,11 @@ void main() {
|
||||
|
||||
expect(find.text('Pipelines'), findsOneWidget);
|
||||
expect(find.text('Alpha review'), findsOneWidget);
|
||||
expect(
|
||||
find.text('2 stages · 1 schedule'),
|
||||
findsOneWidget,
|
||||
);
|
||||
expect(find.textContaining('run 42'), findsOneWidget);
|
||||
expect(find.text('no runs recorded'), findsOneWidget);
|
||||
expect(find.text('2 stages · 1 schedule'), findsOneWidget);
|
||||
// The row shows the last run's state and age; its number is in the detail.
|
||||
expect(find.textContaining('run 42'), findsNothing);
|
||||
// A pipeline that never ran shows its summary alone, with no status dot.
|
||||
expect(find.text('no runs recorded'), findsNothing);
|
||||
expect(find.text('Select a pipeline.'), findsOneWidget);
|
||||
|
||||
await tester.tap(find.byKey(const Key('pipeline-row-1')));
|
||||
|
||||
Reference in New Issue
Block a user