flutter/packages/integration_test/example
Gray Mackall eba7b97bb9
Try removing robolectric from integration_test tests (#148803)
May fix https://github.com/flutter/flutter/issues/148393.

There are reports on the robolectric issue tracker of >`4.10.3` causing the error we are seeing
https://github.com/robolectric/robolectric/issues/8158
The test doesn't actually need robolectric (and didn't originally use it, or flake before using it), but it was added in https://github.com/flutter/flutter/pull/144348. We can safely remove it by mocking the call to `View.generateViewId()`, so try removing it and see if flakes go away.
2024-05-22 18:29:19 +00:00
..
android Try removing robolectric from integration_test tests (#148803) 2024-05-22 18:29:19 +00:00
integration_test flutter test --wasm support (#145347) 2024-03-21 20:08:07 +00:00
ios Migrate Xcode projects last version checks to Xcode 15.1 (#140256) 2024-01-03 23:05:46 +00:00
lib flutter test --wasm support (#145347) 2024-03-21 20:08:07 +00:00
test_driver make integration_test_driver_extended.dart support writeResponseData--(done) (#128382) 2023-10-17 22:17:09 +00:00
web Support flutter run --wasm and flutter drive --wasm. (#146231) 2024-04-12 19:27:26 +00:00
.gitignore remove ephemeral files (#70818) 2020-11-19 10:03:09 -08:00
pubspec.yaml Don't pin package:macros (#148087) 2024-05-09 16:28:49 -07:00
README.md Added missing code block language in docs (#147481) 2024-05-01 14:44:27 +00:00

integration_test_example

Demonstrates how to use the package:integration_test.

To run integration_test/example_test.dart,

Android / iOS

flutter drive \
  --driver=test_driver/integration_test.dart \
  --target=integration_test/example_test.dart

Web

In one shell, run Chromedriver (download here):

chromedriver --port 8444

Then, in another shell, run flutter drive:

flutter drive \
  --driver=test_driver/integration_test.dart \
  --target=integration_test/example_test.dart \
  -d web-server