This repository was archived by the owner on Feb 22, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
[multiple_web] Update web plugin testing instructions. #4167
Merged
Merged
Changes from 1 commit
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
22 changes: 5 additions & 17 deletions
22
packages/connectivity/connectivity_for_web/example/README.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,21 +1,9 @@ | ||
| # Testing | ||
|
|
||
| This package utilizes the `integration_test` package to run its tests in a web browser. | ||
| This package uses `package:integration_test` to run its tests in a web browser. | ||
|
|
||
| See [flutter.dev > Integration testing](https://flutter.dev/docs/testing/integration-tests) for more info. | ||
| See [Plugin Tests > Web Tests](https://github.com/flutter/flutter/wiki/Plugin-Tests#web-tests) | ||
| in the Flutter wiki for instructions to setup and run the tests in this package. | ||
|
|
||
| ## Running the tests | ||
|
|
||
| Make sure you have updated to the latest Flutter master. | ||
|
|
||
| 1. Check what version of Chrome is running on the machine you're running tests on. | ||
|
|
||
| 2. Download and install driver for that version from here: | ||
| * <https://chromedriver.chromium.org/downloads> | ||
|
|
||
| 3. Start the driver using `chromedriver --port=4444` | ||
|
|
||
| 4. Run tests: `flutter drive -d web-server --browser-name=chrome --driver=test_driver/integration_driver.dart --target=integration_test/TEST_NAME.dart`, or (in Linux): | ||
|
|
||
| * Single: `./run_test.sh integration_test/TEST_NAME.dart` | ||
| * All: `./run_test.sh` | ||
| Check [flutter.dev > Integration testing](https://flutter.dev/docs/testing/integration-tests) | ||
| for more info. |
22 changes: 5 additions & 17 deletions
22
packages/file_selector/file_selector_web/example/README.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,21 +1,9 @@ | ||
| # Testing | ||
|
|
||
| This package utilizes the `integration_test` package to run its tests in a web browser. | ||
| This package uses `package:integration_test` to run its tests in a web browser. | ||
|
|
||
| See [flutter.dev > Integration testing](https://flutter.dev/docs/testing/integration-tests) for more info. | ||
| See [Plugin Tests > Web Tests](https://github.com/flutter/flutter/wiki/Plugin-Tests#web-tests) | ||
| in the Flutter wiki for instructions to setup and run the tests in this package. | ||
|
|
||
| ## Running the tests | ||
|
|
||
| Make sure you have updated to the latest Flutter master. | ||
|
|
||
| 1. Check what version of Chrome is running on the machine you're running tests on. | ||
|
|
||
| 2. Download and install driver for that version from here: | ||
| * <https://chromedriver.chromium.org/downloads> | ||
|
|
||
| 3. Start the driver using `chromedriver --port=4444` | ||
|
|
||
| 4. Run tests: `flutter drive -d web-server --browser-name=chrome --driver=test_driver/integration_test.dart --target=integration_test/TEST_NAME.dart`, or (in Linux): | ||
|
|
||
| * Single: `./run_test.sh integration_test/TEST_NAME.dart` | ||
| * All: `./run_test.sh` | ||
| Check [flutter.dev > Integration testing](https://flutter.dev/docs/testing/integration-tests) | ||
| for more info. |
22 changes: 5 additions & 17 deletions
22
packages/google_maps_flutter/google_maps_flutter_web/example/README.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 5 additions & 17 deletions
22
packages/google_sign_in/google_sign_in_web/example/README.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,21 +1,9 @@ | ||
| # Testing | ||
|
|
||
| This package utilizes the `integration_test` package to run its tests in a web browser. | ||
| This package uses `package:integration_test` to run its tests in a web browser. | ||
|
|
||
| See [flutter.dev > Integration testing](https://flutter.dev/docs/testing/integration-tests) for more info. | ||
| See [Plugin Tests > Web Tests](https://github.com/flutter/flutter/wiki/Plugin-Tests#web-tests) | ||
| in the Flutter wiki for instructions to setup and run the tests in this package. | ||
|
|
||
| ## Running the tests | ||
|
|
||
| Make sure you have updated to the latest Flutter master. | ||
|
|
||
| 1. Check what version of Chrome is running on the machine you're running tests on. | ||
|
|
||
| 2. Download and install driver for that version from here: | ||
| * <https://chromedriver.chromium.org/downloads> | ||
|
|
||
| 3. Start the driver using `chromedriver --port=4444` | ||
|
|
||
| 4. Run tests: `flutter drive -d web-server --browser-name=chrome --driver=test_driver/integration_driver.dart --target=integration_test/TEST_NAME.dart`, or (in Linux): | ||
|
|
||
| * Single: `./run_test.sh integration_test/TEST_NAME.dart` | ||
| * All: `./run_test.sh` | ||
| Check [flutter.dev > Integration testing](https://flutter.dev/docs/testing/integration-tests) | ||
| for more info. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,21 +1,9 @@ | ||
| # Testing | ||
|
|
||
| This package utilizes the `integration_test` package to run its tests in a web browser. | ||
| This package uses `package:integration_test` to run its tests in a web browser. | ||
|
|
||
| See [flutter.dev > Integration testing](https://flutter.dev/docs/testing/integration-tests) for more info. | ||
| See [Plugin Tests > Web Tests](https://github.com/flutter/flutter/wiki/Plugin-Tests#web-tests) | ||
| in the Flutter wiki for instructions to setup and run the tests in this package. | ||
|
|
||
| ## Running the tests | ||
|
|
||
| Make sure you have updated to the latest Flutter master. | ||
|
|
||
| 1. Check what version of Chrome is running on the machine you're running tests on. | ||
|
|
||
| 2. Download and install driver for that version from here: | ||
| * <https://chromedriver.chromium.org/downloads> | ||
|
|
||
| 3. Start the driver using `chromedriver --port=4444` | ||
|
|
||
| 4. Run tests: `flutter drive -d web-server --browser-name=chrome --driver=test_driver/integration_driver.dart --target=integration_test/TEST_NAME.dart`, or (in Linux): | ||
|
|
||
| * Single: `./run_test.sh integration_test/TEST_NAME.dart` | ||
| * All: `./run_test.sh` | ||
| Check [flutter.dev > Integration testing](https://flutter.dev/docs/testing/integration-tests) | ||
| for more info. |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.