Reputation: 5964
I created a Flutter app. My app uses Firebase Auth.
I need to create integration tests for my app, but I don’t know how to do this if I need to enter my login and password.
I'm new to flutter and this is a problem for me. I will be grateful for any help.
Upvotes: 2
Views: 794
Reputation: 126854
For integration testing, Flutter provides FlutterDriver
.
To get started, you can view the official guide.
Once you are familiar with how FlutterDriver
works, you will be able to login using a combination of FlutterDriver.tap
and most importantly FlutterDriver.enterText
.
Upvotes: 3