test(tag): the tag filter has room beside four material tabs

The test font draws every letter as a full square, so at 1,200 wide the
four tabs left the flashcards' filter folded into the menu.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tizian 「ティツィアーン」 <raisondetredev@pm.me>
This commit is contained in:
Tizian 「ティツィアーン」 2026-10-14 08:10:07 +02:00
commit 5683a1f33e
Signed by: raisondetredev
GPG key ID: 07F6FCF405488B64

View file

@ -68,7 +68,9 @@ void main() {
/// Opens the studyset `japanese`, with the cards and tags the test stored
/// through [cards] and [tags]: the app reads them from the same gateways.
Future<void> showList(WidgetTester tester) async {
tester.view.physicalSize = const Size(1200, 1600);
// Wide enough for the flashcards' filter beside four tabs, in the test
// font's square letters.
tester.view.physicalSize = const Size(1600, 1600);
tester.view.devicePixelRatio = 1;
addTearDown(tester.view.reset);
final studysets = FakeStudysetGateway()