flutter/packages/integration_test/example
Srujan Gaddam d8ffc7390c
Pin package:web 0.4.0 (#138428)
This version is needed so that dart:js_interop can move to extension
types. Also adds some code to handle some breaking changes:

- Body -> Response. Body was an IDL interface mixin type we exposed in
dart:html. Going forward, users should either use Request or Response.
- Casts to JSAny. These are temporary until we move package:web types to
extension types. Currently, package:web types can't implement JSObject
as JSObject will move to be an extension type itself.

Co-authored-by: Kevin Moore <kevmoo@users.noreply.github.com>
2023-11-15 15:03:21 -08:00
..
android [Android] Support Android 34 (take 2) (#137967) 2023-11-09 22:40:15 +00:00
integration_test Fix screenshot testing for flutter web integration_test (#117114) 2022-12-22 21:34:04 +00:00
ios iOS info.plist template: make UIViewControllerBasedStatusBar to be true (#128970) 2023-06-20 18:11:18 +00:00
lib Bump min SDK to 2.19.0-0 (#117345) 2022-12-20 00:46:14 +00:00
test_driver make integration_test_driver_extended.dart support writeResponseData--(done) (#128382) 2023-10-17 22:17:09 +00:00
web Move package:integration_test to flutter/flutter (#69622) 2020-11-05 17:28:47 -08:00
.gitignore remove ephemeral files (#70818) 2020-11-19 10:03:09 -08:00
pubspec.yaml Pin package:web 0.4.0 (#138428) 2023-11-15 15:03:21 -08:00
README.md Add instructions to integration_test example README (#77090) 2021-03-15 11:13:05 -07: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