Fakultas Ilmu Komputer UI

Commit 57b74529 authored by Agnes Handoko's avatar Agnes Handoko
Browse files

[RED] add test for floating button

parent df78bebc
Pipeline #40943 failed with stages
in 3 minutes and 21 seconds
......@@ -35,6 +35,10 @@ void main() {
expect(find.byKey(containerGoogleMap), findsOneWidget);
});
testWidgets('finds a floating in dashboard', (WidgetTester tester) async {
expect(find.byType(FloatingActionButton), findsOneWidget);
});
// testWidgets('finds a marker in google map', (WidgetTester tester) async {
// await tester.pumpWidget(MaterialApp(home: Dashboard()));
// expect(find.byType(Marker), findsOneWidget);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment