Simple and to the point demonstration without any time waste, simple awesome. Would love to know if there is any way to achieve native UI communication like allowing notification/location permissions or connect to a WiFi network etc.
Hi there, Thanks for the comment! Would you like to explain more about "native communication for location permissions or connecting to a WiFi network"?
Native communication like if I have to allow GPS permission and the native iOS or Android GPS permission dialog appears, then how can I provide the permission through the integration test? And same goes for the WiFi network connection, if I want to connect to a Wifi network then how can I connect from the phone settings using the integration test? or is that even possible @@runtimesnippets
What if i have 2 files to execute after login? Can i do simply in one main method by calling the file names and without uninstalling the app after login?
as I understand, you have two files with integration tests, you can both by running "flutter test integration_test" and it will run all the integration tests that are inside the integration_test directory
Thanks for a great video! I find that my tests work when I run them locally, but when I try to get my app approved in the Google Play Console, I can see from the short test videos that their robot can't find my fields for email and password. Have you experienced the same thing?
This requires a bit of debugging. For example, which device is the test emulated on? Run the tests on that device locally inside your flutter project and see if it gives the same error. Mostly if the device height is too small, or the content is overflowing, the robot won’t be able to detect those fields. These integration tests are different from the ones that Google runs. But the idea for debugging is the same. Hope it helps!
Simple and to the point demonstration without any time waste, simple awesome. Would love to know if there is any way to achieve native UI communication like allowing notification/location permissions or connect to a WiFi network etc.
Hi there,
Thanks for the comment!
Would you like to explain more about "native communication for location permissions or connecting to a WiFi network"?
Native communication like if I have to allow GPS permission and the native iOS or Android GPS permission dialog appears, then how can I provide the permission through the integration test? And same goes for the WiFi network connection, if I want to connect to a Wifi network then how can I connect from the phone settings using the integration test? or is that even possible
@@runtimesnippets
What if i have 2 files to execute after login? Can i do simply in one main method by calling the file names and without uninstalling the app after login?
as I understand, you have two files with integration tests, you can both by running "flutter test integration_test" and it will run all the integration tests that are inside the integration_test directory
Thanks for a great video!
I find that my tests work when I run them locally, but when I try to get my app approved in the Google Play Console, I can see from the short test videos that their robot can't find my fields for email and password. Have you experienced the same thing?
This requires a bit of debugging. For example, which device is the test emulated on? Run the tests on that device locally inside your flutter project and see if it gives the same error. Mostly if the device height is too small, or the content is overflowing, the robot won’t be able to detect those fields.
These integration tests are different from the ones that Google runs. But the idea for debugging is the same. Hope it helps!
@@runtimesnippets Thank you!
Ahh I've to write more code now
Do it!
very nice, very nice
Thankyou! If you like the content, please subscribe. It helps us stay motivated and keep pushing out new tutorials.
awesome