import 'package:flutter_test/flutter_test.dart';

import 'package:mapflow/app/app.dart';

void main() {
  testWidgets('renders Telegram login before authorization', (tester) async {
    await tester.pumpWidget(const MapflowApp());
    await tester.pump();

    expect(find.text('MapFlow'), findsOneWidget);
    expect(find.text('Войти через Telegram'), findsOneWidget);
  });
}
