fix(paises): correct the gap between the language and country lists

Issue 3 (feedback-pruebas): t4:260 draws a 14px gap between "Tus
idiomas" and "Todos", not 16.
This commit is contained in:
2026-07-30 22:13:43 +02:00
parent 93b7ec2af9
commit 9a75027d57
2 changed files with 27 additions and 1 deletions
+21
View File
@@ -262,6 +262,27 @@ void main() {
expect(find.byIcon(Icons.search_rounded), findsOneWidget);
});
testWidgets('Issue 3 (feedback-pruebas): the gap between "Tus idiomas" and '
'"Todos" is 14, matching t4:260 -- not 16', (tester) async {
final estado = EstadoBusqueda(
radio: FakeServicioRadio(
paises: const [
PaisRadio(nombre: 'Spain', codigoIso: 'ES', numeroEmisoras: 482),
],
),
);
addTearDown(estado.dispose);
await tester.pumpWidget(buildScreen(estado));
await pumpEstable(tester);
expect(
tester.getSize(find.byKey(const ValueKey('paises-seccion-gap'))).height,
14,
reason: 't4:260 draws a 14px gap between the two eyebrow sections',
);
});
});
testWidgets(