You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you get the error "'chromedriver' cannot be opened because it is from an unidentified developer.", run the following command with your path to the `chromedriver` executable:
27
+
If you get the error "'chromedriver' cannot be opened because it is from an
28
+
unidentified developer." on MacOS, run the following command with your path
* To run all integration tets: `dart run integration_test/run_tests.dart`
47
-
* To run a single integration test: `dart run integration_test/run_tests.dart --target=integration_test/test/my_test.dart`
56
+
* To run a single integration test:
57
+
`dart run integration_test/run_tests.dart --target=integration_test/test/my_test.dart`
48
58
49
59
### Special flags:
50
60
51
-
*`--test-app-uri`: to speed up local development, you can pass in a vm service uri from a Dart or Flutter
52
-
app running on your local machine. This saves the cost of spinning up a new test app for each test run. To
53
-
do this, pass the vm service uri using the `--test-app-uri=some-uri` run flag.
54
-
*`--headless`: this will run the integration test on the 'web-server' device instead of the 'chrome' device, meaning you will not be able to see the integration test run in Chrome when running locally.
55
-
*`--update-goldens`: behaves like the `--update-goldens` flag for Flutter unit tests,
56
-
updating the golden images to the results produced by the test run.
57
-
58
-
The following flags are available, but should not be used manually. To run a test with offline data
59
-
or with experiments enabled, place the test in the proper directory, and the `run_tests.dart` script
60
-
will propagate the proper flag values automatically (see [instructions below](#where-to-add-an-integration-test))
61
+
*`--test-app-uri`: to speed up local development, you can pass in a VM service
62
+
URI from a Dart or Flutter app running on your local machine. This saves the
63
+
cost of spinning up a new test app for each test run. To do this, pass the VM
64
+
service URI using the `--test-app-uri=some-uri` run flag.
65
+
*`--headless`: this will run the integration test on the 'web-server' device
66
+
instead of the 'chrome' device, meaning you will not be able to see the
67
+
integration test run in Chrome when running locally.
68
+
*`--update-goldens`: behaves like the `--update-goldens` flag for Flutter unit
69
+
tests, updating the golden images to the results produced by the test run.
70
+
71
+
The following flags are available, but should not be used manually. To run a
72
+
test with offline data or with experiments enabled, place the test in the proper
73
+
directory, and the `run_tests.dart` script will propagate the proper flag values
74
+
automatically (see [instructions below](#where-to-add-an-integration-test)).
61
75
62
76
# Where to add an integration test
63
77
64
-
Where you should place your integration test will depend on the answers to the following questions:
65
-
1. Does your test require DevTools to be connected to a live test application? This is a
0 commit comments