merge(app): land run tab alignment test
This commit is contained in:
@@ -37,11 +37,10 @@ void main() {
|
||||
previous = center.dx;
|
||||
}
|
||||
expect(find.byKey(runTitleActionKey), findsOneWidget);
|
||||
// The strip lines up with the header's 16px inset on both hosts.
|
||||
expect(
|
||||
tester.getTopLeft(find.byKey(const Key('run-detail-tabs'))).dx,
|
||||
16,
|
||||
);
|
||||
// The strip lines up with the header's 16px inset on both hosts: the
|
||||
// first label sits within its segment's own padding of that inset, not
|
||||
// behind a second 16px control inset (which put it at 48 on Cupertino).
|
||||
expect(tester.getTopLeft(find.text('Summary')).dx, lessThan(40));
|
||||
|
||||
for (final tab in [
|
||||
RunDetailTab.graph,
|
||||
|
||||
Reference in New Issue
Block a user