Job-Bemerkungen anzeigen

This commit is contained in:
Sven committed 2024-04-09 09:57:21 +02:00
1 parent 31a292e8d0
commit 32d3a8d567
4 files changed
+91 -5

No files matched your search

+27
View File
@@ -0,0 +1,27 @@
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:stadtbote/main.dart';
void main() {
testWidgets('tap on the floating action button, verify counter',
(tester) async {
// Load app widget.
await tester.pumpWidget(MyApp());
// Verify the counter starts at 0.
expect(find.text('HH1091'), findsOneWidget);
// Finds the floating action button to tap on.
//final fab = find.byKey(const Key('increment'));
// Emulate a tap on the floating action button.
//await tester.tap(fab);
// Trigger a frame.
//await tester.pumpAndSettle();
// Verify the counter increments by 1.
//expect(find.text('0'), findsNothing);
//expect(find.text('1'), findsOneWidget);
});
}