mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-30 19:36:25 +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
|
// Connect to the Flutter driver before running any tests
|
||||||
setUpAll(() async {
|
setUpAll(() async {
|
||||||
driver = await FlutterDriver.connect();
|
driver = await FlutterDriver.connect();
|
||||||
|
await Future.delayed(const Duration(seconds: 5));
|
||||||
});
|
});
|
||||||
|
|
||||||
// Close the connection to the driver after the tests have completed
|
// Close the connection to the driver after the tests have completed
|
||||||
|
Reference in New Issue
Block a user