2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-06-12 02:05:29 +00:00
- Changing some rando stuff to try to get the project to compile.
- Updated Android Studio after almost a year, it was hella borked
This commit is contained in:
Oliver Walters
2021-01-20 08:00:43 +11:00
parent d2967db8a8
commit 7ba1fc9328
5 changed files with 9 additions and 19 deletions

View File

@ -8,23 +8,9 @@
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:inventree_app/main.dart';
//import 'package:inventree_app/main.dart';
void main() {
testWidgets('Counter increments smoke test', (WidgetTester tester) async {
// Build our app and trigger a frame.
await tester.pumpWidget(MyApp());
// Verify that our counter starts at 0.
expect(find.text('0'), findsOneWidget);
expect(find.text('1'), findsNothing);
// Tap the '+' icon and trigger a frame.
await tester.tap(find.byIcon(Icons.add));
await tester.pump();
// Verify that our counter has incremented.
expect(find.text('0'), findsNothing);
expect(find.text('1'), findsOneWidget);
});
}