Test the important scenarios.

5. Run the integration test

The process of running the integration tests varies depending on the platform
you are testing against. You can test against a mobile platform or the web.

5a. Mobile

To test on a real iOS / Android device, first connect the device and run the
following command from the root of the project:

flutter test integration_test/app_test.dart

Or, you can specify the directory to run all integration tests:

flutter test integration_test

This command runs the app and integration tests on the target device. For more
information, see the Integration testing page.

5b. Web

To get started testing in a web browser, Download ChromeDriver.

Next, create a new directory named test_driver containing a new file
named integration_test.dart:

Launch chromedriver as follows: