fix(app): a stage's tabs always end at the bottom of the screen, also on wide screens

This commit is contained in:
2026-10-24 01:09:13 +01:00
parent 2009b3ba1d
commit 6a9c41de33
2 changed files with 73 additions and 50 deletions
@@ -196,4 +196,24 @@ void main() {
}
});
}
for (final platform in RunDetailTestPlatform.values) {
for (final size in const [
Size(390, 844),
Size(884, 832),
Size(1000, 700),
]) {
testWidgets(
'${platform.name} stage tabs end at the bottom at ${size.width}x${size.height}',
(tester) async {
await openVisit(tester, platform, size: size);
for (final section in shownVisitSections) {
await openVisitTab(tester, section);
final strip = tester.getRect(find.byType(RunVisitSectionStrip));
expect(strip.bottom, size.height, reason: section.name);
}
},
);
}
}
}