flutter_driver package provides tools to create instrumented apps and drive those apps from a test suite
Questions tagged [flutterdriver]
78 questions
3
votes
0 answers
Flutter Driver fails on dev server (Unable to connect to Chrome debug port: 37475)
I developed an app, wrote some tests, tests are successful locally. When I try running tests on my dev server they fail. I think the problem is with an absence of monitor on the server. How would I run tests in headless mode or solve this problem in…

DAniil Tatarenkov
- 53
- 3
3
votes
0 answers
Reporting tool for flutter_driver
I was searching for a reporting tool for flutter integration tests (flutter_driver) that will generate an HTML document.
But I couldn't find any.
I have tried Ozzie. But on Windows Ozzie don't work - There is an issue. The library seems to be dead…

Hubert Arciszewski
- 182
- 1
- 8
3
votes
2 answers
Flutter widget vs Flutter driver
I'm writing tests for a mobile App written in Flutter.
I followed this Flutter Cookbook on testing Flutter apps, to learn how to write widget and integration tests.
This tutorial works perfectly, but I'm still stuck with my own Integration tests.
To…

lucie
- 895
- 5
- 19
3
votes
1 answer
Integrate flutter ui test with docker: drive test on headless chrome
I need to integrate flutter test drive into GitlabCI. I thing that easiest way to create a docker container (I use GitlabCI but you have the same problem if you use pure Docker or CircleCI or TravisCI or some pipeline into AWS or many other way)…

Nicola Landro
- 336
- 3
- 17
3
votes
1 answer
Flutter driver - enter text into field that is off screen
I am trying to write an integration test for a screen with multiple TextFormFields. For each test, I am simply:
Tapping the text field
Entering some text
Checking if the text exists in the text field.
Using Flutter driver, the following works well…

user2181948
- 1,646
- 3
- 33
- 60
3
votes
2 answers
FlutterDriver - how to close showDialog
I am working with FlutterDriver, I have an IconButton defined and a key set as shown:
Center(
child: IconButton(
key: Key('moredots'),
icon: Icon(Icons.more_vert),
onPressed: () {
showDialog(
context: context,
…

John Muchow
- 4,798
- 8
- 40
- 40
2
votes
3 answers
Flutter Driver: How to check device orientation?
How can I check the device orientation inside a flutter integration test within a flutter driver test?
SystemChrome.setPreferredOrientations
IS NOT AVAILABLE IN FLUTTER TEST!!!
See: https://stackoverflow.com/a/52576882/11999287

th_lo
- 461
- 3
- 18
2
votes
1 answer
Running Flutter Web integration tests inside gitlab (probably github too) Ubuntu VM fails because of Chromedriver
I am trying to run integration tests for Web inside gitlab VM.
The VM is running Ubuntu 20.04.3 LTS.
Chromedriver is launched with this command line:
chromedriver -port=4444 --enable-chrome-logs
The error from the chromedriver output…

Arnaud Delubac
- 759
- 6
- 13
2
votes
0 answers
Flutter firebase-auth integration testing signInWithCredential error: The caller does not have permission to execute the specified
I'm trying to run integration tests on my flutter app.
One of the flows I want to test is the Login flow. There is a firebase phone number authentication in the app.
When I'm trying to call signInWithCredential to sign in with the test phone number…

Leo
- 375
- 2
- 3
- 14
2
votes
0 answers
Exception: DriverError: Error in Flutter application: Uncaught extension error while executing tap: Guarded function conflict
I am trying to run an automated test on a flutter application, but the error below is generated when the application is waiting for a home page to load
VMServiceFlutterDriver: waitFor message is taking a long time to…

Sandro Rodrigues
- 21
- 1
2
votes
1 answer
Azure DevOps pipeline with Flutter Drive test framwork and AppCenter device sets
We have an Azure DevOps build pipeline that setup to create and deploy a Flutter mobile cross-platform app to Microsoft AppCenter. We use the Flutter Driver test framework for UI Automation. We wanted to run the tests with AppCenter's device sets.…

Vinh Cao
- 23
- 2
2
votes
2 answers
How to generate keyboard Event ENTER on a TextField in flutter_driver Tests
I am writing an integration test using flutter_driver for searching using text field I have to enter(Keyboard Event) after entering text, I cannot find any solution to generate keyboard event in flutter_Driver, is there any solution to…

Asif Nawaz
- 80
- 5
2
votes
2 answers
How can I write a test to wait for close app using Flutter Driver
I have to test my agreement when the app is first launched: if the user do not agree, than the app must close.
Most of the test are already working but I couldn't figure out how to test if the app has closed.
Is there any way to test this behavior…

Ian Koerich Maciel
- 51
- 3
2
votes
1 answer
How to get text from Progress Dialog using Flutter Test Driver
I have a Flutter Application. Currently I am trying to make an automated integration tests using Test Driver.
This is what I am trying to do.
Scenario:
- Click on Button
- Check if the Progress Dialog appeared
I was wondering if it is somehow…

Apuna12
- 375
- 2
- 6
- 23
2
votes
1 answer
Flutter integration testing and Gitlab CI/CD
I'm trying to setup CI/CD for my Flutter app using Fastlane and GitLab based on this tutorial, however I'm having some difficulty automating Flutter integration tests using Flutter driver. The problem I'm encountering is that when all tests are…

Benjamin Smrdelj
- 113
- 1
- 8