1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-10 14:58:34 +00:00

migrate e2e test to integration test (#744)

This commit is contained in:
Ayush Bherwani
2021-03-01 02:23:24 +05:30
committed by GitHub
parent 3b2a7121ca
commit 6c81510d6e
5 changed files with 48 additions and 61 deletions

View File

@@ -1,11 +1,11 @@
# federated_plugin_web
A flutter plugin to provide location support for web. The web implementation
of `federated_plugin` is tested using [e2e](https://pub.dev/packages/e2e) package.
of `federated_plugin` is tested using [integration_test](https://pub.dev/packages/integration_test) package.
### Steps to run e2e test on browser
### Steps to run integration test on browser
- Download and install the ChromeDriver from [here](https://chromedriver.chromium.org/downloads)
for the version of Chrome you are using.
- Start the driver using `chromedrive --port=4444`
- Run the test using `flutter drive -d web-server --release --browser-name=chrome --target=test_driver/federated_plugin_web_e2e.dart`
- Run the test using `flutter drive -d web-server --browser-name=chrome --release --target=test_driver/federated_plugin_web_integration.dart`