
Update test expectations from application/javascript -> text/javascript `package:mime` now uses `text/javascript` and not `application/javascript`. See https://github.com/dart-lang/mime/pull/76. See https://datatracker.ietf.org/doc/html/rfc9239. > This document defines equivalent processing requirements for the various script media types. The most widely supported media type in use is `text/javascript`; all others are considered historical and obsolete aliases of `text/javascript`.
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