mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-29 02:07:39 +08:00
Screenshotter: Add a delay
Our runApp seems to take some time now.
This commit is contained in:
@ -11,6 +11,7 @@ void main() {
|
||||
// Connect to the Flutter driver before running any tests
|
||||
setUpAll(() async {
|
||||
driver = await FlutterDriver.connect();
|
||||
await Future.delayed(const Duration(seconds: 5));
|
||||
});
|
||||
|
||||
// Close the connection to the driver after the tests have completed
|
||||
|
Reference in New Issue
Block a user