1

I want to test Add Picture (using camera) feature for my app using integration_test package for app. When app tries to open a camera it asks for camera permission and I could not find a way to tap allow permission as its a system dialog.

I am looking for two solution.

1 - Find a way to control System dialog so I can tap allow button using Widget Tester. 2 - I want to set a all permission when I start the app for Testing. Please note that I want to do only for testing.

Jay Banker
  • 11
  • 1

1 Answers1

1

as of now integration test can't interact with native popups and other application.

But solution to this problem was given here