mirror of
https://github.com/Xevion/paperless-mobile.git
synced 2025-12-06 07:15:43 -06:00
Externalized API and models as own package
This commit is contained in:
17
integration_test/login/login_integration_test.dart
Normal file
17
integration_test/login/login_integration_test.dart
Normal file
@@ -0,0 +1,17 @@
|
||||
import 'package:flutter_test/flutter_test.dart';
|
||||
import 'package:integration_test/integration_test.dart';
|
||||
|
||||
void main() {
|
||||
final binding = IntegrationTestWidgetsFlutterBinding.ensureInitialized();
|
||||
|
||||
testWidgets('screenshot', (WidgetTester tester) async {
|
||||
// Build the app.
|
||||
|
||||
// This is required prior to taking the screenshot (Android only).
|
||||
await binding.convertFlutterSurfaceToImage();
|
||||
|
||||
// Trigger a frame.
|
||||
await tester.pumpAndSettle();
|
||||
await binding.takeScreenshot('screenshot-1');
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user