Appium Flutter Driver is a test automation tool for Flutter apps on multiple platforms/OSes. Appium Flutter Driver is part of the Appium mobile test automation tool maintained by community
MIT License
440
stars
179
forks
source link
Launching native camera app with "automationName:Flutter" is looking for Observatory by default. #634
I have to perform a scenario to capture the Photos in between the flutter application. When i follow the below steps appium-flutter-driver is looking for Observatory by default.
Steps followed:
Start the session with automationName: Flutter and without app capability.
Perform some operations on flutter application.
Switch the context to NATIVE_APP.
Launch the native camera app as ((IOSDriver) driver).activateApp("com.apple.camera");
Actual Output: Cannot determine the Dart Observatory URL after 30 retries. Original error: No observatory URL matching to '/(Observatory listening on |An Observatory debugger and profiler on\s.+\sis available at: |The Dart VM service is listening on )((http|\/\/)[a-zA-Z0-9:/=_-.[]]+)/' was found in the device log. Please make sure the application under test is configured properly according to https://github.com/appium-userland/appium-flutter-driver#usage and that it does not crash on startup.
@KazuCocoa , could you please let me know how to skip looking for observatory when we run the native applications using driver.activateApp method ?
I have to perform a scenario to capture the Photos in between the flutter application. When i follow the below steps
appium-flutter-driver
is looking for Observatory by default.Steps followed:
automationName: Flutter
and without app capability.((IOSDriver) driver).activateApp("com.apple.camera");
Actual Output: Cannot determine the Dart Observatory URL after 30 retries. Original error: No observatory URL matching to '/(Observatory listening on |An Observatory debugger and profiler on\s.+\sis available at: |The Dart VM service is listening on )((http|\/\/)[a-zA-Z0-9:/=_-.[]]+)/' was found in the device log. Please make sure the application under test is configured properly according to https://github.com/appium-userland/appium-flutter-driver#usage and that it does not crash on startup.
@KazuCocoa , could you please let me know how to skip looking for observatory when we run the native applications using
driver.activateApp
method ?Attaching the appium log: appium.log
Thanks!