fix: issue-372, issue-227, issue-406

This commit is contained in:
misha
2026-09-02 09:32:14 +03:00
parent 10af279d87
commit c6ea1d414d
34 changed files with 1623 additions and 387 deletions

View File

@@ -128,6 +128,15 @@ void main() {
);
});
testWidgets('does not add extra space above the title field', (tester) async {
await tester.pumpWidget(createTestWidget());
await tester.pumpAndSettle();
final titleTop = tester.getTopLeft(find.text('Заголовок')).dy;
final scrollTop = tester.getTopLeft(find.byType(SingleChildScrollView)).dy;
expect(titleTop - scrollTop, 16);
});
testWidgets('pre-fills form fields when editing existing blog post', (
tester,
) async {